Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpio/gpiolib.c gpiod_direction_input_nonotify() -> gpiochip_get_direction()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
PARAM_VALUE 0 gc->direction_input 0
PARAM_VALUE 0 gc->get_direction 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

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

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
PARAM_VALUE 0 gc->direction_output 0
PARAM_VALUE 0 gc->get_direction 1-u64max
PARAM_VALUE 0 gc->set 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpiolib.c gpiod_get_direction() -> gpiochip_get_direction()

Type Parameter Key Value
PARAM_VALUE 0 gc 1-u64max
DATA_SOURCE 1 offset r gpiod_hwgpio
BIT_INFO 1 offset 0x0,0x7fffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &s->lock
HALF_LOCKED2 _T->lock