Lines Matching refs:reg_p
251 niu_regspec_t *reg_p; in niumx_attach() local
259 DDI_PROP_DONTPASS, "reg", (int **)®_p, ®len) in niumx_attach()
284 niumxds_p->niumx_dev_hdl = (niudevhandle_t)(reg_p->addr_high & in niumx_attach()
312 ddi_prop_free(reg_p); in niumx_attach()
374 niu_regspec_t *reg_p; in niumx_map() local
384 "reg", (caddr_t)®_p, ®len) != DDI_SUCCESS) in niumx_map()
389 kmem_free(reg_p, reglen); in niumx_map()
402 kmem_free(reg_p, reglen); in niumx_map()
408 for (i = 0, reg_p += rn; i < rngnum; rng_p++, i++) { in niumx_map()
409 if (reg_p->addr_high == rng_p->child_hi) in niumx_map()
425 ASSERT(reg_p->size_high == 0); in niumx_map()
428 reg_begin = reg_p->addr_low; in niumx_map()
430 if (reg_begin < rng_begin || (reg_begin + (reg_p->size_low - 1)) > in niumx_map()
439 p_regspec.regspec_size = reg_p->size_low; in niumx_map()
447 kmem_free(reg_p - rn, reglen); in niumx_map()
458 niu_regspec_t *reg_p; in niumx_ctlops() local
493 DDI_PROP_CANSLEEP, "reg", (caddr_t)®_p, ®len) != DDI_SUCCESS) in niumx_ctlops()
505 kmem_free(reg_p, reglen); in niumx_ctlops()
508 *(off_t *)result = (reg_p + rn)->size_low; in niumx_ctlops()
513 kmem_free(reg_p, reglen); in niumx_ctlops()