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/platform/x86/asus-armoury.c boot_sound_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 1753108889518219264 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 4 | min | 0 |
| PARAM_VALUE | 5 | max | 1 |
| PARAM_VALUE | 6 | store_value | 0 |
| PARAM_VALUE | 7 | wmi_dev | 1245218 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-armoury.c mcu_powersave_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 3936733560250478592 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 4 | min | 0 |
| PARAM_VALUE | 5 | max | 1 |
| PARAM_VALUE | 6 | store_value | 0 |
| PARAM_VALUE | 7 | wmi_dev | 1179874 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-armoury.c mini_led_mode_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 6137199433792716800 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 8929120827612037120 |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 4 | min | 0 |
| PARAM_VALUE | 6 | store_value | 0 |
| PARAM_VALUE | 7 | wmi_dev | 327710,327726 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 2 | buf | 12 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 3 | count | $3 |
| STR_LEN | 0 | kobj | 11 |
| NOSPEC | 3 | count | |
| 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-armoury.c nv_dynamic_boost_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 7834794705723576320 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 6 | store_value | 4096-ptr_max |
| PARAM_VALUE | 7 | wmi_dev | 1179840 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| PARAM_COMPARE | 4 | min | != $5 |
| PARAM_COMPARE | 5 | max | != $4 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-armoury.c nv_temp_target_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 8248672825612460032 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 6 | store_value | 4096-ptr_max |
| PARAM_VALUE | 7 | wmi_dev | 1179842 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| PARAM_COMPARE | 4 | min | != $5 |
| PARAM_COMPARE | 5 | max | != $4 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-armoury.c nv_tgp_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 5295429843487580160 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 6 | store_value | 4096-ptr_max |
| PARAM_VALUE | 7 | wmi_dev | 1179800 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| PARAM_COMPARE | 4 | min | != $5 |
| PARAM_COMPARE | 5 | max | != $4 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-armoury.c panel_hd_mode_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 7391740620779433984 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 4 | min | 0 |
| PARAM_VALUE | 5 | max | 1 |
| PARAM_VALUE | 6 | store_value | 0 |
| PARAM_VALUE | 7 | wmi_dev | 327708 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-armoury.c panel_od_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 3703267042683654144 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 4 | min | 0 |
| PARAM_VALUE | 5 | max | 1 |
| PARAM_VALUE | 6 | store_value | 0 |
| PARAM_VALUE | 7 | wmi_dev | 327705 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-armoury.c ppt_apu_sppt_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 9047320153352908800 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 6 | store_value | 4096-ptr_max |
| PARAM_VALUE | 7 | wmi_dev | 1179824 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| PARAM_COMPARE | 4 | min | != $5 |
| PARAM_COMPARE | 5 | max | != $4 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-armoury.c ppt_pl1_spl_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 1925830874483654656 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 6 | store_value | 4096-ptr_max |
| PARAM_VALUE | 7 | wmi_dev | 1179811 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| PARAM_COMPARE | 4 | min | != $5 |
| PARAM_COMPARE | 5 | max | != $4 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-armoury.c ppt_pl2_sppt_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4863132618055008256 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 6 | store_value | 4096-ptr_max |
| PARAM_VALUE | 7 | wmi_dev | 1179808 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| PARAM_COMPARE | 4 | min | != $5 |
| PARAM_COMPARE | 5 | max | != $4 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-armoury.c ppt_pl3_fppt_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 7495906572310564864 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 6 | store_value | 4096-ptr_max |
| PARAM_VALUE | 7 | wmi_dev | 1179841 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| PARAM_COMPARE | 4 | min | != $5 |
| PARAM_COMPARE | 5 | max | != $4 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-armoury.c ppt_platform_sppt_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 5454072970378612736 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 6 | store_value | 4096-ptr_max |
| PARAM_VALUE | 7 | wmi_dev | 1179825 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| PARAM_COMPARE | 4 | min | != $5 |
| PARAM_COMPARE | 5 | max | != $4 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-armoury.c screen_auto_brightness_current_value_store() -> armoury_attr_uint_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 5837176665510772736 |
| PARAM_VALUE | 1 | attr->attr | 4088153095443877888 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 4 | min | 0 |
| PARAM_VALUE | 5 | max | 1 |
| PARAM_VALUE | 6 | store_value | 0 |
| PARAM_VALUE | 7 | wmi_dev | 327722 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |