Home
last modified time | relevance | path

Searched refs:acpi_state (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/acpi/
Dsleep.c36 static void acpi_sleep_tts_switch(u32 acpi_state) in acpi_sleep_tts_switch() argument
40 status = acpi_execute_simple_method(NULL, "\\_TTS", acpi_state); in acpi_sleep_tts_switch()
67 static int acpi_sleep_prepare(u32 acpi_state) in acpi_sleep_prepare() argument
73 if (acpi_state == ACPI_STATE_S3 && !acpi_skip_set_wakeup_address()) { in acpi_sleep_prepare()
81 pr_info("Preparing to enter system sleep state S%d\n", acpi_state); in acpi_sleep_prepare()
82 acpi_enable_wakeup_devices(acpi_state); in acpi_sleep_prepare()
83 acpi_enter_sleep_state_prep(acpi_state); in acpi_sleep_prepare()
478 u32 acpi_state = acpi_target_sleep_state; in acpi_pm_finish() local
483 if (acpi_state == ACPI_STATE_S0) in acpi_pm_finish()
486 pr_info("Waking up from system sleep state S%d\n", acpi_state); in acpi_pm_finish()
[all …]
Dfan_core.c117 int acpi_state = ACPI_STATE_D0; in fan_get_state() local
119 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()
/linux-6.1.9/drivers/ata/
Dlibata-acpi.c870 int acpi_state; in sata_acpi_set_state() local
878 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()
/linux-6.1.9/drivers/pci/
Dpci-acpi.c912 int acpi_state, d_max; in acpi_pci_choose_state() local
918 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()