Lines Matching refs:child_rp
128 sbbc_child_regspec_t *child_rp, pci_regspec_t *rp);
516 sbbc_child_regspec_t *child_rp, *child_regs;
544 child_rp = (sbbc_child_regspec_t *)mp->map_obj.rp;
570 child_rp = &child_regs[rnumber];
579 child_rp->addr_low += off;
582 child_rp->size = len;
588 rval = sbbc_apply_range(sbbcsoftp, rdip, child_rp, &pci_reg);
822 sbbc_child_regspec_t *child_rp;
850 if (getprop(rdip, "reg", &child_rp, &i) != DDI_SUCCESS) {
855 kmem_free(child_rp, i);
858 *((off_t *)result) = child_rp[*(int *)arg].size;
859 kmem_free(child_rp, i);
864 if (getprop(rdip, "reg", &child_rp, &i) != DDI_SUCCESS) {
868 kmem_free(child_rp, i);
888 sbbc_child_regspec_t *child_rp, pci_regspec_t *rp)
896 "Applying ranges for %s, rangep %llx, child_rp %llx, range %x\n",
897 ddi_driver_name(rdip), sbbc_p->rangep, child_rp, nrange);
904 if (child_rp->addr_hi == rangep->sbbc_phys_hi)
906 if ((child_rp->addr_low >=
908 ((child_rp->addr_low + child_rp->size - 1)
911 uint_t addr_offset = child_rp->addr_low -
925 min(child_rp->size, (rangep->rng_size -
1262 sbbc_child_regspec_t *child_rp;
1275 "reg", (caddr_t)&child_rp, ®len) != DDI_SUCCESS) {
1286 child_rp->addr_hi, child_rp->addr_low, child_rp->size);
1288 (void) sprintf(name, "%x,%x", child_rp->addr_hi, child_rp->addr_low);
1295 kmem_free(child_rp, reglen);