Home
last modified time | relevance | path

Searched refs:ACPI_STATE_D0 (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/acpi/
H A Ddevice_pm.c33 case ACPI_STATE_D0: in acpi_power_state_string()
88 *state = parent ? parent->power.state : ACPI_STATE_D0; in acpi_device_get_power()
129 result == ACPI_STATE_D0) in acpi_device_get_power()
130 parent->power.state = ACPI_STATE_D0; in acpi_device_get_power()
168 || (state < ACPI_STATE_D0) || (state > ACPI_STATE_D3_COLD)) in acpi_device_set_power()
178 if (state > ACPI_STATE_D0 && state == device->power.state) in acpi_device_set_power()
216 if (state > ACPI_STATE_D0) { in acpi_device_set_power()
245 result = acpi_power_transition(device, ACPI_STATE_D0); in acpi_device_set_power()
250 if (cur_state == ACPI_STATE_D0) { in acpi_device_set_power()
269 if (result || psc == ACPI_STATE_D0) in acpi_device_set_power()
[all …]
H A Dpower.c323 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_add_dependent()
357 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_remove_dependent()
513 [ACPI_STATE_D0] = {
605 for (state = ACPI_STATE_D0; state <= ACPI_STATE_D3_HOT; state++) in acpi_power_add_remove_device()
818 for (i = ACPI_STATE_D0; i <= ACPI_STATE_D3_HOT; i++) { in acpi_power_get_inferred_state()
841 if (!device || state < ACPI_STATE_D0 || state > ACPI_STATE_D3_HOT) in acpi_power_on_resources()
851 if (!device || (state < ACPI_STATE_D0) || (state > ACPI_STATE_D3_COLD)) in acpi_power_transition()
857 if ((device->power.state < ACPI_STATE_D0) in acpi_power_transition()
H A Dfan_core.c117 int acpi_state = ACPI_STATE_D0; in fan_get_state()
125 0 : (acpi_state == ACPI_STATE_D0 ? 1 : -1); in fan_get_state()
147 state ? ACPI_STATE_D0 : ACPI_STATE_D3_COLD); in fan_set_state()
415 acpi_device_set_power(ACPI_COMPANION(dev), ACPI_STATE_D0); in acpi_fan_suspend()
H A Dscan.c507 for (i = ACPI_STATE_D0; i <= ACPI_STATE_D3_HOT; i++) { in acpi_free_power_resources_lists()
1096 unsigned long long dsc = ACPI_STATE_D0; in acpi_bus_get_power_flags()
1124 for (i = ACPI_STATE_D0; i <= ACPI_STATE_D3_HOT; i++) in acpi_bus_get_power_flags()
1130 device->power.states[ACPI_STATE_D0].flags.valid = 1; in acpi_bus_get_power_flags()
1131 device->power.states[ACPI_STATE_D0].power = 100; in acpi_bus_get_power_flags()
1139 if (!list_empty(&device->power.states[ACPI_STATE_D0].resources)) { in acpi_bus_get_power_flags()
2300 device->power.states[ACPI_STATE_D0].flags.valid; in acpi_bus_attach()
/linux/drivers/pnp/pnpacpi/
H A Dcore.c85 ret = acpi_device_set_power(acpi_dev, ACPI_STATE_D0); in pnpacpi_set_resources()
150 ACPI_STATE_D0 : ACPI_STATE_D3_COLD; in pnpacpi_suspend()
178 error = acpi_device_set_power(acpi_dev, ACPI_STATE_D0); in pnpacpi_resume()
/linux/drivers/ata/
H A Dlibata-acpi.c879 if (acpi_state == ACPI_STATE_D0) in sata_acpi_set_state()
888 acpi_bus_set_power(handle, ACPI_STATE_D0); in sata_acpi_set_state()
906 acpi_bus_set_power(port_handle, ACPI_STATE_D0); in pata_acpi_set_state()
914 ACPI_STATE_D0 : ACPI_STATE_D3_COLD); in pata_acpi_set_state()
/linux/include/acpi/
H A Dacpi_bus.h834 *p = ACPI_STATE_D0; in acpi_pm_device_sleep_state()
836 return (m >= ACPI_STATE_D0 && m <= ACPI_STATE_D3_COLD) ? in acpi_pm_device_sleep_state()
837 m : ACPI_STATE_D0; in acpi_pm_device_sleep_state()
H A Dactypes.h590 #define ACPI_STATE_D0 (u8) 0 macro
/linux/drivers/usb/core/
H A Dusb-acpi.c131 state = ACPI_STATE_D0; in usb_acpi_set_power_state()
/linux/drivers/pci/
H A Dpci-acpi.c946 case ACPI_STATE_D0: in acpi_pci_choose_state()
1083 [PCI_D0] = ACPI_STATE_D0, in acpi_pci_set_power_state()
1138 [ACPI_STATE_D0] = PCI_D0, in acpi_pci_get_power_state()
/linux/drivers/platform/x86/
H A Dlenovo-yogabook.c315 acpi_device_set_power(data->kbd_adev, ACPI_STATE_D0); in yogabook_wmi_set_kbd_backlight()
/linux/drivers/pci/hotplug/
H A Dacpiphp_glue.c439 acpi_device_set_power(adev, ACPI_STATE_D0); in acpiphp_rescan_slot()
/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_gmin_platform.c1010 ACPI_STATE_D0); in gmin_acpi_pm_ctrl()