Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/x86/panasonic-laptop.c ac_brightness_store() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | func | 4 |
| PARAM_VALUE | 2 | val | 0-255 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| FUZZY_MAX | 2 | val | 255 |
| HARD_MAX | 2 | val | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | val | 0-255 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/panasonic-laptop.c acpi_pcc_hotkey_probe() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcc | 4096-ptr_max |
| PARAM_VALUE | 0 | pcc->backlight->ops->controls_device | 0,674960432281071616,2574549058847490048,3972837193662005248 |
| PARAM_VALUE | 0 | pcc->backlight->ops->options | 0-1 |
| PARAM_VALUE | 0 | pcc->device | 4096-ptr_max |
| PARAM_VALUE | 0 | pcc->device->handle | 0,4096-ptr_max,(-1) |
| PARAM_VALUE | 0 | pcc->handle | 0,4096-ptr_max,(-1) |
| PARAM_VALUE | 0 | pcc->handle->common.descriptor_type | 15 |
| PARAM_VALUE | 0 | pcc->input_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcc->input_dev->getkeycode | 4238107648137248768,8136061661555138560 |
| PARAM_VALUE | 0 | pcc->input_dev->h_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcc->input_dev->hint_events_per_packet | 1-u32max |
| PARAM_VALUE | 0 | pcc->input_dev->id.bustype | 25 |
| PARAM_VALUE | 0 | pcc->input_dev->id.product | 1 |
| PARAM_VALUE | 0 | pcc->input_dev->id.vendor | 1 |
| PARAM_VALUE | 0 | pcc->input_dev->id.version | 256 |
| PARAM_VALUE | 0 | pcc->input_dev->keycode | 4096-ptr_max |
| PARAM_VALUE | 0 | pcc->input_dev->keycodemax | 1-s32max |
| PARAM_VALUE | 0 | pcc->input_dev->max_vals | 1-u32max |
| PARAM_VALUE | 0 | pcc->input_dev->mt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pcc->input_dev->name | 5173302845145001984 |
| PARAM_VALUE | 0 | pcc->input_dev->node.next | 8912400628449923072 |
| PARAM_VALUE | 0 | pcc->input_dev->node.prev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pcc->input_dev->phys | 4856410132783296512 |
| PARAM_VALUE | 0 | pcc->input_dev->poller | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pcc->input_dev->setkeycode | 6831800467930587136,8312272885086769152 |
| PARAM_VALUE | 0 | pcc->input_dev->vals | 16,4096-ptr_max |
| PARAM_VALUE | 0 | pcc->num_sifr | 9-256 |
| PARAM_VALUE | 0 | *pcc->sinf | 4294967295 |
| PARAM_VALUE | 1 | func | 128 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | pcc | 108-1096 |
| BUF_SIZE | 0 | pcc | 108-1096 |
| BUF_SIZE | 0 | pcc->backlight | (-1),1976 |
| BUF_SIZE | 0 | pcc->backlight->ops | (-1),32 |
| DATA_SOURCE | 0 | pcc | r _kzalloc_noprof |
| TERMINATED | 0 | pcc->input_dev->name | 1 |
| TERMINATED | 0 | pcc->input_dev->phys | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pcc->backlight->props.brightness | |
| NO_OVERFLOW_SIMPLE | 0 | pcc->backlight->props.max_brightness | |
| NO_OVERFLOW_SIMPLE | 0 | pcc->input_dev->keycodemax | |
| NO_OVERFLOW_SIMPLE | 0 | pcc->input_dev->max_vals |
drivers/platform/x86/panasonic-laptop.c acpi_pcc_hotkey_resume() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcc | 4096-ptr_max |
| PARAM_VALUE | 0 | pcc->num_sifr | 9-u64max |
| PARAM_VALUE | 1 | func | 8 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| FUZZY_MAX | 0 | pcc->num_sifr | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/panasonic-laptop.c acpi_pcc_hotkey_resume() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcc | 4096-ptr_max |
| PARAM_VALUE | 0 | pcc->num_sifr | 11-u64max |
| PARAM_VALUE | 1 | func | 10 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/panasonic-laptop.c acpi_pcc_hotkey_resume() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcc | 4096-ptr_max |
| PARAM_VALUE | 1 | func | 128 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/panasonic-laptop.c acpi_pcc_hotkey_resume() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcc | 4096-ptr_max |
| PARAM_VALUE | 1 | func | 4 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/panasonic-laptop.c acpi_pcc_hotkey_resume() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcc | 4096-ptr_max |
| PARAM_VALUE | 1 | func | 7 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/panasonic-laptop.c acpi_pcc_hotkey_resume() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcc | 4096-ptr_max |
| PARAM_VALUE | 0 | pcc->num_sifr | 14-u64max |
| PARAM_VALUE | 1 | func | 13 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/panasonic-laptop.c bl_set_status() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcc | 4096-ptr_max |
| PARAM_VALUE | 0 | pcc->handle | 0,4096-ptr_max,(-1) |
| PARAM_VALUE | 0 | pcc->handle->common.descriptor_type | 15 |
| PARAM_VALUE | 0 | pcc->sinf | 4096-ptr_max |
| PARAM_VALUE | 0 | *pcc->sinf | 4294967295 |
| PARAM_VALUE | 1 | func | 4 |
| BUF_SIZE | 0 | pcc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pcc | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | val | 1-16777215[c] |
| USER_DATA | 2 | val | 2-s32max[c] |
| UNITS | 0 | pcc | unit_byte |
| UNITS | 2 | val | unit_array_size |
| HALF_LOCKED2 | &bd->update_lock | ||
| HALF_LOCKED2 | &connector->mutex | ||
| HALF_LOCKED2 | &panel->follower_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/platform/x86/panasonic-laptop.c bl_set_status() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcc | 4096-ptr_max |
| PARAM_VALUE | 0 | pcc->handle | 0,4096-ptr_max,(-1) |
| PARAM_VALUE | 0 | pcc->handle->common.descriptor_type | 15 |
| PARAM_VALUE | 0 | pcc->sinf | 4096-ptr_max |
| PARAM_VALUE | 0 | *pcc->sinf | 4294967295 |
| PARAM_VALUE | 1 | func | 7 |
| BUF_SIZE | 0 | pcc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pcc | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | val | 1-16777215[c] |
| USER_DATA | 2 | val | 2-s32max[c] |
| UNITS | 0 | pcc | unit_byte |
| UNITS | 2 | val | unit_array_size |
| HALF_LOCKED2 | &bd->update_lock | ||
| HALF_LOCKED2 | &connector->mutex | ||
| HALF_LOCKED2 | &panel->follower_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/platform/x86/panasonic-laptop.c current_brightness_store() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | func | 13 |
| PARAM_VALUE | 2 | val | 0-255 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| FUZZY_MAX | 2 | val | 255 |
| HARD_MAX | 2 | val | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 0-255 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/panasonic-laptop.c dc_brightness_store() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | func | 7 |
| PARAM_VALUE | 2 | val | 0-255 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| FUZZY_MAX | 2 | val | 255 |
| HARD_MAX | 2 | val | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | val | 0-255 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/panasonic-laptop.c mute_store() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | func | 8 |
| PARAM_VALUE | 2 | val | 0-1 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| FUZZY_MAX | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | val | 0 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/panasonic-laptop.c sticky_key_store() -> acpi_pcc_write_sset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | func | 128 |
| PARAM_VALUE | 2 | val | 0-1 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pcc | 24,32,88,104,108-1096,1616,2592 |
| FUZZY_MAX | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | val | 0 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |