Searched refs:dev_regs (Results 1 – 12 of 12) sorted by relevance
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_main.c | 985 if (nxgep == NULL || nxgep->dev_regs == NULL) { in nxge_unattach() 1181 p_dev_regs_t dev_regs; in nxge_map_regs() local 1199 nxgep->dev_regs = NULL; in nxge_map_regs() 1200 dev_regs = KMEM_ZALLOC(sizeof (dev_regs_t), KM_SLEEP); in nxge_map_regs() 1201 dev_regs->nxge_regh = NULL; in nxge_map_regs() 1202 dev_regs->nxge_pciregh = NULL; in nxge_map_regs() 1203 dev_regs->nxge_msix_regh = NULL; in nxge_map_regs() 1204 dev_regs->nxge_vir_regh = NULL; in nxge_map_regs() 1205 dev_regs->nxge_vir2_regh = NULL; in nxge_map_regs() 1265 (caddr_t *)&(dev_regs->nxge_pciregp), 0, 0, in nxge_map_regs() [all …]
|
H A D | nxge_hio_guest.c | 73 nxge->dev_regs = KMEM_ZALLOC(sizeof (dev_regs_t), KM_SLEEP); in nxge_guest_regs_map() 74 regs = nxge->dev_regs; in nxge_guest_regs_map() 131 if (nxge->dev_regs) { in nxge_guest_regs_map_free() 132 if (nxge->dev_regs->nxge_regh) { in nxge_guest_regs_map_free() 135 ddi_regs_map_free(&nxge->dev_regs->nxge_regh); in nxge_guest_regs_map_free() 136 nxge->dev_regs->nxge_regh = NULL; in nxge_guest_regs_map_free() 138 kmem_free(nxge->dev_regs, sizeof (dev_regs_t)); in nxge_guest_regs_map_free() 139 nxge->dev_regs = 0; in nxge_guest_regs_map_free()
|
H A D | nxge_hw.c | 925 nxge_regh = nxgep->dev_regs->nxge_regh; in nxge_get32() 928 nxgep->dev_regs->nxge_regp, *(uint32_t *)mp->b_rptr); in nxge_get32() 944 nxge_regh = nxgep->dev_regs->nxge_regh; in nxge_put32() 947 reg = (uint8_t *)(nxgep->dev_regs->nxge_regp) + buf[0]; in nxge_put32() 1229 if (fm_check_acc_handle(nxgep->dev_regs->nxge_regh) != DDI_FM_OK) { in nxge_check_hw_state()
|
H A D | nxge_ndd.c | 2293 (void *)nxgep, (void *)nxgep->dev_regs); in nxge_param_dump_ptrs() 2301 (void *)nxgep->dev_regs->nxge_regp, in nxge_param_dump_ptrs() 2302 (void *)nxgep->dev_regs->nxge_pciregp); in nxge_param_dump_ptrs() 2311 base = (uint64_t)nxgep->dev_regs->nxge_regp; in nxge_param_dump_ptrs()
|
/illumos-gate/usr/src/uts/sun4u/daktari/os/ |
H A D | daktari.c | 178 int *dev_regs; /* Info about where the device is. */ in daktari_dev_search() local 190 DDI_PROP_DONTPASS, "reg", &dev_regs, &len); in daktari_dev_search() 200 if (dev_regs[0] == 0 && dev_regs[1] == 0x82) { in daktari_dev_search() 202 ddi_prop_free(dev_regs); in daktari_dev_search() 205 ddi_prop_free(dev_regs); in daktari_dev_search()
|
/illumos-gate/usr/src/uts/sun4u/cherrystone/os/ |
H A D | cherrystone.c | 193 int *dev_regs; /* Info about where the device is. */ in cherry_dev_search() local 201 DDI_PROP_DONTPASS, "reg", &dev_regs, &len); in cherry_dev_search() 211 if (dev_regs[0] == 0 && dev_regs[1] == 0x82) { in cherry_dev_search() 213 ddi_prop_free(dev_regs); in cherry_dev_search() 216 ddi_prop_free(dev_regs); in cherry_dev_search()
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_main.c | 680 if (hxgep == NULL || hxgep->dev_regs == NULL) { in hxge_unattach() 747 p_dev_regs_t dev_regs; in hxge_map_regs() local 764 hxgep->dev_regs = NULL; in hxge_map_regs() 765 dev_regs = KMEM_ZALLOC(sizeof (dev_regs_t), KM_SLEEP); in hxge_map_regs() 766 dev_regs->hxge_regh = NULL; in hxge_map_regs() 767 dev_regs->hxge_pciregh = NULL; in hxge_map_regs() 768 dev_regs->hxge_msix_regh = NULL; in hxge_map_regs() 775 (caddr_t *)&(dev_regs->hxge_pciregp), 0, 0, in hxge_map_regs() 776 &hxge_dev_reg_acc_attr, &dev_regs->hxge_pciregh); in hxge_map_regs() 785 dev_regs->hxge_pciregp, in hxge_map_regs() [all …]
|
H A D | hxge_ndd.c | 1182 (void *)hxgep, (void *)hxgep->dev_regs); in hxge_param_dump_ptrs() 1188 (void *)hxgep->dev_regs->hxge_regp, in hxge_param_dump_ptrs() 1189 (void *)hxgep->dev_regs->hxge_pciregp); in hxge_param_dump_ptrs() 1198 base = (uint64_t)hxgep->dev_regs->hxge_regp; in hxge_param_dump_ptrs()
|
H A D | hxge.h | 297 p_dev_regs_t dev_regs; member
|
H A D | hxge_hw.c | 692 if (fm_check_acc_handle(hxgep->dev_regs->hxge_regh) != DDI_FM_OK) { in hxge_check_hw_state()
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_common_impl.h | 301 ddi_check_acc_handle(nxgep->dev_regs->nxge_regh)
|
H A D | nxge.h | 638 p_dev_regs_t dev_regs; member
|