Home
last modified time | relevance | path

Searched refs:dev_regs (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_main.c985 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 Dnxge_hio_guest.c73 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 Dnxge_hw.c925 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 Dnxge_ndd.c2293 (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 Ddaktari.c178 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 Dcherrystone.c193 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 Dhxge_main.c680 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 Dhxge_ndd.c1182 (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 Dhxge.h297 p_dev_regs_t dev_regs; member
H A Dhxge_hw.c692 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 Dnxge_common_impl.h301 ddi_check_acc_handle(nxgep->dev_regs->nxge_regh)
H A Dnxge.h638 p_dev_regs_t dev_regs; member