Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/input/keyboard/cros_ec_keyb.c cros_ec_keyb_setkeycode() -> input_default_setkeycode()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 ke 4096-ptr_max
PARAM_VALUE 1 ke->keycode 0-767
PARAM_VALUE 2 old_keycode 2716837788142702592
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 ke $1
DATA_SOURCE 2 old_keycode $2
FUZZY_MAX 1 ke->keycode 767
HARD_MAX 1 ke->keycode 767
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 ke->flags 0-255
USER_DATA 1 ke->index 0-u16max
USER_DATA 1 ke->keycode 0-767
USER_DATA 1 ke->len 0-32
USER_PTR 1 ke->scancode
LOCK2 irq
LOCK2 0 &dev->event_lock
HALF_LOCKED2 &evdev->mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct input_dev)->event_lock

drivers/input/input.c input_set_keycode() -> (struct input_dev)->setkeycode()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 ke 4096-ptr_max
PARAM_VALUE 1 ke->keycode 0-767
PARAM_VALUE 2 old_keycode 2716837788142702592
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 ke $1
FUZZY_MAX 1 ke->keycode 767
CONTAINER 0 -232+0 $(-1)
HARD_MAX 1 ke->keycode 767
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 ke->flags 0-255
USER_DATA 1 ke->index 0-u16max
USER_DATA 1 ke->keycode 0-767
USER_DATA 1 ke->len 0-32
USER_PTR 1 ke->scancode
LOCK2 irq
LOCK2 0 &dev->event_lock
HALF_LOCKED2 &evdev->mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct input_dev)->event_lock