Home
last modified time | relevance | path

Searched refs:rngc (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/arch/sparc/prom/
Dranges.c23 int regc, rngc; in prom_adjust_regs() local
26 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()
/linux-2.4.37.9/arch/sparc64/kernel/
Dcentral.c61 int regc, rngc; in adjust_regs() local
64 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()
Dtime.c868 int rngc; in clock_probe() local
870 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()