Lines Matching refs:write_fn
48 static void (*write_fn)(u32, void __iomem *); variable
72 write_fn(read_fn(timer_baseaddr + TCSR0) & ~TCSR_ENT, in xilinx_timer0_stop()
81 write_fn(load_val, timer_baseaddr + TLR0); in xilinx_timer0_start_periodic()
84 write_fn(TCSR_LOAD, timer_baseaddr + TCSR0); in xilinx_timer0_start_periodic()
99 write_fn(TCSR_TINT|TCSR_ENIT|TCSR_ENT|TCSR_ARHT|TCSR_UDT, in xilinx_timer0_start_periodic()
108 write_fn(load_val, timer_baseaddr + TLR0); in xilinx_timer0_start_oneshot()
111 write_fn(TCSR_LOAD, timer_baseaddr + TCSR0); in xilinx_timer0_start_oneshot()
113 write_fn(TCSR_TINT|TCSR_ENIT|TCSR_ENT|TCSR_ARHT|TCSR_UDT, in xilinx_timer0_start_oneshot()
152 write_fn(read_fn(timer_baseaddr + TCSR0), timer_baseaddr + TCSR0); in timer_ack()
236 write_fn(read_fn(timer_baseaddr + TCSR1) & ~TCSR_ENT, in xilinx_clocksource_init()
239 write_fn(TCSR_TINT|TCSR_ENT|TCSR_ARHT, timer_baseaddr + TCSR1); in xilinx_clocksource_init()
264 write_fn = timer_write32; in xilinx_timer_init()
267 write_fn(TCSR_MDT, timer_baseaddr + TCSR0); in xilinx_timer_init()
269 write_fn = timer_write32_be; in xilinx_timer_init()