/drivers/pci/ |
D | pci.c | 1015 if (!dev->pm_cap) in pci_raw_set_power_state() 1040 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_raw_set_power_state() 1073 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pmcsr); in pci_raw_set_power_state() 1084 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_raw_set_power_state() 1130 } else if (dev->pm_cap) { in pci_update_current_state() 1133 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_update_current_state() 1171 if (error && !dev->pm_cap) /* Fall back to PCI_D0 */ in pci_platform_power_transition() 1371 if (!dev->pm_cap) in pci_choose_state() 2217 if (!dev->pm_cap) in pci_check_pme_status() 2220 pmcsr_pos = dev->pm_cap + PCI_PM_CTRL; in pci_check_pme_status() [all …]
|
D | quirks.c | 2304 if (dev->pm_cap) { in quirk_e100_interrupt() 2305 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in quirk_e100_interrupt()
|
/drivers/hid/intel-ish-hid/ipc/ |
D | ipc.c | 740 if (!pdev->pm_cap) { in _ish_hw_reset() 752 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &csr); in _ish_hw_reset() 756 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, csr); in _ish_hw_reset() 762 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, csr); in _ish_hw_reset()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_drm.c | 738 drm->old_pm_cap = pdev->pm_cap; in quirk_broken_nv_runpm() 739 pdev->pm_cap = 0; in quirk_broken_nv_runpm() 841 pdev->pm_cap = drm->old_pm_cap; in nouveau_drm_remove()
|
/drivers/net/ethernet/amd/ |
D | amd8111e.h | 767 int pm_cap; member
|
D | amd8111e.c | 1776 if (!pdev->pm_cap) { in amd8111e_probe_one() 1807 lp->pm_cap = pdev->pm_cap; in amd8111e_probe_one()
|
/drivers/media/pci/intel/ipu3/ |
D | ipu3-cio2.c | 1849 pci_read_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, &pm); in cio2_runtime_suspend() 1852 pci_write_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, pm); in cio2_runtime_suspend() 1867 pci_read_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, &pm); in cio2_runtime_resume() 1869 pci_write_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, pm); in cio2_runtime_resume()
|
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 3474 if (!pdev->pm_cap) in hw_chk_wol_pme_status() 3476 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &data); in hw_chk_wol_pme_status() 3492 if (!pdev->pm_cap) in hw_clr_wol_pme_status() 3496 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &data); in hw_clr_wol_pme_status() 3498 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, data); in hw_clr_wol_pme_status() 3514 if (!pdev->pm_cap) in hw_cfg_wol_pme() 3516 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &data); in hw_cfg_wol_pme() 3522 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, data); in hw_cfg_wol_pme()
|
/drivers/video/fbdev/aty/ |
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()
|
D | aty128fb.c | 2331 if (!par->pdev->pm_cap) in aty128_set_suspend()
|
/drivers/platform/x86/ |
D | intel_telemetry_debugfs.c | 584 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in telem_soc_states_show()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 671 int pm_cap; member
|
D | qed_main.c | 356 cdev->pci_params.pm_cap = pci_find_capability(pdev, PCI_CAP_ID_PM); in qed_init_pci() 357 if (IS_PF(cdev) && !cdev->pci_params.pm_cap) in qed_init_pci()
|
/drivers/vfio/pci/ |
D | vfio_pci.c | 266 if (!pdev->pm_cap) in vfio_pci_probe_power_state() 269 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &pmcsr); in vfio_pci_probe_power_state()
|
/drivers/staging/media/atomisp/pci/ |
D | atomisp_gmin_platform.c | 1348 pdev->pm_cap = 0; in isp_pm_cap_fixup()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 3169 if (!bp->pdev->pm_cap) { in bnx2x_set_power_state() 3174 pci_read_config_word(bp->pdev, bp->pdev->pm_cap + PCI_PM_CTRL, &pmcsr); in bnx2x_set_power_state() 3178 pci_write_config_word(bp->pdev, bp->pdev->pm_cap + PCI_PM_CTRL, in bnx2x_set_power_state() 3202 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()
|
D | bnx2x_main.c | 9179 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &pmc); in bnx2x_send_unload_req() 9181 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, pmc); in bnx2x_send_unload_req() 11107 pci_read_config_word(bp->pdev, bp->pdev->pm_cap + PCI_PM_PMC, &pmc); in bnx2x_get_common_hwinfo() 13165 if (!pdev->pm_cap) { in bnx2x_init_dev()
|
/drivers/scsi/pm8001/ |
D | pm8001_init.c | 1254 if (!pdev->pm_cap) { in pm8001_pci_suspend()
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 6556 pci_read_config_dword(bp->pdev, bp->pm_cap + PCI_PM_CTRL, &val1); in bnx2_dump_state() 8146 bp->pm_cap = pdev->pm_cap; in bnx2_init_board() 8147 if (bp->pm_cap == 0) { in bnx2_init_board()
|
D | bnx2.h | 6975 int pm_cap; member
|
D | tg3.c | 16588 tp->pdev->pm_cap + PCI_PM_CTRL, in tg3_get_invariants() 16593 tp->pdev->pm_cap + PCI_PM_CTRL, in tg3_get_invariants()
|
/drivers/net/ethernet/atheros/alx/ |
D | main.c | 1727 if (!pdev->pm_cap) { in alx_probe()
|
/drivers/scsi/hisi_sas/ |
D | hisi_sas_v3_hw.c | 3476 if (!pdev->pm_cap) { in _suspend_v3_hw()
|