/titanic_44/usr/src/uts/common/io/igb/ |
H A D | igb_debug.c | 63 pci_config_get16(handle, PCI_CONF_VENID)); in pci_dump() 66 pci_config_get16(handle, PCI_CONF_DEVID)); in pci_dump() 69 pci_config_get16(handle, PCI_CONF_COMM)); in pci_dump() 72 pci_config_get16(handle, PCI_CONF_STAT)); in pci_dump() 123 pci_config_get16(handle, PCI_CONF_SUBVENID)); in pci_dump() 126 pci_config_get16(handle, PCI_CONF_SUBSYSID)); in pci_dump() 161 pci_config_get16(handle, offset + PCI_PMCAP)); in pci_dump() 164 pci_config_get16(handle, offset + PCI_PMCSR)); in pci_dump() 185 pci_config_get16(handle, offset + PCI_MSI_CTRL)); in pci_dump() 194 pci_config_get16(handle, offset + 0xC)); in pci_dump() [all …]
|
H A D | igb_osdep.c | 58 pci_config_get16(OS_DEP(hw)->cfg_handle, reg); in e1000_read_pci_cfg() 78 *value = pci_config_get16(OS_DEP(hw)->cfg_handle, in e1000_read_pcie_cap_reg()
|
/titanic_44/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_debug.c | 188 pci_config_get16(handle, PCI_CONF_VENID)); in ixgbe_pci_dump() 191 pci_config_get16(handle, PCI_CONF_DEVID)); in ixgbe_pci_dump() 194 pci_config_get16(handle, PCI_CONF_COMM)); in ixgbe_pci_dump() 197 pci_config_get16(handle, PCI_CONF_STAT)); in ixgbe_pci_dump() 248 pci_config_get16(handle, PCI_CONF_SUBVENID)); in ixgbe_pci_dump() 251 pci_config_get16(handle, PCI_CONF_SUBSYSID)); in ixgbe_pci_dump() 286 pci_config_get16(handle, offset + PCI_PMCAP)); in ixgbe_pci_dump() 289 pci_config_get16(handle, offset + PCI_PMCSR)); in ixgbe_pci_dump() 310 pci_config_get16(handle, offset + PCI_MSI_CTRL)); in ixgbe_pci_dump() 319 pci_config_get16(handle, offset + 0xC)); in ixgbe_pci_dump() [all …]
|
H A D | ixgbe_osdep.c | 35 return (pci_config_get16(OS_DEP(hw)->cfg_handle, reg)); in ixgbe_read_pci_cfg()
|
/titanic_44/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_debug.c | 383 pci_config_get16(handle, PCI_CONF_VENID)); in pciconfig_dump() 386 pci_config_get16(handle, PCI_CONF_DEVID)); in pciconfig_dump() 389 pci_config_get16(handle, PCI_CONF_COMM)); in pciconfig_dump() 392 pci_config_get16(handle, PCI_CONF_STAT)); in pciconfig_dump() 430 pci_config_get16(handle, PCI_CONF_SUBVENID)); in pciconfig_dump() 433 pci_config_get16(handle, PCI_CONF_SUBSYSID)); in pciconfig_dump() 468 pci_config_get16(handle, offset + PCI_PMCAP)); in pciconfig_dump() 471 pci_config_get16(handle, offset + PCI_PMCSR)); in pciconfig_dump() 492 pci_config_get16(handle, offset + PCI_MSI_CTRL)); in pciconfig_dump() 501 pci_config_get16(handle, offset + 0xC)); in pciconfig_dump() [all …]
|
H A D | e1000g_osdep.c | 55 pci_config_get16(OS_DEP(hw)->cfg_handle, reg); in e1000_read_pci_cfg() 111 *value = pci_config_get16(OS_DEP(hw)->cfg_handle, in e1000_read_pcie_cap_reg()
|
/titanic_44/usr/src/uts/i86pc/io/pciex/ |
H A D | npe_misc.c | 120 if ((pci_config_get16(cfg_hdl, PCI_CONF_VENID) == NVIDIA_VENDOR_ID) && in npe_ck804_fix_aer_ptr() 121 (pci_config_get16(cfg_hdl, PCI_CONF_DEVID) == in npe_ck804_fix_aer_ptr() 125 cya1 = pci_config_get16(cfg_hdl, NVIDIA_CK804_VEND_CYA1_OFF); in npe_ck804_fix_aer_ptr() 155 uint16_t vendor_id = pci_config_get16(cfg_hdl, PCI_CONF_VENID); in npe_nvidia_error_workaround() 156 uint16_t dev_id = pci_config_get16(cfg_hdl, PCI_CONF_DEVID); in npe_nvidia_error_workaround() 175 uint16_t vendor_id = pci_config_get16(cfg_hdl, PCI_CONF_VENID); in npe_intel_error_workaround() 176 uint16_t dev_id = pci_config_get16(cfg_hdl, PCI_CONF_DEVID); in npe_intel_error_workaround() 285 reg = pci_config_get16(cfg_hdl, ptr + PCI_CAP_ID_REGS_OFF); in npe_enable_htmsi()
|
/titanic_44/usr/src/uts/common/io/cardbus/ |
H A D | cardbus_cfg.c | 1540 uint16_t word16 = pci_config_get16(handle, PCI_CONF_COMM); in cardbus_update_bridge() 2392 pci_config_get16(config_handle, PCI_CONF_VENID)); in cardbus_probe_bridge() 2395 pci_config_get16(config_handle, PCI_CONF_DEVID)); in cardbus_probe_bridge() 2591 pci_config_get16(config_handle, PCI_CONF_VENID)); in cardbus_probe_children() 2594 pci_config_get16(config_handle, PCI_CONF_DEVID)); in cardbus_probe_children() 2767 pci_config_get16(config_handle, 0x40), in cardbus_probe_children() 2768 pci_config_get16(config_handle, 0x42)); in cardbus_probe_children() 2772 pci_config_get16(config_handle, 0x44), in cardbus_probe_children() 2773 pci_config_get16(config_handle, 0x46)); in cardbus_probe_children() 2777 pci_config_get16(config_handle, 0x4a), in cardbus_probe_children() [all …]
|
H A D | cardbus_hp.c | 1690 { "VendorId =", 0, (int(*)())pci_config_get16, "%s 0x%04x" }, 1691 { "DeviceId =", 2, (int(*)())pci_config_get16, "%s 0x%04x" }, 1692 { "Command =", 4, (int(*)())pci_config_get16, "%s 0x%04x" }, 1693 { "Status =", 6, (int(*)())pci_config_get16, "%s 0x%04x" }, 1707 { "VendorId =", 0, (int(*)())pci_config_get16, "%s 0x%04x" }, 1708 { "DeviceId =", 2, (int(*)())pci_config_get16, "%s 0x%04x" }, 1709 { "Command =", 4, (int(*)())pci_config_get16, "%s 0x%04x" }, 1710 { "Status =", 6, (int(*)())pci_config_get16, "%s 0x%04x" }, 1728 { "Bridge Ctrl =", 0x3e, (int(*)())pci_config_get16, "%s 0x%04x" },
|
/titanic_44/usr/src/uts/common/io/ |
H A D | pci_cap.c | 61 status = pci_config_get16(h, PCI_CONF_STAT); in pci_cap_probe() 77 if ((pcix_cmd = pci_config_get16(h, base + in pci_cap_probe() 130 status = pci_config_get16(h, PCI_CONF_STAT); in pci_lcap_locate() 173 status = pci_config_get16(h, PCI_CONF_STAT); in pci_xcap_locate() 212 status = pci_config_get16(h, PCI_CONF_STAT); in pci_htcap_locate() 234 (pci_config_get16(h, base + PCI_CAP_ID_REGS_OFF) & in pci_htcap_locate() 273 data = pci_config_get16(h, offset); in pci_cap_get()
|
H A D | pci_intr_lib.c | 1029 savereg = pci_config_get16(cfg_hdl, PCI_CONF_COMM); in pci_intx_get_cap() 1038 statreg = pci_config_get16(cfg_hdl, PCI_CONF_STAT); in pci_intx_get_cap() 1044 cmdreg = pci_config_get16(cfg_hdl, PCI_CONF_COMM); in pci_intx_get_cap() 1085 cmdreg = pci_config_get16(cfg_hdl, PCI_CONF_COMM); in pci_intx_clr_mask() 1117 cmdreg = pci_config_get16(cfg_hdl, PCI_CONF_COMM); in pci_intx_set_mask() 1151 statreg = pci_config_get16(cfg_hdl, PCI_CONF_STAT); in pci_intx_get_pending()
|
/titanic_44/usr/src/uts/i86xpv/io/psm/ |
H A D | xpv_intr.c | 266 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL); in apic_pci_msi_enable_vector() 288 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL); in apic_pci_msi_disable_mode() 296 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSIX_CTRL); in apic_pci_msi_disable_mode() 319 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL); in apic_pci_msi_enable_mode() 343 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSIX_CTRL); in apic_pci_msi_enable_mode()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | sunpci.c | 72 pci_config_get16(ddi_acc_handle_t handle, off_t offset) in pci_config_get16() function 418 status = pci_config_get16(confhdl, PCI_CONF_STAT); 502 chsp->chs_command = pci_config_get16(confhdl, PCI_CONF_COMM); 508 pci_config_get16(confhdl, PCI_BCNF_BCNTRL); 593 status = pci_config_get16(confhdl, PCI_CONF_STAT); 609 cap_reg = pci_config_get16(confhdl, 677 msi_ctrl = pci_config_get16(confhdl, cap_ptr + PCI_MSI_CTRL); 698 pcix_command = pci_config_get16(confhdl, cap_ptr + PCI_PCIX_COMMAND); 724 reg = pci_config_get16(confhdl, cap_ptr + PCI_CAP_ID_REGS_OFF); 752 reg = pci_config_get16(confhdl, cap_ptr + PCI_CAP_ID_REGS_OFF); [all …]
|
H A D | pcifm.c | 142 pcix_bdg_regs->pcix_bdg_sec_stat = pci_config_get16( in pcix_regs_gather() 175 pcix_regs->pcix_command = pci_config_get16(erpt_p->pe_hdl, in pcix_regs_gather() 203 pci_regs->pci_err_status = pci_config_get16(erpt_p->pe_hdl, in pci_regs_gather() 208 pci_regs->pci_cfg_comm = pci_config_get16(erpt_p->pe_hdl, in pci_regs_gather() 218 pci_config_get16(erpt_p->pe_hdl, PCI_BCNF_SEC_STATUS); in pci_regs_gather() 223 pci_config_get16(erpt_p->pe_hdl, PCI_BCNF_BCNTRL); in pci_regs_gather() 368 pcix_bdg_regs->pcix_bdg_ver = pci_config_get16(erpt_p->pe_hdl, in pcix_ereport_setup() 384 pcix_regs->pcix_ver = pci_config_get16(erpt_p->pe_hdl, in pcix_ereport_setup() 431 pci_status = pci_config_get16(erpt_p->pe_hdl, PCI_CONF_STAT); in pci_ereport_setup()
|
/titanic_44/usr/src/uts/i86pc/io/fipe/ |
H A D | fipe_drv.c | 205 venid = pci_config_get16(handle, PCI_CONF_VENID); in fipe_validate_dip() 206 devid = pci_config_get16(handle, PCI_CONF_DEVID); in fipe_validate_dip() 207 subvenid = pci_config_get16(handle, PCI_CONF_SUBVENID); in fipe_validate_dip() 208 subsysid = pci_config_get16(handle, PCI_CONF_SUBSYSID); in fipe_validate_dip()
|
/titanic_44/usr/src/uts/intel/io/hotplug/pcicfg/ |
H A D | pcicfg.c | 397 pci_config_get16(config_handle, PCI_CONF_VENID)); in pcicfg_dump_common_config() 399 pci_config_get16(config_handle, PCI_CONF_DEVID)); in pcicfg_dump_common_config() 401 pci_config_get16(config_handle, PCI_CONF_COMM)); in pcicfg_dump_common_config() 403 pci_config_get16(config_handle, PCI_CONF_STAT)); in pcicfg_dump_common_config() 443 pci_config_get16(config_handle, PCI_CONF_SUBVENID)); in pcicfg_dump_device_config() 445 pci_config_get16(config_handle, PCI_CONF_SUBSYSID)); in pcicfg_dump_device_config() 480 pci_config_get16(config_handle, PCI_BCNF_SEC_STATUS)); in pcicfg_dump_bridge_config() 482 pci_config_get16(config_handle, PCI_BCNF_MEM_BASE)); in pcicfg_dump_bridge_config() 484 pci_config_get16(config_handle, PCI_BCNF_MEM_LIMIT)); in pcicfg_dump_bridge_config() 486 pci_config_get16(config_handle, PCI_BCNF_PF_BASE_LOW)); in pcicfg_dump_bridge_config() [all …]
|
/titanic_44/usr/src/uts/sun4/io/ |
H A D | pcicfg.c | 426 pci_config_get16(config_handle, PCI_CONF_VENID)); in pcicfg_dump_common_config() 428 pci_config_get16(config_handle, PCI_CONF_DEVID)); in pcicfg_dump_common_config() 430 pci_config_get16(config_handle, PCI_CONF_COMM)); in pcicfg_dump_common_config() 432 pci_config_get16(config_handle, PCI_CONF_STAT)); in pcicfg_dump_common_config() 472 pci_config_get16(config_handle, PCI_CONF_SUBVENID)); in pcicfg_dump_device_config() 474 pci_config_get16(config_handle, PCI_CONF_SUBSYSID)); in pcicfg_dump_device_config() 510 pci_config_get16(config_handle, PCI_BCNF_SEC_STATUS)); in pcicfg_dump_bridge_config() 512 pci_config_get16(config_handle, PCI_BCNF_MEM_BASE)); in pcicfg_dump_bridge_config() 514 pci_config_get16(config_handle, PCI_BCNF_MEM_LIMIT)); in pcicfg_dump_bridge_config() 516 pci_config_get16(config_handle, PCI_BCNF_PF_BASE_LOW)); in pcicfg_dump_bridge_config() [all …]
|
/titanic_44/usr/src/uts/sun4u/io/pci/ |
H A D | simba.c | 788 command = pci_config_get16(config_handle, PCI_CONF_COMM); in simba_initchild() 802 pci_config_get16(config_handle, PCI_BCNF_BCNTRL); in simba_initchild() 935 statep->command = pci_config_get16(ch, PCI_CONF_COMM); in simba_save_config_regs() 939 pci_config_get16(ch, PCI_BCNF_BCNTRL); in simba_save_config_regs() 950 if (pci_config_get16(ch, PCI_CONF_VENID) == PCI_SIMBA_VENID && in simba_save_config_regs() 951 pci_config_get16(ch, PCI_CONF_DEVID) == PCI_SIMBA_DEVID) { in simba_save_config_regs() 960 pci_config_get16(ch, PCI_BCNF_BCNTRL); in simba_save_config_regs() 1021 if (pci_config_get16(ch, PCI_CONF_VENID) == PCI_SIMBA_VENID && in simba_restore_config_regs() 1022 pci_config_get16(ch, PCI_CONF_DEVID) == PCI_SIMBA_DEVID) { in simba_restore_config_regs()
|
H A D | db21554.c | 1075 regval = pci_config_get16(dbp->conf_handle, (off_t)DB_CONF_CONF_CSR); in db_enable_io() 1085 regval = pci_config_get16(dbp->conf_handle, in db_enable_io() 1146 regval = pci_config_get16(dbp->conf_handle, in db_enable_io() 1154 regval = pci_config_get16(dbp->conf_handle, in db_enable_io() 1616 ph->venid = pci_config_get16(config_handle, hdr_off + PCI_CONF_VENID); in db_pci_get_header() 1617 ph->devid = pci_config_get16(config_handle, hdr_off + PCI_CONF_DEVID); in db_pci_get_header() 1618 ph->command = pci_config_get16(config_handle, hdr_off + PCI_CONF_COMM); in db_pci_get_header() 1619 ph->status = pci_config_get16(config_handle, hdr_off + PCI_CONF_STAT); in db_pci_get_header() 1641 ph->sub_venid = pci_config_get16(config_handle, in db_pci_get_header() 1643 ph->sub_devid = pci_config_get16(config_handle, in db_pci_get_header() [all …]
|
/titanic_44/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt_device.c | 104 smrt->smrt_pci_vendor = pci_config_get16(pci_hdl, PCI_CONF_VENID); in smrt_identify_device() 105 smrt->smrt_pci_device = pci_config_get16(pci_hdl, PCI_CONF_DEVID); in smrt_identify_device()
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_hw.c | 222 dev->vendor_id = pci_config_get16(dev->pci_cfg_handle, in oce_identify_hw() 224 dev->device_id = pci_config_get16(dev->pci_cfg_handle, in oce_identify_hw() 226 dev->subsys_id = pci_config_get16(dev->pci_cfg_handle, in oce_identify_hw() 228 dev->subvendor_id = pci_config_get16(dev->pci_cfg_handle, in oce_identify_hw()
|
/titanic_44/usr/src/uts/intel/io/pciex/ |
H A D | pcieb_x86.c | 507 data = (uint32_t)pci_config_get16(cfg_hdl, in pcieb_intel_serr_workaround() 514 value = (uint32_t)pci_config_get16(cfg_hdl, in pcieb_intel_serr_workaround() 629 regw = pci_config_get16(cfg_hdl, PCI_CONF_COMM); in pcieb_intel_sw_workaround()
|
/titanic_44/usr/src/uts/common/io/audio/drv/audiots/ |
H A D | audiots.c | 589 if ((pci_config_get16(pcih, PCI_CONF_STAT) & PCI_STAT_CAP) == 0) { in audiots_power_up() 611 pmcsr = pci_config_get16(pcih, ptr); in audiots_power_up() 632 pmcsr = pci_config_get16(pcih, ptr); in audiots_power_up() 863 (pci_config_get16(state->ts_pcih, PCI_CONF_VENID) << 16) | in audiots_map_regs() 864 pci_config_get16(state->ts_pcih, PCI_CONF_DEVID); in audiots_map_regs()
|
/titanic_44/usr/src/uts/intel/io/agpgart/ |
H A D | agptarget.c | 133 value = (uint8_t)(pci_config_get16(pci_handle, PCI_CONF_STAT) in agp_target_cap_find() 225 value = pci_config_get16(softstate->tsoft_pcihdl, in agp_target_get_apsize() 509 softstate->tsoft_gms = pci_config_get16(softstate->tsoft_pcihdl, in intel_br_suspend() 755 value = pci_config_get16(st->tsoft_pcihdl, in agp_target_ioctl()
|
/titanic_44/usr/src/uts/i86pc/io/ |
H A D | consplat.c | 304 data16 = pci_config_get16(pci_conf, PCI_BCNF_BCNTRL); in find_fb_dev() 347 data16 = pci_config_get16(pci_conf, PCI_CONF_COMM); in find_fb_dev()
|