Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/acpi/device_pm.c
- drivers/acpi/device_sysfs.c
- drivers/acpi/x86/s2idle.c
- drivers/pci/pci-acpi.c, line 1112
Smatch caller information:
drivers/acpi/device_pm.c acpi_device_get_power() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/acpi/device_pm.c acpi_device_set_power() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/acpi/device_pm.c acpi_device_set_power() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 0-4 |
| DATA_SOURCE | 0 | state | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/acpi/device_pm.c acpi_device_set_power() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 0-3 |
| DATA_SOURCE | 0 | state | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/acpi/device_pm.c acpi_device_set_power() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 0-3 |
| CAPPED_DATA | 0 | state | 1 |
| DATA_SOURCE | 0 | state | $1 [m] |
| FUZZY_MAX | 0 | state | 3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/acpi/device_pm.c acpi_device_set_power() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 1-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/acpi/device_pm.c acpi_device_set_power() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 2-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/acpi/device_pm.c acpi_device_set_power() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 1-3 |
| CAPPED_DATA | 0 | state | 1 |
| DATA_SOURCE | 0 | state | $1 [m] |
| FUZZY_MAX | 0 | state | 3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/acpi/device_pm.c acpi_device_set_power() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 0-4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/acpi/device_pm.c acpi_device_set_power() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 0-4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/acpi/device_pm.c acpi_device_set_power() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 0-4 |
| CAPPED_DATA | 0 | state | 1 |
| DATA_SOURCE | 0 | state | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/acpi/device_pm.c acpi_power_up_if_adr_present() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/pci-acpi.c acpi_pci_set_power_state() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 0-4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->dev.mutex |
drivers/acpi/device_sysfs.c power_state_show() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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/acpi/device_sysfs.c real_power_state_show() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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/acpi/x86/s2idle.c lpi_check_constraints() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/acpi/x86/s2idle.c lpi_check_constraints() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/acpi/x86/s2idle.c lpi_check_constraints() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | (-2147483647)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/acpi/x86/s2idle.c lpi_check_constraints() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | s32min-2147483646 |
| CAPPED_DATA | 0 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/acpi/x86/s2idle.c lpi_device_get_constraints() -> acpi_power_state_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock |