Lines Matching refs:timer_baseaddr
24 static void __iomem *timer_baseaddr; variable
73 write_fn(read_fn(timer_baseaddr + TCSR0) & ~TCSR_ENT, in xilinx_timer0_stop()
74 timer_baseaddr + TCSR0); in xilinx_timer0_stop()
82 write_fn(load_val, timer_baseaddr + TLR0); in xilinx_timer0_start_periodic()
85 write_fn(TCSR_LOAD, timer_baseaddr + TCSR0); in xilinx_timer0_start_periodic()
101 timer_baseaddr + TCSR0); in xilinx_timer0_start_periodic()
109 write_fn(load_val, timer_baseaddr + TLR0); in xilinx_timer0_start_oneshot()
112 write_fn(TCSR_LOAD, timer_baseaddr + TCSR0); in xilinx_timer0_start_oneshot()
115 timer_baseaddr + TCSR0); in xilinx_timer0_start_oneshot()
153 write_fn(read_fn(timer_baseaddr + TCSR0), timer_baseaddr + TCSR0); in timer_ack()
183 return read_fn(timer_baseaddr + TCR1); in xilinx_clock_read()
237 write_fn(read_fn(timer_baseaddr + TCSR1) & ~TCSR_ENT, in xilinx_clocksource_init()
238 timer_baseaddr + TCSR1); in xilinx_clocksource_init()
240 write_fn(TCSR_TINT|TCSR_ENT|TCSR_ARHT, timer_baseaddr + TCSR1); in xilinx_clocksource_init()
263 timer_baseaddr = of_iomap(timer, 0); in xilinx_timer_init()
264 if (!timer_baseaddr) { in xilinx_timer_init()
272 write_fn(TCSR_MDT, timer_baseaddr + TCSR0); in xilinx_timer_init()
273 if (!(read_fn(timer_baseaddr + TCSR0) & TCSR_MDT)) { in xilinx_timer_init()