Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/surface-hid/surface_kbd.c skbd_output_report() -> skbd_get_caps_led_value()

Type Parameter Key Value
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 len 1-16384
BUF_SIZE 2 buf (-1)-s32max
BUF_SIZE 2 buf (-1)-s32max
CAPPED_DATA 3 len 1
CAPPED_DATA 3 len 1
DATA_SOURCE 1 rprt_id $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 3 len $3
PARAM_COMPARE 2 buf == $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 rprt_id 0-255
USER_DATA 2 *buf 0-255
USER_DATA 3 len 2-16384[c]
BYTE_COUNT 2 ==buf3 8050
USER_PTR 2 buf
HALF_LOCKED2 &hid->driver_input_lock
HALF_LOCKED2 &hid->ll_open_lock
HALF_LOCKED2 global &minors_rwsem