Home
last modified time | relevance | path

Searched refs:PCI_PM_CTRL (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/drivers/hid/intel-ish-hid/ipc/
Dipc.c779 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.1.9/arch/x86/kernel/
Dearly-quirks.c646 pmcsr = read_pci_config_16(bus, slot, func, BCM4331_PM_CAP + PCI_PM_CTRL); in apple_airport_reset()
650 write_pci_config_16(bus, slot, func, BCM4331_PM_CAP + PCI_PM_CTRL, pmcsr); in apple_airport_reset()
653 pmcsr = read_pci_config_16(bus, slot, func, BCM4331_PM_CAP + PCI_PM_CTRL); in apple_airport_reset()
/linux-6.1.9/drivers/pci/
Dpci.c1093 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_update_current_state()
1221 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_power_up()
1241 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, 0); in pci_power_up()
1278 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_set_full_power_state()
1366 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_set_low_power_state()
1379 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pmcsr); in pci_set_low_power_state()
1387 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_set_low_power_state()
2321 pmcsr_pos = dev->pm_cap + PCI_PM_CTRL; in pci_check_pme_status()
2427 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in __pci_pme_active()
2433 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pmcsr); in __pci_pme_active()
[all …]
Dquirks.c2337 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in quirk_e100_interrupt()
/linux-6.1.9/arch/powerpc/sysdev/
Dfsl_pci.c1182 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pms); in fsl_pci_pme_probe()
1184 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pms); in fsl_pci_pme_probe()
1215 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pms); in fsl_pci_pme_probe()
1217 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pms); in fsl_pci_pme_probe()
/linux-6.1.9/sound/soc/intel/catpt/
Dregisters.h84 #define CATPT_PCI_PMCS (CATPT_PCI_PMCAPID + PCI_PM_CTRL)
/linux-6.1.9/drivers/xen/xen-pciback/
Dconf_space_capability.c173 .offset = PCI_PM_CTRL,
/linux-6.1.9/arch/x86/pci/
Dintel_mid_pci.c352 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in mid_power_off_one_device()
/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Dcfg_space.c369 vgpu->cfg_space.pmcsr_off = next + PCI_PM_CTRL; in intel_vgpu_init_cfg_space()
/linux-6.1.9/drivers/vfio/pci/
Dvfio_pci_config.c722 if (offset == PCI_PM_CTRL) { in vfio_pm_config_write()
778 p_setd(perm, PCI_PM_CTRL, in init_pci_cap_pm_perm()
1455 __le16 *ctrl = (__le16 *)&vdev->vconfig[offset + PCI_PM_CTRL]; in vfio_update_pm_vconfig_bytes()
Dvfio_pci_core.c220 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &pmcsr); in vfio_pci_probe_power_state()
/linux-6.1.9/include/uapi/linux/
Dpci_regs.h253 #define PCI_PM_CTRL 4 /* PM control and status register */ macro
/linux-6.1.9/drivers/platform/x86/intel/telemetry/
Ddebugfs.c584 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in telem_soc_states_show()
/linux-6.1.9/drivers/net/ethernet/micrel/
Dksz884x.c3401 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &data); in hw_chk_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()
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-6.1.9/drivers/video/fbdev/aty/
Dradeon_pm.c2524 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()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3174 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()
Dbnx2x_ethtool.c1473 bp->pdev->pm_cap + PCI_PM_CTRL, &pm); in bnx2x_is_nvm_accessible()
Dbnx2x_main.c9178 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &pmc); in bnx2x_send_unload_req()
9180 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, pmc); in bnx2x_send_unload_req()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbnx2.c6557 pci_read_config_dword(bp->pdev, bp->pm_cap + PCI_PM_CTRL, &val1); in bnx2_dump_state()
Dtg3.c16477 tp->pdev->pm_cap + PCI_PM_CTRL, in tg3_get_invariants()
16482 tp->pdev->pm_cap + PCI_PM_CTRL, in tg3_get_invariants()