Lines Matching refs:cnt_regs
241 struct linux_prom_registers cnt_regs[PROMREG_MAX]; in sun4m_init_timers() local
254 (void *) cnt_regs, sizeof(cnt_regs)); in sun4m_init_timers()
258 prom_apply_obio_ranges(cnt_regs, reg_count); in sun4m_init_timers()
260 cnt_regs[4].phys_addr = cnt_regs[reg_count-1].phys_addr; in sun4m_init_timers()
261 cnt_regs[4].reg_size = cnt_regs[reg_count-1].reg_size; in sun4m_init_timers()
262 cnt_regs[4].which_io = cnt_regs[reg_count-1].which_io; in sun4m_init_timers()
264 cnt_regs[obio_node].phys_addr = in sun4m_init_timers()
265 cnt_regs[obio_node-1].phys_addr + PAGE_SIZE; in sun4m_init_timers()
266 cnt_regs[obio_node].reg_size = cnt_regs[obio_node-1].reg_size; in sun4m_init_timers()
267 cnt_regs[obio_node].which_io = cnt_regs[obio_node-1].which_io; in sun4m_init_timers()
272 r.flags = cnt_regs[0].which_io; in sun4m_init_timers()
273 r.start = cnt_regs[0].phys_addr; in sun4m_init_timers()
278 r.flags = cnt_regs[4].which_io; in sun4m_init_timers()
279 r.start = cnt_regs[4].phys_addr; in sun4m_init_timers()
280 sbus_ioremap(&r, 0, cnt_regs[4].reg_size, "sun4m_sys_cnt"); in sun4m_init_timers()