Searched refs:acpi_state (Results 1 – 4 of 4) sorted by relevance
36 static void acpi_sleep_tts_switch(u32 acpi_state) in acpi_sleep_tts_switch() argument40 status = acpi_execute_simple_method(NULL, "\\_TTS", acpi_state); in acpi_sleep_tts_switch()63 static int acpi_sleep_prepare(u32 acpi_state) in acpi_sleep_prepare() argument67 if (acpi_state == ACPI_STATE_S3) { in acpi_sleep_prepare()76 acpi_state); in acpi_sleep_prepare()77 acpi_enable_wakeup_devices(acpi_state); in acpi_sleep_prepare()78 acpi_enter_sleep_state_prep(acpi_state); in acpi_sleep_prepare()424 u32 acpi_state = acpi_target_sleep_state; in acpi_pm_finish() local429 if (acpi_state == ACPI_STATE_S0) in acpi_pm_finish()433 acpi_state); in acpi_pm_finish()[all …]
161 int acpi_state = ACPI_STATE_D0; in fan_get_state() local163 result = acpi_device_update_power(device, &acpi_state); in fan_get_state()167 *state = acpi_state == ACPI_STATE_D3_COLD in fan_get_state()168 || acpi_state == ACPI_STATE_D3_HOT ? in fan_get_state()169 0 : (acpi_state == ACPI_STATE_D0 ? 1 : -1); in fan_get_state()
896 int acpi_state; in sata_acpi_set_state() local904 acpi_state = ata_acpi_choose_suspend_state(dev, runtime); in sata_acpi_set_state()905 if (acpi_state == ACPI_STATE_D0) in sata_acpi_set_state()908 acpi_state == ACPI_STATE_D3_COLD) in sata_acpi_set_state()910 acpi_bus_set_power(handle, acpi_state); in sata_acpi_set_state()
387 int acpi_state, d_max; in acpi_pci_choose_state() local393 acpi_state = acpi_pm_device_sleep_state(&pdev->dev, NULL, d_max); in acpi_pci_choose_state()394 if (acpi_state < 0) in acpi_pci_choose_state()397 switch (acpi_state) { in acpi_pci_choose_state()