Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-logitech-hidpp.c hidpp20_battery_event_1004() -> hidpp20_unifiedbattery_map_level()

Type Parameter Key Value
PARAM_VALUE 0 hidpp 4096-ptr_max
BUF_SIZE 0 hidpp s32min-(-2),1-s32max
BUF_SIZE 0 hidpp s32min-(-2),1-s32max
CAPPED_DATA 0 hidpp->battery.feature_index 1
DATA_SOURCE 0 hidpp $0
BIT_INFO 0 hidpp->capabilities 0x2,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hidpp unit_byte
HALF_LOCKED2 &hdev->dev.driver_data->dyn_callback_lock
HALF_LOCKED2 &hdev->dev.driver_data->lock
HALF_LOCKED2 &hdev->dev.driver_data->mutex
HALF_LOCKED2 &hdev->driver_data->mutex
HALF_LOCKED2 &hdev->driver_input_lock
HALF_LOCKED2 &hdev->ll_open_lock

drivers/hid/hid-logitech-hidpp.c hidpp20_unifiedbattery_get_status() -> hidpp20_unifiedbattery_map_level()

Type Parameter Key Value
PARAM_VALUE 0 hidpp 4096-ptr_max
BUF_SIZE 0 hidpp->name (-1)-s32max
DATA_SOURCE 0 hidpp $0
HALF_LOCKED2 &pool->lock