Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/acpi/button.c acpi_lid_initialize_state() -> acpi_lid_notify_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | button | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1 |
| BUF_SIZE | 0 | button | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | button | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | button | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | button | unit_byte |
drivers/acpi/button.c acpi_lid_update_state() -> acpi_lid_notify_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | button | 4096-ptr_max |
| PARAM_VALUE | 0 | button->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | button->adev->handle | 0,4096-ptr_max,(-1) |
| PARAM_VALUE | 0 | button->adev->handle->common.descriptor_type | 15 |
| BUF_SIZE | 0 | button | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | button | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | button | $0 |
| DATA_SOURCE | 1 | state | r acpi_lid_evaluate_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | button | unit_byte |