Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/x86/dell/dell-laptop.c kbd_led_als_enabled_store() -> kbd_set_state_safe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 8849822053410250752 |
| PARAM_VALUE | 0 | state->mode_bit | 0-6 |
| PARAM_VALUE | 1 | old | 3500150425256075264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &kbd_led_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/dell/dell-laptop.c kbd_led_als_setting_store() -> kbd_set_state_safe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 6175500303181492224 |
| PARAM_VALUE | 1 | old | 5523477725214937088 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | state->als_setting | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | state->als_setting | |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &kbd_led_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/dell/dell-laptop.c kbd_led_level_set() -> kbd_set_state_safe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 9060584536157147136 |
| PARAM_VALUE | 0 | state->mode_bit | 0-6 |
| PARAM_VALUE | 1 | old | 8543379047922667520 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &kbd_led_mutex |
drivers/platform/x86/dell/dell-laptop.c kbd_led_timeout_store() -> kbd_set_state_safe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 5854165870955188224 |
| PARAM_VALUE | 0 | state->timeout_unit | 0-3 |
| PARAM_VALUE | 0 | state->timeout_unit_ac | 0-3 |
| PARAM_VALUE | 1 | old | 5511934423029522432 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &kbd_led_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/dell/dell-laptop.c kbd_led_triggers_store() -> kbd_set_state_safe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 5609933439067582464 |
| PARAM_VALUE | 0 | state->triggers | 0-99 |
| PARAM_VALUE | 1 | old | 2789576298820837376 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &kbd_led_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |