Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/x86/asus-wmi.c asus_wmi_evaluate_method() -> asus_wmi_evaluate_method3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | arg2 | 0 |
| PARAM_VALUE | 4 | retval | 0,4096-ptr_max |
| BUF_SIZE | 4 | retval | (-1),4 |
| BUF_SIZE | 4 | retval | (-1),4 |
| DATA_SOURCE | 0 | method_id | $0 |
| DATA_SOURCE | 1 | arg0 | $1 |
| DATA_SOURCE | 2 | arg1 | $2 |
| DATA_SOURCE | 4 | retval | $3 |
| NOSPEC | 2 | arg1 | |
| NOSPEC | 2 | arg1 | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | arg1 | 0-16777215 |
| USER_DATA | 1 | arg0 | 0-2[c] |
| USER_DATA | 2 | arg1 | 0-u32max |
| UNITS | 2 | arg1 | unit_array_size |
| HALF_LOCKED2 | &of->mutex |
drivers/platform/x86/asus-wmi.c kbd_rgb_mode_store() -> asus_wmi_evaluate_method3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method_id | 1398162756 |
| PARAM_VALUE | 3 | arg2 | 0,256-u32max |
| PARAM_VALUE | 4 | retval | 0 |
| BIT_INFO | 2 | arg1 | 0xb0,0xffff0fb7 |
| BIT_INFO | 3 | arg2 | 0xe100,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-wmi.c kbd_rgb_state_store() -> asus_wmi_evaluate_method3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method_id | 1398162756 |
| PARAM_VALUE | 1 | arg0 | 1048663 |
| PARAM_VALUE | 2 | arg1 | 0-16777215 |
| PARAM_VALUE | 3 | arg2 | 0 |
| PARAM_VALUE | 4 | retval | 0 |
| BIT_INFO | 2 | arg1 | 0xbd,0xaa04bd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |