Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpio/gpio-aspeed.c __aspeed_gpio_set() -> (struct aspeed_gpio_llops)->reg_bit_get()

Type Parameter Key Value
PARAM_VALUE 0 gpio 4096-ptr_max
PARAM_VALUE 0 gpio->config 4096-ptr_max
PARAM_VALUE 0 gpio->config->llops 4096-ptr_max
PARAM_VALUE 2 reg 0
BUF_SIZE 0 gpio s32min-(-2),1-s32max
BUF_SIZE 0 gpio s32min-(-2),1-s32max
DATA_SOURCE 0 gpio r gpiochip_get_data
DATA_SOURCE 1 offset $1
CONTAINER 0 -8-16-608+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &gpio->lock
LOCK2 irq
TYPE_LOCK (struct aspeed_gpio)->lock

drivers/gpio/gpio-aspeed.c aspeed_gpio_get() -> (struct aspeed_gpio_llops)->reg_bit_get()

Type Parameter Key Value
PARAM_VALUE 0 gpio 4096-ptr_max
PARAM_VALUE 0 gpio->config 4096-ptr_max
PARAM_VALUE 0 gpio->config->llops 4096-ptr_max
PARAM_VALUE 2 reg 0
BUF_SIZE 0 gpio s32min-(-2),1-s32max
BUF_SIZE 0 gpio s32min-(-2),1-s32max
DATA_SOURCE 0 gpio r gpiochip_get_data
DATA_SOURCE 1 offset $1
CONTAINER 0 -8-16-608+0 $(-1)
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-aspeed.c aspeed_gpio_get_direction() -> (struct aspeed_gpio_llops)->reg_bit_get()

Type Parameter Key Value
PARAM_VALUE 0 gpio 4096-ptr_max
PARAM_VALUE 0 gpio->config 4096-ptr_max
PARAM_VALUE 0 gpio->config->llops 4096-ptr_max
PARAM_VALUE 2 reg 2
BUF_SIZE 0 gpio s32min-(-2),1-s32max
BUF_SIZE 0 gpio s32min-(-2),1-s32max
DATA_SOURCE 0 gpio r gpiochip_get_data
DATA_SOURCE 1 offset $1
CONTAINER 0 -8-16-608+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 offset
LOCK2 irq
LOCK2 0 &gpio->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct aspeed_gpio)->lock