Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/sun4u/io/pci/
H A Dpcix.c68 if ((pcix_cmd = PCI_CAP_GET16(handle, NULL, pcix_cap_ptr, 2)) in pcix_set_cmd_reg()
H A Dpci_pci.c1082 pmcap = PCI_CAP_GET16(conf_hdl, NULL, ppb->ppb_pm_cap_ptr, in ppb_pwr_setup()
1242 if ((pmcsr = PCI_CAP_GET16(ppb->ppb_conf_hdl, NULL, in pci_pwr_current_lvl()
1319 if ((pmcsr = PCI_CAP_GET16(ppb->ppb_conf_hdl, NULL, in ppb_pwr()
/titanic_44/usr/src/uts/common/io/
H A Dpci_intr_lib.c121 if ((*msi_ctrl = PCI_CAP_GET16(*h, NULL, *caps_ptr, in pci_get_msi_ctrl()
133 if ((*msi_ctrl = PCI_CAP_GET16(*h, NULL, *caps_ptr, in pci_get_msi_ctrl()
220 PCI_CAP_GET16(h, NULL, caps_ptr, PCI_MSI_CTRL))); in pci_msi_configure()
240 "= %x\n", PCI_CAP_GET16(h, NULL, caps_ptr, in pci_msi_configure()
247 "= %x\n", PCI_CAP_GET16(h, NULL, caps_ptr, in pci_msi_configure()
325 "= %x\n", PCI_CAP_GET16(h, NULL, caps_ptr, PCI_MSI_CTRL))); in pci_msi_unconfigure()
/titanic_44/usr/src/uts/common/sys/
H A Dpci_cap.h80 #define PCI_CAP_GET16(h, i, b, o) ((uint16_t) \ macro
/titanic_44/usr/src/uts/common/io/pciex/
H A Dpcieb.c328 sdip_dev_ctrl = PCI_CAP_GET16(cfg_hdl, NULL, cap_ptr, in pcieb_41210_mps_wkrnd()
1169 hp_msi_off = PCI_CAP_GET16(bus_p->bus_cfg_hdl, NULL, in pcieb_intr_init()
1576 pmcap = PCI_CAP_GET16(conf_hdl, NULL, cap_ptr, PCI_PMCAP); in pcieb_pwr_setup()
H A Dpcie.c1744 rp_cap = PCI_CAP_GET16(bus_p->bus_cfg_hdl, NULL, in pcie_init_root_port_mps()
1937 max_supported = PCI_CAP_GET16(config_handle, NULL, cap_ptr, in pcie_get_max_supported()
1985 port_type = PCI_CAP_GET16(config_handle, NULL, cap_ptr, in pcie_root_port()
/titanic_44/usr/src/uts/i86pc/io/pci/
H A Dpci_common.c244 cap_ctrl = PCI_CAP_GET16(handle, 0, msi_cap_base, in pci_common_intr_ops()
254 cap_ctrl = PCI_CAP_GET16(handle, 0, msix_cap_base, in pci_common_intr_ops()
/titanic_44/usr/src/uts/sun4/io/
H A Dpcicfg.c593 int port_type = PCI_CAP_GET16(handle, NULL, cap_ptr, in pcicfg_get_nslots()
597 (PCI_CAP_GET16(handle, NULL, cap_ptr, PCIE_PCIECAP) in pcicfg_get_nslots()
668 port_type = PCI_CAP_GET16(handle, NULL, in pcicfg_pcie_port_type()
3540 val = PCI_CAP_GET16(config_handle, NULL, cap_ptr, in pcicfg_set_standard_props()
3972 regs->devctl = devctl = PCI_CAP_GET16(h, NULL, cap_ptr, in pcicfg_disable_bridge_probe_err()
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon.c4597 if ((msix_ctrl = PCI_CAP_GET16(pci_cfg_hdl, NULL, caps_ctrl, in get_msix_ctrl()
4656 if ((msix_ctrl = PCI_CAP_GET16(pci_cfg_hdl, NULL, caps_ctrl, in hermon_set_msix_info()
4785 if ((msix_ctrl = PCI_CAP_GET16(pci_cfg_hdl, NULL, in hermon_intr_disable()
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c3443 if ((msi_ctrl = PCI_CAP_GET16(pci_cfg_hdl, NULL, in tavor_intr_disable()