Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-mcp2200.c mcp_direction_input() -> mcp_set_direction()

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

drivers/hid/hid-mcp2200.c mcp_direction_output() -> mcp_set_direction()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
PARAM_VALUE 2 io_direction 0
BUF_SIZE 0 gc (-1),512
BUF_SIZE 0 gc (-1),512
DATA_SOURCE 0 gc $0
DATA_SOURCE 1 gpio_nr $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock