Searched refs:rngc (Results 1 – 1 of 1) sorted by relevance
23 int regc, rngc; in prom_adjust_regs() local26 for (rngc = 0; rngc < nranges; rngc++) in prom_adjust_regs()27 if (regp[regc].which_io == rangep[rngc].ot_child_space) in prom_adjust_regs()29 if (rngc == nranges) /* oops */ in prom_adjust_regs()31 regp[regc].which_io = rangep[rngc].ot_parent_space; in prom_adjust_regs()32 regp[regc].phys_addr -= rangep[rngc].ot_child_base; in prom_adjust_regs()33 regp[regc].phys_addr += rangep[rngc].ot_parent_base; in prom_adjust_regs()