Searched refs:cfg_handle (Results 1 - 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_osdep.c35 return (pci_config_get16(OS_DEP(hw)->cfg_handle, reg));
41 pci_config_put16(OS_DEP(hw)->cfg_handle, reg, val);
H A Dixgbe_osdep.h152 ddi_acc_handle_t cfg_handle; member in struct:ixgbe_osdep
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_osdep.c51 pci_config_put16(OS_DEP(hw)->cfg_handle, reg, *value);
58 pci_config_get16(OS_DEP(hw)->cfg_handle, reg);
74 status = pci_lcap_locate((OS_DEP(hw))->cfg_handle, pcie_id, &pcie_cap);
78 *value = pci_config_get16(OS_DEP(hw)->cfg_handle,
98 status = pci_lcap_locate(OS_DEP(hw)->cfg_handle, pcie_id, &pcie_cap);
102 pci_config_put16(OS_DEP(hw)->cfg_handle,
H A De1000_osdep.h181 ddi_acc_handle_t cfg_handle; member in struct:igb_osdep
H A Digb_debug.c57 handle = igb->osdep.cfg_handle;
H A Digb_main.c474 if (pci_config_setup(devinfo, &osdep->cfg_handle) != DDI_SUCCESS) {
543 if (igb_check_acc_handle(igb->osdep.cfg_handle) != DDI_FM_OK) {
816 if (igb->osdep.cfg_handle != NULL)
817 pci_config_teardown(&igb->osdep.cfg_handle);
895 pci_config_get16(osdep->cfg_handle, PCI_CONF_VENID);
897 pci_config_get16(osdep->cfg_handle, PCI_CONF_DEVID);
899 pci_config_get8(osdep->cfg_handle, PCI_CONF_REVID);
901 pci_config_get16(osdep->cfg_handle, PCI_CONF_SUBSYSID);
903 pci_config_get16(osdep->cfg_handle, PCI_CONF_SUBVENID);
1643 if (igb_check_acc_handle(igb->osdep.cfg_handle) !
[all...]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_osdep.c48 pci_config_put16(OS_DEP(hw)->cfg_handle, reg, *value);
55 pci_config_get16(OS_DEP(hw)->cfg_handle, reg);
111 *value = pci_config_get16(OS_DEP(hw)->cfg_handle,
130 status = pci_lcap_locate(OS_DEP(hw)->cfg_handle, pcie_id, &pcie_cap);
134 pci_config_put16(OS_DEP(hw)->cfg_handle,
H A De1000_osdep.h214 ddi_acc_handle_t cfg_handle; member in struct:e1000g_osdep
H A De1000g_debug.c377 handle = Adapter->osdep.cfg_handle;
541 ddi_acc_handle_t handle = Adapter->osdep.cfg_handle;
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/hostbridge/
H A Dhb_mdesc.h50 uint64_t cfg_handle; /* bus address */ member in struct:md_rc
H A Dhb_sun4v.c336 dnode1 = find_dnode(rcs, rcp->cfg_handle);
379 dnode1 = find_dnode(rcs, rcp->cfg_handle);
387 hbnode[nhbnode], rcp->id, rcp->cfg_handle);
H A Dhb_mdesc.c145 hbp->rcs[nrcs].cfg_handle = x;
/illumos-gate/usr/src/uts/i86xpv/io/psm/
H A Dxpv_uppc.c669 ddi_acc_handle_t cfg_handle; local
700 if (pci_config_setup(dip, &cfg_handle) != DDI_SUCCESS)
703 ipin = pci_config_get8(cfg_handle, PCI_CONF_IPIN) - PCI_INTA;
704 iline = pci_config_get8(cfg_handle, PCI_CONF_ILINE);
728 pci_config_put8(cfg_handle,
731 pci_config_teardown(&cfg_handle);
735 pci_config_teardown(&cfg_handle);
H A Dmp_platform_xpv.c731 ddi_acc_handle_t cfg_handle; local
804 if (pci_config_setup(dip, &cfg_handle) != DDI_SUCCESS)
806 ipin = pci_config_get8(cfg_handle, PCI_CONF_IPIN) - PCI_INTA;
807 pci_config_teardown(&cfg_handle);
/illumos-gate/usr/src/uts/common/io/
H A Dpcic.c853 &pcic->cfg_handle) !=
891 (void *)pcic->cfg_handle, nr);
913 ddi_regs_map_free(&pcic->cfg_handle);
929 ddi_regs_map_free(&pcic->cfg_handle);
964 ddi_regs_map_free(&pcic->cfg_handle);
980 ddi_regs_map_free(&pcic->cfg_handle);
1010 ddi_regs_map_free(&pcic->cfg_handle);
1069 iline = cardbus_validate_iline(dip, pcic->cfg_handle);
1076 cfg = ddi_get8(pcic->cfg_handle,
1134 cfg = ddi_get8(pcic->cfg_handle,
[all...]
/illumos-gate/usr/src/uts/i86pc/io/psm/
H A Duppc.c856 ddi_acc_handle_t cfg_handle; local
887 if (pci_config_setup(dip, &cfg_handle) != DDI_SUCCESS)
890 ipin = pci_config_get8(cfg_handle, PCI_CONF_IPIN) - PCI_INTA;
891 iline = pci_config_get8(cfg_handle, PCI_CONF_ILINE);
914 pci_config_put8(cfg_handle,
917 pci_config_teardown(&cfg_handle);
921 pci_config_teardown(&cfg_handle);
H A Dpsm_common.c347 ddi_acc_handle_t cfg_handle; local
350 if (pci_config_setup(dip, &cfg_handle) == DDI_SUCCESS) {
351 rv = ((pci_config_get8(cfg_handle, PCI_CONF_BASCLASS) ==
352 PCI_CLASS_BRIDGE) && (pci_config_get8(cfg_handle,
354 pci_config_teardown(&cfg_handle);
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_chip2.c187 regval = pci_config_get16(bgep->cfg_handle, regno);
193 pci_config_put16(bgep->cfg_handle, regno, regval);
209 regval = pci_config_get32(bgep->cfg_handle, regno);
215 pci_config_put32(bgep->cfg_handle, regno, regval);
250 pci_config_put32(bgep->cfg_handle, PCI_CONF_BGE_RIAAR, regno);
251 val = pci_config_get32(bgep->cfg_handle, PCI_CONF_BGE_RIADR);
277 pci_config_put32(bgep->cfg_handle, PCI_CONF_BGE_RIAAR, regno);
278 pci_config_put32(bgep->cfg_handle, PCI_CONF_BGE_RIADR, val);
293 pcistatus = pci_config_get16(bgep->cfg_handle, PCI_CONF_STAT);
360 handle = bgep->cfg_handle;
[all...]
H A Dbge_main2.c597 (void) bge_check_acc_handle(bgep, bgep->cfg_handle);
604 (void) bge_check_acc_handle(bgep, bgep->cfg_handle);
614 if (bge_check_acc_handle(bgep, bgep->cfg_handle) != DDI_FM_OK) {
667 (void) bge_check_acc_handle(bgep, bgep->cfg_handle);
695 (void) bge_check_acc_handle(bgep, bgep->cfg_handle);
716 if (bge_check_acc_handle(bgep, bgep->cfg_handle) != DDI_FM_OK) {
1372 bgep->cfg_handle);
1390 bgep->cfg_handle);
1401 if (bge_check_acc_handle(bgep, bgep->cfg_handle) != DDI_FM_OK) {
1445 (void) bge_check_acc_handle(bgep, bgep->cfg_handle);
[all...]
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_chip.c707 chip->is_pcie = pci_lcap_locate(rgep->cfg_handle,
730 pci_config_put8(rgep->cfg_handle, PCI_CONF_LATENCY_TIMER, 0x40);
803 handle = rgep->cfg_handle;
1767 regval = pci_config_get8(rgep->cfg_handle, regno);
1771 regval = pci_config_get16(rgep->cfg_handle, regno);
1775 regval = pci_config_get32(rgep->cfg_handle, regno);
1779 regval = pci_config_get64(rgep->cfg_handle, regno);
1803 pci_config_put8(rgep->cfg_handle, regno, regval);
1807 pci_config_put16(rgep->cfg_handle, regno, regval);
1811 pci_config_put32(rgep->cfg_handle, regn
[all...]
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_chip.c125 regval = pci_config_get8(ngep->cfg_handle, regno);
129 regval = pci_config_get16(ngep->cfg_handle, regno);
133 regval = pci_config_get32(ngep->cfg_handle, regno);
137 regval = pci_config_get64(ngep->cfg_handle, regno);
162 pci_config_put8(ngep->cfg_handle, regno, regval);
166 pci_config_put16(ngep->cfg_handle, regno, regval);
170 pci_config_put32(ngep->cfg_handle, regno, regval);
174 pci_config_put64(ngep->cfg_handle, regno, regval);
600 handle = ngep->cfg_handle;
1033 pci_config_put8(ngep->cfg_handle, PCI_CONF_CACHE_LINES
[all...]
/illumos-gate/usr/src/uts/common/io/hme/
H A Dhme.c1054 ddi_acc_handle_t cfg_handle; local
1083 0, 0, &hmep->hme_dev_attr, &cfg_handle)) {
1090 ddi_put16(cfg_handle, &cfg_ptr->command,
1097 rom_bar = ddi_get32(cfg_handle, &cfg_ptr->base30);
1098 ddi_put32(cfg_handle, &cfg_ptr->base30, rom_bar | 1);
1106 ddi_regs_map_free(&cfg_handle);
1115 ddi_regs_map_free(&cfg_handle);
1169 ddi_acc_handle_t cfg_handle; local
1399 0, 0, &hmep->hme_dev_attr, &cfg_handle)) {
1407 hm_rev = ddi_get8(cfg_handle,
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dmp_platform_common.c1357 ddi_acc_handle_t cfg_handle; local
1366 (pci_config_setup(dipp, &cfg_handle) != DDI_SUCCESS))
1368 if ((pci_config_get8(cfg_handle, PCI_CONF_BASCLASS) ==
1369 PCI_CLASS_BRIDGE) && (pci_config_get8(cfg_handle,
1371 pci_config_teardown(&cfg_handle);
1395 pci_config_teardown(&cfg_handle);
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_impl.h233 ddi_acc_handle_t cfg_handle; /* MMIO PCI Config Space Regs */ member in struct:oce_dev
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_main.c1963 ddi_acc_handle_t cfg_handle; local
1977 cfg_handle = nxgep->dev_regs->nxge_pciregh;
1987 NXGE_PIO_READ16(cfg_handle, &cfg_ptr->vendorid, 0),
1988 NXGE_PIO_READ16(cfg_handle, &cfg_ptr->devid, 0)));
1992 NXGE_PIO_READ32(cfg_handle, &cfg_ptr->base, 0),
1993 NXGE_PIO_READ32(cfg_handle, &cfg_ptr->base14, 0),
1994 NXGE_PIO_READ32(cfg_handle, &cfg_ptr->base18, 0),
1995 NXGE_PIO_READ32(cfg_handle, &cfg_ptr->base1c, 0)));
1999 NXGE_PIO_READ32(cfg_handle, &cfg_ptr->base20, 0),
2000 NXGE_PIO_READ32(cfg_handle,
[all...]

Completed in 187 milliseconds

12