Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpio/gpio-em.c __em_gio_set() -> gpio_to_priv()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-em.c em_gio_direction_input() -> gpio_to_priv()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
BUF_SIZE 0 chip s32min-(-1),1-s32max
BUF_SIZE 0 chip s32min-(-1),1-s32max
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->flags
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-em.c em_gio_direction_output() -> gpio_to_priv()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
BUF_SIZE 0 chip (-1),512
BUF_SIZE 0 chip (-1),512
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-em.c em_gio_get() -> gpio_to_priv()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
BUF_SIZE 0 chip s32min-(-1),1-s32max
BUF_SIZE 0 chip s32min-(-1),1-s32max
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-em.c em_gio_to_irq() -> gpio_to_priv()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
BUF_SIZE 0 chip s32min-(-1),1-s32max
BUF_SIZE 0 chip s32min-(-1),1-s32max
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->lock