Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c starfive_dt_node_to_map() -> starfive_gpio_to_pin()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 1 gpio 0-63
BUF_SIZE 0 sfp 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max
BUF_SIZE 0 sfp 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max
CAPPED_DATA 0 &sfp->mutex 1
DATA_SOURCE 1 gpio r starfive_pinmux_to_gpio
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &sfp->mutex
TYPE_LOCK (struct starfive_pinctrl)->mutex

drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c starfive_gpio_direction_input() -> starfive_gpio_to_pin()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
DATA_SOURCE 1 gpio $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->flags
HALF_LOCKED2 _T->lock

drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c starfive_gpio_direction_output() -> starfive_gpio_to_pin()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
DATA_SOURCE 1 gpio $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c starfive_gpio_set_config() -> starfive_gpio_to_pin()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
DATA_SOURCE 1 gpio $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock