/linux-6.6.21/drivers/pci/ |
D | pci.c | 1104 } else if (dev->pm_cap) { in pci_update_current_state() 1107 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_update_current_state() 1143 else if (!dev->pm_cap) /* Fall back to PCI_D0 */ in pci_platform_power_transition() 1245 if (!dev->pm_cap) { in pci_power_up() 1255 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_power_up() 1275 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, 0); in pci_power_up() 1316 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_set_full_power_state() 1386 if (!dev->pm_cap) in pci_set_low_power_state() 1407 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_set_low_power_state() 1420 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pmcsr); in pci_set_low_power_state() [all …]
|
D | quirks.c | 2449 if (dev->pm_cap) { in quirk_e100_interrupt() 2450 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in quirk_e100_interrupt()
|
/linux-6.6.21/drivers/hid/intel-ish-hid/ipc/ |
D | ipc.c | 767 if (!pdev->pm_cap) { in _ish_hw_reset() 779 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &csr); in _ish_hw_reset() 783 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, csr); in _ish_hw_reset() 789 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, csr); in _ish_hw_reset()
|
/linux-6.6.21/arch/mips/txx9/generic/ |
D | pci.c | 339 if (dev->pm_cap) { in tc35815_fixup() 341 dev->pm_cap = 0; in tc35815_fixup()
|
/linux-6.6.21/arch/x86/pci/ |
D | fixup.c | 935 if (!rp->pm_cap) in amd_rp_pme_suspend() 949 if (!rp->pm_cap) in amd_rp_pme_resume() 952 pci_read_config_word(rp, rp->pm_cap + PCI_PM_PMC, &pmc); in amd_rp_pme_resume()
|
D | intel_mid_pci.c | 352 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in mid_power_off_one_device()
|
/linux-6.6.21/arch/powerpc/sysdev/ |
D | fsl_pci.c | 1195 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pms); in fsl_pci_pme_probe() 1197 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pms); in fsl_pci_pme_probe() 1228 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pms); in fsl_pci_pme_probe() 1230 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pms); in fsl_pci_pme_probe()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/ |
D | nouveau_drm.c | 772 drm->old_pm_cap = pdev->pm_cap; in quirk_broken_nv_runpm() 773 pdev->pm_cap = 0; in quirk_broken_nv_runpm() 878 pdev->pm_cap = drm->old_pm_cap; in nouveau_drm_remove()
|
/linux-6.6.21/drivers/net/ethernet/amd/ |
D | amd8111e.h | 767 int pm_cap; member
|
D | amd8111e.c | 1768 if (!pdev->pm_cap) { in amd8111e_probe_one() 1799 lp->pm_cap = pdev->pm_cap; in amd8111e_probe_one()
|
/linux-6.6.21/drivers/media/pci/intel/ipu3/ |
D | ipu3-cio2.c | 1866 pci_read_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, &pm); in cio2_runtime_suspend() 1869 pci_write_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, pm); in cio2_runtime_suspend() 1884 pci_read_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, &pm); in cio2_runtime_resume() 1886 pci_write_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, pm); in cio2_runtime_resume()
|
/linux-6.6.21/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 3101 if (!pdev->pm_cap) in hw_chk_wol_pme_status() 3103 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &data); in hw_chk_wol_pme_status() 3119 if (!pdev->pm_cap) in hw_clr_wol_pme_status() 3123 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &data); in hw_clr_wol_pme_status() 3125 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, data); in hw_clr_wol_pme_status() 3141 if (!pdev->pm_cap) in hw_cfg_wol_pme() 3143 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &data); in hw_cfg_wol_pme() 3149 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, data); in hw_cfg_wol_pme()
|
/linux-6.6.21/drivers/video/fbdev/aty/ |
D | radeon_pm.c | 2524 rinfo->pdev->pm_cap + PCI_PM_CTRL, in radeonfb_whack_power_state() 2530 rinfo->pdev->pm_cap + PCI_PM_CTRL, in radeonfb_whack_power_state() 2541 if (!rinfo->pdev->pm_cap) in radeon_set_suspend() 2856 if (rinfo->is_mobility && rinfo->pdev->pm_cap && in radeonfb_pm_init()
|
D | aty128fb.c | 2332 if (!par->pdev->pm_cap) in aty128_set_suspend()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 665 int pm_cap; member
|
D | qed_main.c | 326 cdev->pci_params.pm_cap = pci_find_capability(pdev, PCI_CAP_ID_PM); in qed_init_pci() 327 if (IS_PF(cdev) && !cdev->pci_params.pm_cap) in qed_init_pci()
|
/linux-6.6.21/drivers/platform/x86/intel/telemetry/ |
D | debugfs.c | 584 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in telem_soc_states_show()
|
/linux-6.6.21/drivers/vfio/pci/ |
D | vfio_pci_core.c | 223 if (!pdev->pm_cap) in vfio_pci_probe_power_state() 226 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &pmcsr); in vfio_pci_probe_power_state()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 3185 if (!bp->pdev->pm_cap) { in bnx2x_set_power_state() 3190 pci_read_config_word(bp->pdev, bp->pdev->pm_cap + PCI_PM_CTRL, &pmcsr); in bnx2x_set_power_state() 3194 pci_write_config_word(bp->pdev, bp->pdev->pm_cap + PCI_PM_CTRL, in bnx2x_set_power_state() 3218 pci_write_config_word(bp->pdev, bp->pdev->pm_cap + PCI_PM_CTRL, in bnx2x_set_power_state()
|
D | bnx2x_ethtool.c | 1471 if (bp->pdev->pm_cap) in bnx2x_is_nvm_accessible() 1473 bp->pdev->pm_cap + PCI_PM_CTRL, &pm); in bnx2x_is_nvm_accessible()
|
/linux-6.6.21/drivers/staging/media/atomisp/pci/ |
D | atomisp_gmin_platform.c | 1457 pdev->pm_cap = 0; in isp_pm_cap_fixup()
|
/linux-6.6.21/drivers/scsi/pm8001/ |
D | pm8001_init.c | 1316 if (!pdev->pm_cap) { in pm8001_pci_suspend()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 6540 pci_read_config_dword(bp->pdev, bp->pm_cap + PCI_PM_CTRL, &val1); in bnx2_dump_state() 8116 bp->pm_cap = pdev->pm_cap; in bnx2_init_board() 8117 if (bp->pm_cap == 0) { in bnx2_init_board()
|
/linux-6.6.21/drivers/net/ethernet/atheros/alx/ |
D | main.c | 1749 if (!pdev->pm_cap) { in alx_probe()
|
/linux-6.6.21/Documentation/power/ |
D | pci.rst | 314 int pm_cap; /* PM capability offset in the 340 in the configuration space is stored in the pm_cap field of the device's struct
|