Searched refs:pci_config_get16 (Results 1 - 25 of 133) sorted by relevance

123456

/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_osdep.c35 return (pci_config_get16(OS_DEP(hw)->cfg_handle, reg));
H A Dixgbe_debug.c188 pci_config_get16(handle, PCI_CONF_VENID));
191 pci_config_get16(handle, PCI_CONF_DEVID));
194 pci_config_get16(handle, PCI_CONF_COMM));
197 pci_config_get16(handle, PCI_CONF_STAT));
248 pci_config_get16(handle, PCI_CONF_SUBVENID));
251 pci_config_get16(handle, PCI_CONF_SUBSYSID));
286 pci_config_get16(handle, offset + PCI_PMCAP));
289 pci_config_get16(handle, offset + PCI_PMCSR));
310 pci_config_get16(handle, offset + PCI_MSI_CTRL));
319 pci_config_get16(handl
[all...]
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_debug.c63 pci_config_get16(handle, PCI_CONF_VENID));
66 pci_config_get16(handle, PCI_CONF_DEVID));
69 pci_config_get16(handle, PCI_CONF_COMM));
72 pci_config_get16(handle, PCI_CONF_STAT));
123 pci_config_get16(handle, PCI_CONF_SUBVENID));
126 pci_config_get16(handle, PCI_CONF_SUBSYSID));
161 pci_config_get16(handle, offset + PCI_PMCAP));
164 pci_config_get16(handle, offset + PCI_PMCSR));
185 pci_config_get16(handle, offset + PCI_MSI_CTRL));
194 pci_config_get16(handl
[all...]
H A Digb_osdep.c58 pci_config_get16(OS_DEP(hw)->cfg_handle, reg);
78 *value = pci_config_get16(OS_DEP(hw)->cfg_handle,
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_pci.c60 stat = pci_config_get16(sp->s_pci_handle, PCI_CONF_STAT);
131 sp->s_pci_venid = pci_config_get16(sp->s_pci_handle, PCI_CONF_VENID);
132 sp->s_pci_devid = pci_config_get16(sp->s_pci_handle, PCI_CONF_DEVID);
140 pciecap = pci_config_get16(sp->s_pci_handle, off + PCIE_PCIECAP);
143 linksts = pci_config_get16(sp->s_pci_handle, off + PCIE_LINKSTS);
184 devctl = pci_config_get16(sp->s_pci_handle, off + PCIE_DEVCTL);
/illumos-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe_misc.c120 if ((pci_config_get16(cfg_hdl, PCI_CONF_VENID) == NVIDIA_VENDOR_ID) &&
121 (pci_config_get16(cfg_hdl, PCI_CONF_DEVID) ==
125 cya1 = pci_config_get16(cfg_hdl, NVIDIA_CK804_VEND_CYA1_OFF);
155 uint16_t vendor_id = pci_config_get16(cfg_hdl, PCI_CONF_VENID);
156 uint16_t dev_id = pci_config_get16(cfg_hdl, PCI_CONF_DEVID);
175 uint16_t vendor_id = pci_config_get16(cfg_hdl, PCI_CONF_VENID);
176 uint16_t dev_id = pci_config_get16(cfg_hdl, PCI_CONF_DEVID);
285 reg = pci_config_get16(cfg_hdl, ptr + PCI_CAP_ID_REGS_OFF);
/illumos-gate/usr/src/uts/common/io/
H A Dpci_cap.c61 status = pci_config_get16(h, PCI_CONF_STAT);
77 if ((pcix_cmd = pci_config_get16(h, base +
130 status = pci_config_get16(h, PCI_CONF_STAT);
173 status = pci_config_get16(h, PCI_CONF_STAT);
212 status = pci_config_get16(h, PCI_CONF_STAT);
234 (pci_config_get16(h, base + PCI_CAP_ID_REGS_OFF) &
273 data = pci_config_get16(h, offset);
H A Dpci_intr_lib.c1029 savereg = pci_config_get16(cfg_hdl, PCI_CONF_COMM);
1038 statreg = pci_config_get16(cfg_hdl, PCI_CONF_STAT);
1044 cmdreg = pci_config_get16(cfg_hdl, PCI_CONF_COMM);
1085 cmdreg = pci_config_get16(cfg_hdl, PCI_CONF_COMM);
1117 cmdreg = pci_config_get16(cfg_hdl, PCI_CONF_COMM);
1151 statreg = pci_config_get16(cfg_hdl, PCI_CONF_STAT);
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_debug.c383 pci_config_get16(handle, PCI_CONF_VENID));
386 pci_config_get16(handle, PCI_CONF_DEVID));
389 pci_config_get16(handle, PCI_CONF_COMM));
392 pci_config_get16(handle, PCI_CONF_STAT));
430 pci_config_get16(handle, PCI_CONF_SUBVENID));
433 pci_config_get16(handle, PCI_CONF_SUBSYSID));
468 pci_config_get16(handle, offset + PCI_PMCAP));
471 pci_config_get16(handle, offset + PCI_PMCSR));
492 pci_config_get16(handle, offset + PCI_MSI_CTRL));
501 pci_config_get16(handl
[all...]
H A De1000g_osdep.c55 pci_config_get16(OS_DEP(hw)->cfg_handle, reg);
111 *value = pci_config_get16(OS_DEP(hw)->cfg_handle,
/illumos-gate/usr/src/uts/i86xpv/io/psm/
H A Dxpv_intr.c266 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL);
288 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL);
296 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSIX_CTRL);
319 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL);
343 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSIX_CTRL);
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_cfg.c1540 uint16_t word16 = pci_config_get16(handle, PCI_CONF_COMM);
2392 pci_config_get16(config_handle, PCI_CONF_VENID));
2395 pci_config_get16(config_handle, PCI_CONF_DEVID));
2591 pci_config_get16(config_handle, PCI_CONF_VENID));
2594 pci_config_get16(config_handle, PCI_CONF_DEVID));
2767 pci_config_get16(config_handle, 0x40),
2768 pci_config_get16(config_handle, 0x42));
2772 pci_config_get16(config_handle, 0x44),
2773 pci_config_get16(config_handle, 0x46));
2777 pci_config_get16(config_handl
[all...]
H A Dcardbus_hp.c1690 { "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" },
/illumos-gate/usr/src/uts/i86pc/io/fipe/
H A Dfipe_drv.c205 venid = pci_config_get16(handle, PCI_CONF_VENID);
206 devid = pci_config_get16(handle, PCI_CONF_DEVID);
207 subvenid = pci_config_get16(handle, PCI_CONF_SUBVENID);
208 subsysid = pci_config_get16(handle, PCI_CONF_SUBSYSID);
/illumos-gate/usr/src/uts/common/os/
H A Dsunpci.c72 pci_config_get16(ddi_acc_handle_t handle, off_t offset) 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(confhd
[all...]
H A Dpcifm.c142 pcix_bdg_regs->pcix_bdg_sec_stat = pci_config_get16(
175 pcix_regs->pcix_command = pci_config_get16(erpt_p->pe_hdl,
203 pci_regs->pci_err_status = pci_config_get16(erpt_p->pe_hdl,
208 pci_regs->pci_cfg_comm = pci_config_get16(erpt_p->pe_hdl,
218 pci_config_get16(erpt_p->pe_hdl, PCI_BCNF_SEC_STATUS);
223 pci_config_get16(erpt_p->pe_hdl, PCI_BCNF_BCNTRL);
368 pcix_bdg_regs->pcix_bdg_ver = pci_config_get16(erpt_p->pe_hdl,
384 pcix_regs->pcix_ver = pci_config_get16(erpt_p->pe_hdl,
431 pci_status = pci_config_get16(erpt_p->pe_hdl, PCI_CONF_STAT);
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c397 pci_config_get16(config_handle, PCI_CONF_VENID));
399 pci_config_get16(config_handle, PCI_CONF_DEVID));
401 pci_config_get16(config_handle, PCI_CONF_COMM));
403 pci_config_get16(config_handle, PCI_CONF_STAT));
443 pci_config_get16(config_handle, PCI_CONF_SUBVENID));
445 pci_config_get16(config_handle, PCI_CONF_SUBSYSID));
480 pci_config_get16(config_handle, PCI_BCNF_SEC_STATUS));
482 pci_config_get16(config_handle, PCI_BCNF_MEM_BASE));
484 pci_config_get16(config_handle, PCI_BCNF_MEM_LIMIT));
486 pci_config_get16(config_handl
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dadapter.c54 *val = pci_config_get16(sc->pci_regh, reg);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_hw.c222 dev->vendor_id = pci_config_get16(dev->pci_cfg_handle,
224 dev->device_id = pci_config_get16(dev->pci_cfg_handle,
226 dev->subsys_id = pci_config_get16(dev->pci_cfg_handle,
228 dev->subvendor_id = pci_config_get16(dev->pci_cfg_handle,
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dsimba.c788 command = pci_config_get16(config_handle, PCI_CONF_COMM);
802 pci_config_get16(config_handle, PCI_BCNF_BCNTRL);
935 statep->command = pci_config_get16(ch, PCI_CONF_COMM);
939 pci_config_get16(ch, PCI_BCNF_BCNTRL);
950 if (pci_config_get16(ch, PCI_CONF_VENID) == PCI_SIMBA_VENID &&
951 pci_config_get16(ch, PCI_CONF_DEVID) == PCI_SIMBA_DEVID) {
960 pci_config_get16(ch, PCI_BCNF_BCNTRL);
1021 if (pci_config_get16(ch, PCI_CONF_VENID) == PCI_SIMBA_VENID &&
1022 pci_config_get16(ch, PCI_CONF_DEVID) == PCI_SIMBA_DEVID) {
H A Ddb21554.c1075 regval = pci_config_get16(dbp->conf_handle, (off_t)DB_CONF_CONF_CSR);
1085 regval = pci_config_get16(dbp->conf_handle,
1146 regval = pci_config_get16(dbp->conf_handle,
1154 regval = pci_config_get16(dbp->conf_handle,
1616 ph->venid = pci_config_get16(config_handle, hdr_off + PCI_CONF_VENID);
1617 ph->devid = pci_config_get16(config_handle, hdr_off + PCI_CONF_DEVID);
1618 ph->command = pci_config_get16(config_handle, hdr_off + PCI_CONF_COMM);
1619 ph->status = pci_config_get16(config_handle, hdr_off + PCI_CONF_STAT);
1641 ph->sub_venid = pci_config_get16(config_handle,
1643 ph->sub_devid = pci_config_get16(config_handl
[all...]
/illumos-gate/usr/src/uts/sun4/io/
H A Dpcicfg.c426 pci_config_get16(config_handle, PCI_CONF_VENID));
428 pci_config_get16(config_handle, PCI_CONF_DEVID));
430 pci_config_get16(config_handle, PCI_CONF_COMM));
432 pci_config_get16(config_handle, PCI_CONF_STAT));
472 pci_config_get16(config_handle, PCI_CONF_SUBVENID));
474 pci_config_get16(config_handle, PCI_CONF_SUBSYSID));
510 pci_config_get16(config_handle, PCI_BCNF_SEC_STATUS));
512 pci_config_get16(config_handle, PCI_BCNF_MEM_BASE));
514 pci_config_get16(config_handle, PCI_BCNF_MEM_LIMIT));
516 pci_config_get16(config_handl
[all...]
/illumos-gate/usr/src/uts/intel/io/pciex/
H A Dpcieb_x86.c507 data = (uint32_t)pci_config_get16(cfg_hdl,
514 value = (uint32_t)pci_config_get16(cfg_hdl,
629 regw = pci_config_get16(cfg_hdl, PCI_CONF_COMM);
/illumos-gate/usr/src/uts/intel/io/agpgart/
H A Dagptarget.c133 value = (uint8_t)(pci_config_get16(pci_handle, PCI_CONF_STAT)
225 value = pci_config_get16(softstate->tsoft_pcihdl,
509 softstate->tsoft_gms = pci_config_get16(softstate->tsoft_pcihdl,
755 value = pci_config_get16(st->tsoft_pcihdl,
/illumos-gate/usr/src/uts/i86pc/io/
H A Dconsplat.c304 data16 = pci_config_get16(pci_conf, PCI_BCNF_BCNTRL);
347 data16 = pci_config_get16(pci_conf, PCI_CONF_COMM);

Completed in 95 milliseconds

123456