Lines Matching defs:rp
335 struct regspec *rp = mp->map_obj.rp;
338 base = (uint64_t)rp->regspec_addr & (~MMU_PAGEOFFSET); /* base addr */
344 pfn = mmu_btop(((uint64_t)(rp->regspec_bustype &
353 if (rp->regspec_size == 0) {
362 pgoffset = (ulong_t)rp->regspec_addr & MMU_PAGEOFFSET;
363 npages = mmu_btopr(rp->regspec_size + pgoffset);
366 "%lu pages physical %x.%lx ", npages, rp->regspec_bustype,
399 struct regspec *rp;
404 rp = mp->map_obj.rp;
407 if (rp->regspec_size == 0) {
414 npages = mmu_btopr(rp->regspec_size + pgoffset);
431 register struct regspec *rp;
471 rp = mp->map_obj.rp;
472 if (rp->regspec_size == 0)
476 hp->ah_pfn = mmu_btop((ulong_t)rp->regspec_addr & (~MMU_PAGEOFFSET));
477 hp->ah_pnum = mmu_btopr(rp->regspec_size +
478 (ulong_t)rp->regspec_addr & MMU_PAGEOFFSET);
486 struct regspec *rp, tmp_reg;
520 rp = i_ddi_rnumber_to_regspec(rdip, rnumber);
521 if (rp == (struct regspec *)0) {
533 mp->map_obj.rp = rp;
542 tmp_reg = *(mp->map_obj.rp); /* Preserve underlying data */
543 rp = mp->map_obj.rp = &tmp_reg; /* Use tmp_reg in request */
545 rp->regspec_addr += (uint_t)offset;
547 rp->regspec_size = (uint_t)len;
559 if ((error = i_ddi_apply_range(dip, rdip, mp->map_obj.rp)) != 0)