Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/acpi/
A Ddevice_pm.c33 case ACPI_STATE_D0: in acpi_power_state_string()
129 result == ACPI_STATE_D0) in acpi_device_get_power()
130 parent->power.state = ACPI_STATE_D0; in acpi_device_get_power()
216 if (state > 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()
331 if (state == ACPI_STATE_D0) { in acpi_bus_init_power()
351 state = ACPI_STATE_D0; in acpi_bus_init_power()
371 && device->power.state == ACPI_STATE_D0) in acpi_device_fix_up_power()
418 state = ACPI_STATE_D0; in acpi_device_update_power()
[all …]
A Dpower.c322 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_add_dependent()
356 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_remove_dependent()
512 [ACPI_STATE_D0] = {
604 for (state = ACPI_STATE_D0; state <= ACPI_STATE_D3_HOT; state++) in acpi_power_add_remove_device()
817 for (i = ACPI_STATE_D0; i <= ACPI_STATE_D3_HOT; i++) { in acpi_power_get_inferred_state()
840 if (!device || state < ACPI_STATE_D0 || state > ACPI_STATE_D3_HOT) in acpi_power_on_resources()
850 if (!device || (state < ACPI_STATE_D0) || (state > ACPI_STATE_D3_COLD)) in acpi_power_transition()
856 if ((device->power.state < ACPI_STATE_D0) in acpi_power_transition()
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()
413 acpi_device_set_power(ACPI_COMPANION(dev), ACPI_STATE_D0); in acpi_fan_suspend()
A Dscan.c446 for (i = ACPI_STATE_D0; i <= ACPI_STATE_D3_HOT; i++) { in acpi_free_power_resources_lists()
1028 unsigned long long dsc = ACPI_STATE_D0; in acpi_bus_get_power_flags()
1056 for (i = ACPI_STATE_D0; i <= ACPI_STATE_D3_HOT; i++) in acpi_bus_get_power_flags()
1062 device->power.states[ACPI_STATE_D0].flags.valid = 1; in acpi_bus_get_power_flags()
1063 device->power.states[ACPI_STATE_D0].power = 100; in acpi_bus_get_power_flags()
1071 if (!list_empty(&device->power.states[ACPI_STATE_D0].resources)) { in acpi_bus_get_power_flags()
2199 device->power.states[ACPI_STATE_D0].flags.valid; in acpi_bus_attach()
A Dthermal.c1105 if (result || (power_state != ACPI_STATE_D0)) { in acpi_thermal_resume()
/linux-6.3-rc2/drivers/pnp/pnpacpi/
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-6.3-rc2/drivers/platform/x86/
A Dlenovo-yogabook-wmi.c84 if (data->kbd_adev->power.state != ACPI_STATE_D0) { in yogabook_wmi_set_kbd_backlight()
217 if (data->kbd_adev->power.state != ACPI_STATE_D0) in kbd_brightness_set()
367 acpi_device_set_power(data->kbd_adev, ACPI_STATE_D0); in yogabook_wmi_resume()
/linux-6.3-rc2/drivers/ata/
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-6.3-rc2/include/acpi/
A Dacpi_bus.h702 *p = ACPI_STATE_D0; in acpi_pm_device_sleep_state()
704 return (m >= ACPI_STATE_D0 && m <= ACPI_STATE_D3_COLD) ? in acpi_pm_device_sleep_state()
705 m : ACPI_STATE_D0; in acpi_pm_device_sleep_state()
A Dactypes.h590 #define ACPI_STATE_D0 (u8) 0 macro
/linux-6.3-rc2/drivers/usb/core/
A Dusb-acpi.c135 state = ACPI_STATE_D0; in usb_acpi_set_power_state()
/linux-6.3-rc2/drivers/pci/
A Dpci-acpi.c923 case ACPI_STATE_D0: in acpi_pci_choose_state()
1050 [PCI_D0] = ACPI_STATE_D0, in acpi_pci_set_power_state()
1088 [ACPI_STATE_D0] = PCI_D0, in acpi_pci_get_power_state()
/linux-6.3-rc2/drivers/pci/hotplug/
A Dacpiphp_glue.c439 acpi_device_set_power(adev, ACPI_STATE_D0); in acpiphp_rescan_slot()
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/
A Datomisp_gmin_platform.c1006 ACPI_STATE_D0); in gmin_acpi_pm_ctrl()

Completed in 41 milliseconds