Home
last modified time | relevance | path

Searched refs:PCI_CAP_GET16 (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Dpci_intr_lib.c121 if ((*msi_ctrl = PCI_CAP_GET16(*h, 0, *caps_ptr, in pci_get_msi_ctrl()
133 if ((*msi_ctrl = PCI_CAP_GET16(*h, 0, *caps_ptr, in pci_get_msi_ctrl()
220 PCI_CAP_GET16(h, 0, caps_ptr, PCI_MSI_CTRL))); in pci_msi_configure()
239 "= %x\n", PCI_CAP_GET16(h, 0, caps_ptr, in pci_msi_configure()
245 "= %x\n", PCI_CAP_GET16(h, 0, caps_ptr, in pci_msi_configure()
321 "= %x\n", PCI_CAP_GET16(h, 0, caps_ptr, PCI_MSI_CTRL))); in pci_msi_unconfigure()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpcix.c66 if ((pcix_cmd = PCI_CAP_GET16(handle, 0, pcix_cap_ptr, 2)) in pcix_set_cmd_reg()
H A Dpci_pci.c1082 pmcap = PCI_CAP_GET16(conf_hdl, 0, ppb->ppb_pm_cap_ptr, in ppb_pwr_setup()
1242 if ((pmcsr = PCI_CAP_GET16(ppb->ppb_conf_hdl, 0, in pci_pwr_current_lvl()
1319 if ((pmcsr = PCI_CAP_GET16(ppb->ppb_conf_hdl, 0, in ppb_pwr()
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dppt.c738 devsts = PCI_CAP_GET16(hdl, 0, cap_ptr, PCIE_DEVSTS); in ppt_wait_for_pending_txn()
753 devsts = PCI_CAP_GET16(hdl, 0, cap_ptr, PCIE_DEVSTS); in ppt_wait_for_pending_txn()
791 if ((PCI_CAP_GET16(hdl, 0, cap_ptr, PCIE_PCIECAP) & in ppt_max_completion_tmo_us()
799 timo = timo_ranges[PCI_CAP_GET16(hdl, 0, cap_ptr, PCIE_DEVCTL2) & in ppt_max_completion_tmo_us()
854 ctl = PCI_CAP_GET16(hdl, 0, cap_ptr, PCIE_DEVCTL); in ppt_flr()
1102 val = PCI_CAP_GET16(cfg, 0, cap_ptr, PCI_PMCSR); in ppt_reset_pci_power_state()
/illumos-gate/usr/src/uts/common/sys/
H A Dpci_cap.h80 #define PCI_CAP_GET16(h, i, b, o) ((uint16_t) \ macro
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcieb.c445 sdip_dev_ctrl = PCI_CAP_GET16(cfg_hdl, 0, cap_ptr, in pcieb_41210_mps_wkrnd()
1300 pcie_msi_off = PCI_CAP_GET16(bus_p->bus_cfg_hdl, 0, in pcieb_intr_init()
1881 pmcap = PCI_CAP_GET16(conf_hdl, 0, cap_ptr, PCI_PMCAP); in pcieb_pwr_setup()
H A Dpcie.c2740 port_type = PCI_CAP_GET16(config_handle, 0, cap_ptr, in pcie_root_port()
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_common.c245 cap_ctrl = PCI_CAP_GET16(handle, 0, msi_cap_base, in pci_common_intr_ops()
255 cap_ctrl = PCI_CAP_GET16(handle, 0, msix_cap_base, in pci_common_intr_ops()
/illumos-gate/usr/src/uts/sun4/io/
H A Dpcicfg.c594 int port_type = PCI_CAP_GET16(handle, 0, cap_ptr, in pcicfg_get_nslots()
598 (PCI_CAP_GET16(handle, 0, cap_ptr, PCIE_PCIECAP) in pcicfg_get_nslots()
669 port_type = PCI_CAP_GET16(handle, 0, in pcicfg_pcie_port_type()
3534 val = PCI_CAP_GET16(config_handle, 0, cap_ptr, in pcicfg_set_standard_props()
3976 regs->devctl = devctl = PCI_CAP_GET16(h, 0, cap_ptr, in pcicfg_disable_bridge_probe_err()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon.c4597 if ((msix_ctrl = PCI_CAP_GET16(pci_cfg_hdl, 0, caps_ctrl, in get_msix_ctrl()
4656 if ((msix_ctrl = PCI_CAP_GET16(pci_cfg_hdl, 0, caps_ctrl, in hermon_set_msix_info()
4785 if ((msix_ctrl = PCI_CAP_GET16(pci_cfg_hdl, 0, in hermon_intr_disable()
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c3021 if ((msi_ctrl = PCI_CAP_GET16(pci_cfg_hdl, 0, in tavor_intr_disable()