Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpio/gpio-aspeed-sgpio.c aspeed_sgpio_dir_in() -> aspeed_sgpio_is_input()

Type Parameter Key Value
DATA_SOURCE 0 offset $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->flags
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-aspeed-sgpio.c aspeed_sgpio_get() -> aspeed_sgpio_is_input()

Type Parameter Key Value
DATA_SOURCE 0 offset $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &gpio->lock
LOCK2 irq
TYPE_LOCK (struct aspeed_sgpio)->lock

drivers/gpio/gpio-aspeed-sgpio.c aspeed_sgpio_get_direction() -> aspeed_sgpio_is_input()

Type Parameter Key Value
DATA_SOURCE 0 offset $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 offset
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-aspeed-sgpio.c sgpio_set_value() -> aspeed_sgpio_is_input()

Type Parameter Key Value
DATA_SOURCE 0 offset $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &gpio->lock
LOCK2 irq
TYPE_LOCK (struct aspeed_sgpio)->lock