Home
last modified time | relevance | path

Searched refs:PCI_PMCSR (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dsunpci.c668 uint16_t pmcsr_offset = pmcap_offset + PCI_PMCSR;
669 uint32_t *saved_pmcsrp = (uint32_t *)((caddr_t)regbuf + PCI_PMCSR);
978 pmcsr = pci_config_get16(hdl, p->ppc_cap_offset + PCI_PMCSR);
1046 pci_config_put16(hdl, p->ppc_cap_offset + PCI_PMCSR,
1048 pci_config_put16(hdl, p->ppc_cap_offset + PCI_PMCSR,
1114 pci_config_put16(hdl, pmcap + PCI_PMCSR, pmcsr);
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_os.h183 #define PCI_PMCSR 0x4 /* PM control/status reg, 2 bytes */
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_debug.c164 pci_config_get16(handle, offset + PCI_PMCSR)); in pci_dump()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_pci.c1243 ppb->ppb_pm_cap_ptr, PCI_PMCSR)) == PCI_CAP_EINVAL16) in pci_pwr_current_lvl()
1320 ppb->ppb_pm_cap_ptr, PCI_PMCSR)) == PCI_CAP_EINVAL16) in ppb_pwr()
1406 PCI_CAP_PUT16(ppb->ppb_conf_hdl, 0, ppb->ppb_pm_cap_ptr, PCI_PMCSR, in ppb_pwr()
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_debug.c289 pci_config_get16(handle, offset + PCI_PMCSR)); in ixgbe_pci_dump()
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_debug.c471 pci_config_get16(handle, offset + PCI_PMCSR)); in pciconfig_dump()
/illumos-gate/usr/src/uts/common/sys/
H A Dpci.h642 #define PCI_PMCSR 0x4 /* PM control/status reg, 2 bytes */ macro
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dppt.c1102 val = PCI_CAP_GET16(cfg, 0, cap_ptr, PCI_PMCSR); in ppt_reset_pci_power_state()
1105 (void) PCI_CAP_PUT16(cfg, 0, cap_ptr, PCI_PMCSR, in ppt_reset_pci_power_state()
/illumos-gate/usr/src/uts/common/io/yge/
H A Dyge.c1199 pmcsr = pci_config_get16(dev->d_pcih, pm_cap + PCI_PMCSR); in yge_attach()
1201 pci_config_put16(dev->d_pcih, pm_cap + PCI_PMCSR, in yge_attach()
1755 pmcsr = pci_config_get16(dev->d_pcih, pm_cap + PCI_PMCSR); in yge_resume()
1757 pci_config_put16(dev->d_pcih, pm_cap + PCI_PMCSR, in yge_resume()
/illumos-gate/usr/src/uts/common/io/audio/drv/audiots/
H A Daudiots.c608 ptr += PCI_PMCSR; in audiots_power_up()
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_boot.c2218 pmcsr = pci_getw(bus, dev, func, cap_ptr + PCI_PMCSR); in set_devpm_d0()
2221 pci_putw(bus, dev, func, cap_ptr + PCI_PMCSR, pmcsr); in set_devpm_d0()
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcieb.c1880 pwr_p->pwr_pmcsr_offset = cap_ptr + PCI_PMCSR; in pcieb_pwr_setup()
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe_util.c5319 pmcsr = pci_config_get32(conf_handle, pci_cap_ptr + PCI_PMCSR); in gem_pci_set_power_state()
5334 pci_config_put32(conf_handle, pci_cap_ptr + PCI_PMCSR, pmcsr); in gem_pci_set_power_state()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcp.c2095 PCI_PMCSR), in emlxs_power_up()
/illumos-gate/usr/src/uts/common/io/sata/adapters/ahci/
H A Dahci.c4328 ahci_ctlp->ahcictl_pmcsr_offset = caps_ptr + PCI_PMCSR; in ahci_config_space_init()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c13477 mpt->m_pmcsr_offset = caps_ptr + PCI_PMCSR; in mptsas_get_pci_cap()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c2345 csr = (uint8_t)ql_pci_config_get8(ha, PCI_CONF_CAP_PTR) + PCI_PMCSR; in ql_power()