Searched refs:acpi_state (Results 1 – 4 of 4) sorted by relevance
82 acpi_enable_wakeup_devices(acpi_state); in acpi_sleep_prepare()83 acpi_enter_sleep_state_prep(acpi_state); in acpi_sleep_prepare()483 if (acpi_state == ACPI_STATE_S0) in acpi_pm_finish()488 acpi_leave_sleep_state(acpi_state); in acpi_pm_finish()520 acpi_target_sleep_state = acpi_state; in acpi_pm_start()567 if (!sleep_states[acpi_state]) { in acpi_suspend_begin()571 if (acpi_state > ACPI_STATE_S1) in acpi_suspend_begin()574 acpi_pm_start(acpi_state); in acpi_suspend_begin()593 switch (acpi_state) { in acpi_suspend_enter()654 u32 acpi_state; in acpi_suspend_state_valid() local[all …]
117 int acpi_state = ACPI_STATE_D0; in fan_get_state() local119 result = acpi_device_update_power(device, &acpi_state); in fan_get_state()123 *state = acpi_state == ACPI_STATE_D3_COLD in fan_get_state()124 || acpi_state == ACPI_STATE_D3_HOT ? in fan_get_state()125 0 : (acpi_state == ACPI_STATE_D0 ? 1 : -1); in fan_get_state()
870 int acpi_state; in sata_acpi_set_state() local878 acpi_state = ata_acpi_choose_suspend_state(dev, runtime); in sata_acpi_set_state()879 if (acpi_state == ACPI_STATE_D0) in sata_acpi_set_state()882 acpi_state == ACPI_STATE_D3_COLD) in sata_acpi_set_state()884 acpi_bus_set_power(handle, acpi_state); in sata_acpi_set_state()
912 int acpi_state, d_max; in acpi_pci_choose_state() local918 acpi_state = acpi_pm_device_sleep_state(&pdev->dev, NULL, d_max); in acpi_pci_choose_state()919 if (acpi_state < 0) in acpi_pci_choose_state()922 switch (acpi_state) { in acpi_pci_choose_state()
Completed in 13 milliseconds