Searched refs:ACPI_STATE_D0 (Results 1 – 12 of 12) sorted by relevance
33 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...]
324 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_add_dependent() 358 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_remove_dependent() 514 [ACPI_STATE_D0] = {606 for (state = ACPI_STATE_D0; state <= ACPI_STATE_D3_HOT; state++) in acpi_power_add_remove_device() 819 for (i = ACPI_STATE_D0; i <= ACPI_STATE_D3_HOT; i++) { in acpi_power_get_inferred_state() 842 if (!device || state < ACPI_STATE_D0 || state > ACPI_STATE_D3_HOT) in acpi_power_on_resources() 852 if (!device || (state < ACPI_STATE_D0) || (state > ACPI_STATE_D3_COLD)) in acpi_power_transition() 858 if ((device->power.state < ACPI_STATE_D0) in acpi_power_transition()
507 for (i = ACPI_STATE_D0; i <= ACPI_STATE_D3_HOT; i++) { in acpi_free_power_resources_lists() 1094 unsigned long long dsc = ACPI_STATE_D0; in acpi_bus_get_power_flags() 1122 for (i = ACPI_STATE_D0; i <= ACPI_STATE_D3_HOT; i++) in acpi_bus_get_power_flags() 1128 device->power.states[ACPI_STATE_D0].flags.valid = 1; in acpi_bus_get_power_flags() 1129 device->power.states[ACPI_STATE_D0].power = 100; in acpi_bus_get_power_flags() 1137 if (!list_empty(&device->power.states[ACPI_STATE_D0].resources)) { in acpi_bus_get_power_flags() 2292 device->power.states[ACPI_STATE_D0].flags.valid; in acpi_bus_attach()
85 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()
887 if (acpi_state == ACPI_STATE_D0) in sata_acpi_set_state() 896 acpi_bus_set_power(handle, ACPI_STATE_D0); in sata_acpi_set_state() 914 acpi_bus_set_power(port_handle, ACPI_STATE_D0); in pata_acpi_set_state() 922 ACPI_STATE_D0 : ACPI_STATE_D3_COLD); in pata_acpi_set_state()
834 *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()
590 #define ACPI_STATE_D0 (u8) 0 macro
131 state = ACPI_STATE_D0; in usb_acpi_set_power_state()
941 case ACPI_STATE_D0: in acpi_pci_choose_state() 1078 [PCI_D0] = ACPI_STATE_D0, in acpi_pci_set_power_state() 1133 [ACPI_STATE_D0] = PCI_D0, in acpi_pci_get_power_state()
315 acpi_device_set_power(data->kbd_adev, ACPI_STATE_D0); in yogabook_wmi_set_kbd_backlight()
439 acpi_device_set_power(adev, ACPI_STATE_D0); in acpiphp_rescan_slot()
924 ACPI_STATE_D0); in gmin_acpi_pm_ctrl()