Searched refs:rngc (Results 1 – 3 of 3) 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()
61 int regc, rngc; in adjust_regs() local64 for (rngc = 0; rngc < nranges; rngc++) in adjust_regs()65 if (regp[regc].which_io == rangep[rngc].ot_child_space) in adjust_regs()67 if (rngc == nranges) /* oops */ in adjust_regs()69 regp[regc].which_io = rangep[rngc].ot_parent_space; in adjust_regs()70 regp[regc].phys_addr -= rangep[rngc].ot_child_base; in adjust_regs()71 regp[regc].phys_addr += rangep[rngc].ot_parent_base; in adjust_regs()
868 int rngc; in clock_probe() local870 for (rngc = 0; rngc < nranges; rngc++) in clock_probe()872 sbus_root->sbus_ranges[rngc].ot_child_space) in clock_probe()874 if (rngc == nranges) { in clock_probe()880 sbus_root->sbus_ranges[rngc].ot_parent_space; in clock_probe()882 sbus_root->sbus_ranges[rngc].ot_parent_base; in clock_probe()