Lines Matching refs:ebus_rp
88 ebus_regspec_t *ebus_rp, vregspec_t *rp);
463 ebus_regspec_t *ebus_rp, *ebus_regs; in ebus_map() local
485 ebus_rp = (ebus_regspec_t *)mp->map_obj.rp; in ebus_map()
510 ebus_rp = &ebus_regs[rnumber]; in ebus_map()
519 ebus_rp->addr_low += off; in ebus_map()
521 ebus_rp->size = len; in ebus_map()
523 rval = ebus_apply_range(ebus_p, rdip, ebus_rp, &vreg); in ebus_map()
554 ebus_regspec_t *ebus_rp, vregspec_t *rp) { in ebus_apply_range() argument
558 uint32_t req_addr = ebus_rp->addr_low; in ebus_apply_range()
570 ebus_rp->addr_hi, req_addr, ebus_rp->size); in ebus_apply_range()
579 if (ebus_rp->addr_hi != rng_caddr_hi) in ebus_apply_range()
586 if ((req_addr + ebus_rp->size - 1) in ebus_apply_range()
603 preg_cell_p[preg_rec_sz-1] = min(ebus_rp->size, in ebus_apply_range()
624 ebus_regspec_t *ebus_rp; in ebus_name_child() local
632 "reg", (caddr_t)&ebus_rp, ®len) != DDI_SUCCESS) { in ebus_name_child()
636 (void) snprintf(name, namelen, "%x,%x", ebus_rp->addr_hi, in ebus_name_child()
637 ebus_rp->addr_low); in ebus_name_child()
638 kmem_free(ebus_rp, reglen); in ebus_name_child()
662 ebus_regspec_t *ebus_rp; in ebus_ctlops() local
709 if (getprop(rdip, "reg", &ebus_rp, &i) != DDI_SUCCESS) { in ebus_ctlops()
716 kmem_free(ebus_rp, i); in ebus_ctlops()
719 *((off_t *)result) = ebus_rp[*(int *)arg].size; in ebus_ctlops()
720 kmem_free(ebus_rp, i); in ebus_ctlops()
727 if (getprop(rdip, "reg", &ebus_rp, &i) != DDI_SUCCESS) { in ebus_ctlops()
732 kmem_free(ebus_rp, i); in ebus_ctlops()