/openbmc/linux/drivers/pci/ |
H A D | pci-driver.c | 497 if (pci_dev->current_state == PCI_D0) in pci_device_remove() 545 if (pci_dev->current_state != PCI_D0) { in pci_restore_standard_config() 546 int error = pci_set_power_state(pci_dev, PCI_D0); in pci_restore_standard_config() 564 pci_enable_wake(pci_dev, PCI_D0, false); in pci_pm_default_resume() 570 pci_update_current_state(pci_dev, PCI_D0); in pci_pm_power_up_and_verify_state() 618 if (pci_dev->current_state == PCI_D0) in pci_pm_set_unknown_state() 656 if (!pci_dev->state_saved && pci_dev->current_state != PCI_D0 in pci_legacy_suspend() 841 if (!pci_dev->state_saved && pci_dev->current_state != PCI_D0 in pci_pm_suspend() 887 if (!pci_dev->state_saved && pci_dev->current_state != PCI_D0 in pci_pm_suspend_noirq() 911 if (pci_dev->current_state == PCI_D0) { in pci_pm_suspend_noirq() [all …]
|
H A D | pci.c | 1144 dev->current_state = PCI_D0; in pci_platform_power_transition() 1248 platform_pci_set_power_state(dev, PCI_D0); in pci_power_up() 1253 dev->current_state = PCI_D0; in pci_power_up() 1273 if (state == PCI_D0) in pci_power_up() 1289 dev->current_state = PCI_D0; in pci_power_up() 1316 if (dev->current_state == PCI_D0) in pci_set_full_power_state() 1324 if (dev->current_state != PCI_D0) { in pci_set_full_power_state() 1466 else if (state < PCI_D0) in __pci_set_power_state() 1467 state = PCI_D0; in __pci_set_power_state() 1482 if (state == PCI_D0) in __pci_set_power_state() [all …]
|
H A D | pci-acpi.c | 924 return PCI_D0; in acpi_pci_choose_state() 1060 [PCI_D0] = ACPI_STATE_D0, in acpi_pci_set_power_state() 1073 case PCI_D0: in acpi_pci_set_power_state() 1105 if (state == PCI_D0) in acpi_pci_set_power_state() 1115 [ACPI_STATE_D0] = PCI_D0, in acpi_pci_get_power_state()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_switcheroo.c | 31 pci_set_power_state(pdev, PCI_D0); in i915_switcheroo_set_state()
|
/openbmc/linux/drivers/hid/intel-ish-hid/ipc/ |
H A D | pci-ish.c | 158 if ((pci_pme_capable(pdev, PCI_D0) || in enable_pme_wake() 388 pci_set_power_state(pdev, PCI_D0); in ish_resume()
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | pcie_quirks.c | 110 pci_set_power_state(pdev, PCI_D0); in mwifiex_pcie_set_power_d0()
|
/openbmc/linux/drivers/platform/x86/intel/atomisp2/ |
H A D | pm.c | 115 pdev->current_state = PCI_D0; in isp_pci_resume()
|
/openbmc/linux/drivers/pci/msi/ |
H A D | msi.c | 154 BUG_ON(dev->current_state != PCI_D0); in __pci_read_msi_msg() 239 if (dev->current_state != PCI_D0 || pci_dev_is_disconnected(dev)) { in __pci_write_msi_msg() 417 if (!pci_msi_supported(dev, minvec) || dev->current_state != PCI_D0) in __pci_enable_msi_range() 806 if (!pci_msi_supported(dev, nvec) || dev->current_state != PCI_D0) in __pci_enable_msix_range()
|
/openbmc/linux/arch/x86/platform/intel-mid/ |
H A D | pwr.c | 246 if (state < PCI_D0) in mid_pwr_set_power_state() 247 state = PCI_D0; in mid_pwr_set_power_state()
|
/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | power.c | 162 pci_set_power_state(pdev, PCI_D0); in gma_resume_pci()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | pci.c | 145 err = pci_set_power_state(pdev, PCI_D0); in mt76x2e_resume()
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_core.c | 245 if (pci_num_vf(pdev) && state > PCI_D0) in vfio_pci_set_power_state() 254 if (pdev->current_state >= PCI_D3hot && state <= PCI_D0) in vfio_pci_set_power_state() 420 vfio_pci_set_power_state(vdev, PCI_D0); in vfio_pci_core_runtime_suspend() 592 vfio_pci_set_power_state(vdev, PCI_D0); in vfio_pci_core_disable() 1245 vfio_pci_set_power_state(vdev, PCI_D0); in vfio_pci_ioctl_reset() 2278 vfio_pci_set_power_state(vdev, PCI_D0); in vfio_pci_core_register_device() 2371 vfio_pci_set_power_state(vdev, PCI_D0); in vfio_pci_core_sriov_configure() 2582 vfio_pci_set_power_state(cur, PCI_D0); in vfio_pci_dev_set_hot_reset()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-loongson.c | 204 pci_set_power_state(pdev, PCI_D0); in loongson_dwmac_resume()
|
H A D | stmmac_pci.c | 270 pci_set_power_state(pdev, PCI_D0); in stmmac_pci_resume()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | pci.c | 150 err = pci_set_power_state(pdev, PCI_D0); in mt7615_pci_resume()
|
/openbmc/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_drv.c | 225 pci_set_power_state(pdev, PCI_D0); in qxl_pm_resume()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | early-quirks.c | 648 if ((pmcsr & PCI_PM_CTRL_STATE_MASK) != PCI_D0) { in apple_airport_reset() 654 if ((pmcsr & PCI_PM_CTRL_STATE_MASK) != PCI_D0) { in apple_airport_reset()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-bt8xx.c | 265 pci_set_power_state(pdev, PCI_D0); in bt8xxgpio_resume()
|
/openbmc/linux/drivers/accel/ivpu/ |
H A D | ivpu_pm.c | 175 pci_set_power_state(to_pci_dev(dev), PCI_D0); in ivpu_pm_resume_cb()
|
/openbmc/linux/drivers/pci/pcie/ |
H A D | aspm.c | 367 if ((endpoint->current_state != PCI_D0) && in pcie_aspm_check_latency() 735 if (parent->current_state != PCI_D0 || child->current_state != PCI_D0) { in pcie_config_aspm_link()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H A D | pci.c | 272 err = pci_set_power_state(pdev, PCI_D0); in mt76x0e_resume()
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
H A D | topaz_pcie.c | 1204 pci_set_power_state(pdev, PCI_D0); in qtnf_pcie_topaz_resume() 1206 pci_enable_wake(pdev, PCI_D0, 0); in qtnf_pcie_topaz_resume() 1208 writel((u32 __force)PCI_D0, ts->ep_pmstate); in qtnf_pcie_topaz_resume()
|
/openbmc/linux/arch/mips/txx9/generic/ |
H A D | pci.c | 356 pci_set_power_state(dev, PCI_D0); in final_fixup()
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-pci.c | 704 if (pci_choose_state(dev, PMSG_SUSPEND) == PCI_D0) in xhci_pci_probe() 732 if (pci_choose_state(dev, PMSG_SUSPEND) == PCI_D0) in xhci_pci_remove()
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_drv.c | 420 pci_set_power_state(pdev, PCI_D0); in lsdc_pm_resume()
|