Home
last modified time | relevance | path

Searched refs:PCI_D0 (Results 1 – 25 of 92) sorted by relevance

1234

/openbmc/linux/drivers/pci/
H A Dpci-driver.c497 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 Dpci.c1144 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 Dpci-acpi.c924 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 Di915_switcheroo.c31 pci_set_power_state(pdev, PCI_D0); in i915_switcheroo_set_state()
/openbmc/linux/drivers/hid/intel-ish-hid/ipc/
H A Dpci-ish.c158 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 Dpcie_quirks.c110 pci_set_power_state(pdev, PCI_D0); in mwifiex_pcie_set_power_d0()
/openbmc/linux/drivers/platform/x86/intel/atomisp2/
H A Dpm.c115 pdev->current_state = PCI_D0; in isp_pci_resume()
/openbmc/linux/drivers/pci/msi/
H A Dmsi.c154 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 Dpwr.c246 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 Dpower.c162 pci_set_power_state(pdev, PCI_D0); in gma_resume_pci()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dpci.c145 err = pci_set_power_state(pdev, PCI_D0); in mt76x2e_resume()
/openbmc/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c245 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 Ddwmac-loongson.c204 pci_set_power_state(pdev, PCI_D0); in loongson_dwmac_resume()
H A Dstmmac_pci.c270 pci_set_power_state(pdev, PCI_D0); in stmmac_pci_resume()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dpci.c150 err = pci_set_power_state(pdev, PCI_D0); in mt7615_pci_resume()
/openbmc/linux/drivers/gpu/drm/qxl/
H A Dqxl_drv.c225 pci_set_power_state(pdev, PCI_D0); in qxl_pm_resume()
/openbmc/linux/arch/x86/kernel/
H A Dearly-quirks.c648 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 Dgpio-bt8xx.c265 pci_set_power_state(pdev, PCI_D0); in bt8xxgpio_resume()
/openbmc/linux/drivers/accel/ivpu/
H A Divpu_pm.c175 pci_set_power_state(to_pci_dev(dev), PCI_D0); in ivpu_pm_resume_cb()
/openbmc/linux/drivers/pci/pcie/
H A Daspm.c367 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 Dpci.c272 err = pci_set_power_state(pdev, PCI_D0); in mt76x0e_resume()
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/
H A Dtopaz_pcie.c1204 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 Dpci.c356 pci_set_power_state(dev, PCI_D0); in final_fixup()
/openbmc/linux/drivers/usb/host/
H A Dxhci-pci.c704 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 Dlsdc_drv.c420 pci_set_power_state(pdev, PCI_D0); in lsdc_pm_resume()

1234