Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-input.c hidinput_get_battery_property() -> hidinput_query_battery_capacity()

Type Parameter Key Value
PARAM_VALUE 0 bat 4096-ptr_max
PARAM_VALUE 0 bat->avoid_query 0
PARAM_VALUE 0 bat->status 0-1,3-u32max
BUF_SIZE 0 bat (-1),80
BUF_SIZE 0 bat (-1),80
RX_PATH
TASK_NOT_RUNNING
UNITS 0 bat unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/hid/hid-input.c hidinput_get_battery_property() -> hidinput_query_battery_capacity()

Type Parameter Key Value
PARAM_VALUE 0 bat 4096-ptr_max
PARAM_VALUE 0 bat->avoid_query 0
PARAM_VALUE 0 bat->status 0-1,3-u32max
BUF_SIZE 0 bat (-1),80
BUF_SIZE 0 bat (-1),80
RX_PATH
TASK_NOT_RUNNING
UNITS 0 bat unit_byte
HALF_LOCKED2 _T->lock