Home
last modified time | relevance | path

Searched refs:ACPI_STATE_D3_COLD (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/acpi/
Ddevice_pm.c49 case ACPI_STATE_D3_COLD: in acpi_power_state_string()
105 if (psc > result && psc < ACPI_STATE_D3_COLD) in acpi_device_get_power()
157 || (state < ACPI_STATE_D0) || (state > ACPI_STATE_D3_COLD)) in acpi_device_set_power()
169 if (state == ACPI_STATE_D3_COLD) { in acpi_device_set_power()
176 if (!device->power.states[ACPI_STATE_D3_COLD].flags.valid) in acpi_device_set_power()
274 if (state < ACPI_STATE_D3_COLD && device->power.flags.power_resources) { in acpi_bus_init_power()
556 d_max = ACPI_STATE_D3_COLD; in acpi_dev_pm_get_state()
571 || ret > ACPI_STATE_D3_COLD) in acpi_dev_pm_get_state()
581 ret = ACPI_STATE_D3_COLD; in acpi_dev_pm_get_state()
613 } else if (ACPI_SUCCESS(status) && ret <= ACPI_STATE_D3_COLD) { in acpi_dev_pm_get_state()
[all …]
Dpower.c687 *state = device->power.states[ACPI_STATE_D3_COLD].flags.valid ? in acpi_power_get_inferred_state()
688 ACPI_STATE_D3_COLD : ACPI_STATE_D3_HOT; in acpi_power_get_inferred_state()
704 if (!device || (state < ACPI_STATE_D0) || (state > ACPI_STATE_D3_COLD)) in acpi_power_transition()
711 || (device->power.state > ACPI_STATE_D3_COLD)) in acpi_power_transition()
719 if (state < ACPI_STATE_D3_COLD) in acpi_power_transition()
723 if (!result && device->power.state < ACPI_STATE_D3_COLD) in acpi_power_transition()
Dfan.c167 *state = acpi_state == ACPI_STATE_D3_COLD in fan_get_state()
191 state ? ACPI_STATE_D0 : ACPI_STATE_D3_COLD); in fan_set_state()
Dscan.c535 acpi_power_transition(adev, ACPI_STATE_D3_COLD); in acpi_device_del_work_fn()
975 INIT_LIST_HEAD(&device->power.states[ACPI_STATE_D3_COLD].resources); in acpi_bus_get_power_flags()
977 device->power.states[ACPI_STATE_D3_COLD].flags.valid = 1; in acpi_bus_get_power_flags()
2096 acpi_device_set_power(adev, ACPI_STATE_D3_COLD); in acpi_bus_trim()
/Linux-v4.19/drivers/pnp/pnpacpi/
Dcore.c118 acpi_device_set_power(acpi_dev, ACPI_STATE_D3_COLD); in pnpacpi_disable_resources()
160 ACPI_STATE_D3_COLD); in pnpacpi_suspend()
163 ACPI_STATE_D0 : ACPI_STATE_D3_COLD; in pnpacpi_suspend()
/Linux-v4.19/drivers/pci/
Dpci-acpi.c502 d_max = ACPI_STATE_D3_COLD; in acpi_pci_choose_state()
516 case ACPI_STATE_D3_COLD: in acpi_pci_choose_state()
536 [PCI_D3cold] = ACPI_STATE_D3_COLD, in acpi_pci_set_power_state()
573 [ACPI_STATE_D3_COLD] = PCI_D3cold, in acpi_pci_get_power_state()
/Linux-v4.19/drivers/ata/
Dlibata-acpi.c875 int d_max_in = ACPI_STATE_D3_COLD; in ata_acpi_choose_suspend_state()
908 acpi_state == ACPI_STATE_D3_COLD) in sata_acpi_set_state()
940 ACPI_STATE_D0 : ACPI_STATE_D3_COLD); in pata_acpi_set_state()
944 acpi_bus_set_power(port_handle, ACPI_STATE_D3_COLD); in pata_acpi_set_state()
/Linux-v4.19/drivers/usb/core/
Dusb-acpi.c72 state = ACPI_STATE_D3_COLD; in usb_acpi_set_power_state()
/Linux-v4.19/drivers/ide/
Dide-acpi.c533 on ? ACPI_STATE_D0 : ACPI_STATE_D3_COLD); in ide_acpi_set_state()
538 ACPI_STATE_D3_COLD); in ide_acpi_set_state()
/Linux-v4.19/include/acpi/
Dacpi_bus.h649 return (m >= ACPI_STATE_D0 && m <= ACPI_STATE_D3_COLD) ? in acpi_pm_device_sleep_state()
680 return adev->power.states[ACPI_STATE_D3_COLD].flags.valid || in acpi_device_can_poweroff()
Dactypes.h581 #define ACPI_STATE_D3_COLD ACPI_STATE_D3 macro