/linux/drivers/hid/intel-ish-hid/ipc/ |
A 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/drivers/pci/ |
A D | pci.c | 1092 if (!dev->pm_cap) in pci_raw_set_power_state() 1117 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_raw_set_power_state() 1150 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pmcsr); in pci_raw_set_power_state() 1207 } else if (dev->pm_cap) { in pci_update_current_state() 1242 else if (!dev->pm_cap) /* Fall back to PCI_D0 */ in pci_platform_power_transition() 2273 if (!dev->pm_cap) in pci_check_pme_status() 2276 pmcsr_pos = dev->pm_cap + PCI_PM_CTRL; in pci_check_pme_status() 2332 if (!dev->pm_cap) in pci_pme_capable() 2628 else if (!dev->pm_cap) in pci_target_state() 3115 dev->pm_cap = 0; in pci_pm_init() [all …]
|
A D | quirks.c | 2321 if (dev->pm_cap) { in quirk_e100_interrupt() 2322 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in quirk_e100_interrupt()
|
/linux/arch/mips/txx9/generic/ |
A D | pci.c | 338 if (dev->pm_cap) { in tc35815_fixup() 340 dev->pm_cap = 0; in tc35815_fixup()
|
/linux/arch/powerpc/sysdev/ |
A D | fsl_pci.c | 1169 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pms); in fsl_pci_pme_probe() 1171 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pms); in fsl_pci_pme_probe() 1202 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pms); in fsl_pci_pme_probe() 1204 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pms); in fsl_pci_pme_probe()
|
/linux/arch/x86/pci/ |
A 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/drivers/gpu/drm/nouveau/ |
A D | nouveau_drm.c | 737 drm->old_pm_cap = pdev->pm_cap; in quirk_broken_nv_runpm() 738 pdev->pm_cap = 0; in quirk_broken_nv_runpm() 838 pdev->pm_cap = drm->old_pm_cap; in nouveau_drm_remove()
|
/linux/drivers/net/ethernet/amd/ |
A D | amd8111e.h | 767 int pm_cap; member
|
A D | amd8111e.c | 1769 if (!pdev->pm_cap) { in amd8111e_probe_one() 1800 lp->pm_cap = pdev->pm_cap; in amd8111e_probe_one()
|
/linux/drivers/media/pci/intel/ipu3/ |
A D | ipu3-cio2-main.c | 1859 pci_read_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, &pm); in cio2_runtime_suspend() 1862 pci_write_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, pm); in cio2_runtime_suspend() 1877 pci_read_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, &pm); in cio2_runtime_resume() 1879 pci_write_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, pm); in cio2_runtime_resume()
|
/linux/drivers/net/ethernet/micrel/ |
A D | ksz884x.c | 3399 if (!pdev->pm_cap) in hw_chk_wol_pme_status() 3401 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &data); in hw_chk_wol_pme_status() 3417 if (!pdev->pm_cap) in hw_clr_wol_pme_status() 3421 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &data); in hw_clr_wol_pme_status() 3423 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, data); in hw_clr_wol_pme_status() 3439 if (!pdev->pm_cap) in hw_cfg_wol_pme() 3441 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &data); in hw_cfg_wol_pme() 3447 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, data); in hw_cfg_wol_pme()
|
/linux/drivers/video/fbdev/aty/ |
A D | radeon_pm.c | 2525 rinfo->pdev->pm_cap + PCI_PM_CTRL, in radeonfb_whack_power_state() 2531 rinfo->pdev->pm_cap + PCI_PM_CTRL, in radeonfb_whack_power_state() 2542 if (!rinfo->pdev->pm_cap) in radeon_set_suspend() 2857 if (rinfo->is_mobility && rinfo->pdev->pm_cap && in radeonfb_pm_init()
|
A D | aty128fb.c | 2331 if (!par->pdev->pm_cap) in aty128_set_suspend()
|
/linux/drivers/platform/x86/intel/telemetry/ |
A D | debugfs.c | 584 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in telem_soc_states_show()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed.h | 665 int pm_cap; member
|
A D | qed_main.c | 350 cdev->pci_params.pm_cap = pci_find_capability(pdev, PCI_CAP_ID_PM); in qed_init_pci() 351 if (IS_PF(cdev) && !cdev->pci_params.pm_cap) in qed_init_pci()
|
/linux/drivers/vfio/pci/ |
A D | vfio_pci_core.c | 195 if (!pdev->pm_cap) in vfio_pci_probe_power_state() 198 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &pmcsr); in vfio_pci_probe_power_state()
|
/linux/drivers/staging/media/atomisp/pci/ |
A D | atomisp_gmin_platform.c | 1330 pdev->pm_cap = 0; in isp_pm_cap_fixup()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_cmn.c | 3165 if (!bp->pdev->pm_cap) { in bnx2x_set_power_state() 3170 pci_read_config_word(bp->pdev, bp->pdev->pm_cap + PCI_PM_CTRL, &pmcsr); in bnx2x_set_power_state() 3174 pci_write_config_word(bp->pdev, bp->pdev->pm_cap + PCI_PM_CTRL, in bnx2x_set_power_state() 3198 pci_write_config_word(bp->pdev, bp->pdev->pm_cap + PCI_PM_CTRL, in bnx2x_set_power_state()
|
A 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/drivers/scsi/pm8001/ |
A D | pm8001_init.c | 1295 if (!pdev->pm_cap) { in pm8001_pci_suspend()
|
/linux/drivers/net/ethernet/broadcom/ |
A D | bnx2.c | 6556 pci_read_config_dword(bp->pdev, bp->pm_cap + PCI_PM_CTRL, &val1); in bnx2_dump_state() 8129 bp->pm_cap = pdev->pm_cap; in bnx2_init_board() 8130 if (bp->pm_cap == 0) { in bnx2_init_board()
|
/linux/drivers/net/ethernet/atheros/alx/ |
A D | main.c | 1748 if (!pdev->pm_cap) { in alx_probe()
|
/linux/include/linux/ |
A D | pci.h | 360 u8 pm_cap; /* PM capability offset */ member
|
/linux/Documentation/power/ |
A 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
|