Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/x86/asus-laptop.c asus_acpi_init() -> asus_als_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | asus | 4096-ptr_max |
| PARAM_VALUE | 0 | asus->device | 4096-ptr_max |
| PARAM_VALUE | 0 | asus->device->status.present | 1 |
| PARAM_VALUE | 0 | asus->handle | 4096-ptr_max,(-1) |
| PARAM_VALUE | 0 | asus->handle->common.descriptor_type | 15 |
| PARAM_VALUE | 0 | asus->have_rsts | 1 |
| PARAM_VALUE | 0 | asus->is_pega_lucid | 0 |
| PARAM_VALUE | 0 | asus->ledd_status | 4095 |
| PARAM_VALUE | 0 | asus->light_level | 5 |
| PARAM_VALUE | 0 | asus->light_switch | 0-1 |
| PARAM_VALUE | 0 | asus->name | 4096-ptr_max |
| PARAM_VALUE | 1 | value | 5 |
| BUF_SIZE | 0 | asus | 7472 |
| DATA_SOURCE | 0 | asus | $0 |
| FUZZY_MAX | 0 | asus->light_switch | 1 |
| HARD_MAX | 0 | asus->light_switch | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/asus-laptop.c ls_level_store() -> asus_als_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 0-15 |
| BUF_SIZE | 0 | asus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | asus | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | value | 1 |
| FUZZY_MAX | 1 | value | 15 |
| HARD_MAX | 1 | value | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | value | 1-15[c] |
| UNITS | 0 | asus | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |