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