Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpio/gpiolib.c gpio_set_open_drain_value_commit() -> gpiochip_direction_output()

Type Parameter Key Value
PARAM_VALUE 0 gc 1-u64max
PARAM_VALUE 2 value 0
DATA_SOURCE 1 offset r gpiod_hwgpio
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpiolib.c gpio_set_open_source_value_commit() -> gpiochip_direction_output()

Type Parameter Key Value
PARAM_VALUE 0 gc 1-u64max
PARAM_VALUE 2 value 1
DATA_SOURCE 1 offset r gpiod_hwgpio
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpiolib.c gpiod_direction_output_raw_commit() -> gpiochip_direction_output()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
PARAM_VALUE 0 gc->direction_output 1-u64max
PARAM_VALUE 2 value 0-1
FUZZY_MAX 2 value 1
HARD_MAX 2 value 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 value 0-1
HALF_LOCKED2 _T->lock