Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/acpi/device_pm.c acpi_bus_update_power() -> acpi_device_update_power()

Type Parameter Key Value
PARAM_VALUE 0 device 1-u64max
DATA_SOURCE 0 device r acpi_fetch_acpi_dev
DATA_SOURCE 1 state_p $1

drivers/acpi/fan_core.c acpi_fan_probe() -> acpi_device_update_power()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->driver_data 4096-ptr_max
PARAM_VALUE 1 state_p 0
BUF_SIZE 0 device->driver_data 160
RX_PATH
TASK_NOT_RUNNING
UNITS 0 device unit_byte

drivers/acpi/fan_core.c acpi_fan_resume() -> acpi_device_update_power()

Type Parameter Key Value
PARAM_VALUE 0 device 0,4096-ptr_max
PARAM_VALUE 1 state_p 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 device unit_byte

drivers/acpi/fan_core.c fan_get_state() -> acpi_device_update_power()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 1 state_p 2963801875749965824
PARAM_VALUE 1 *state_p 0
BUF_SIZE 0 device s32min-(-1),1-s32max
BUF_SIZE 0 device s32min-(-1),1-s32max
DATA_SOURCE 0 device $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 device unit_byte
HALF_LOCKED2 &cdev->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &tz->lock
HALF_LOCKED2 _T->lock

drivers/pci/pci-acpi.c acpi_pci_refresh_power_state() -> acpi_device_update_power()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->flags.power_manageable 1
PARAM_VALUE 1 state_p 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 device unit_byte
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &system_transition_mutex