Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpio/gpiolib.c gpiochip_add_data_with_key() -> (struct gpio_chip)->get_direction()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
PARAM_VALUE 0 gc->base 0-s32max
PARAM_VALUE 0 gc->get_direction 1-u64max
PARAM_VALUE 0 gc->gpiodev 4096-ptr_max
PARAM_VALUE 0 gc->names 0,4096-ptr_max
PARAM_VALUE 0 gc->ngpio 1-u16max
PARAM_VALUE 0 gc->parent 0,4096-ptr_max
PARAM_VALUE 1 offset 0-65534
BUF_SIZE 0 gc (-1),512
BUF_SIZE 0 gc (-1),512
BUF_SIZE 0 gc->fwnode (-1),64
BUF_SIZE 0 gc->gpiodev 2416
BUF_SIZE 0 gc->label s32min,(-10),(-1)-s32max
BUF_SIZE 0 gc->names (-1)-s32max
BUF_SIZE 0 gc->parent (-1)-0,24-s32max
CAPPED_DATA 0 gc->base 1
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 gc $0
STR_LEN 0 gc->label (-1),9-10,12,15
CONTAINER 0 -56+0 $(-1)
PARAM_COMPARE 1 offset < $0->ngpio
CONSTRAINT 1 offset <90
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 gc->ngpio 1-u16max[c]
NO_OVERFLOW_SIMPLE 0 gc->ngpio
NO_OVERFLOW_SIMPLE 1 offset
LOCK2 _T->lock
HALF_LOCKED2 &bank->deferred_lock
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &hdev->driver_input_lock

drivers/gpio/gpiolib.c gpiochip_get_direction() -> (struct gpio_chip)->get_direction()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
PARAM_VALUE 0 gc->get_direction 1-u64max
DATA_SOURCE 0 gc $0
DATA_SOURCE 1 offset $1
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock