/illumos-gate/usr/src/uts/common/io/ |
H A D | pci_intr_lib.c | 121 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 D | pcix.c | 66 if ((pcix_cmd = PCI_CAP_GET16(handle, 0, pcix_cap_ptr, 2)) in pcix_set_cmd_reg()
|
H A D | pci_pci.c | 1082 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 D | ppt.c | 738 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 D | pci_cap.h | 80 #define PCI_CAP_GET16(h, i, b, o) ((uint16_t) \ macro
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcieb.c | 445 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 D | pcie.c | 2740 port_type = PCI_CAP_GET16(config_handle, 0, cap_ptr, in pcie_root_port()
|
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci_common.c | 245 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 D | pcicfg.c | 594 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 D | hermon.c | 4597 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 D | tavor.c | 3021 if ((msi_ctrl = PCI_CAP_GET16(pci_cfg_hdl, 0, in tavor_intr_disable()
|