Lines Matching refs:write_fn
49 static void (*write_fn)(u32, void __iomem *); variable
73 write_fn(read_fn(timer_baseaddr + TCSR0) & ~TCSR_ENT, 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()
100 write_fn(TCSR_TINT|TCSR_ENIT|TCSR_ENT|TCSR_ARHT|TCSR_UDT, 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()
114 write_fn(TCSR_TINT|TCSR_ENIT|TCSR_ENT|TCSR_ARHT|TCSR_UDT, in xilinx_timer0_start_oneshot()
153 write_fn(read_fn(timer_baseaddr + TCSR0), timer_baseaddr + TCSR0); in timer_ack()
237 write_fn(read_fn(timer_baseaddr + TCSR1) & ~TCSR_ENT, in xilinx_clocksource_init()
240 write_fn(TCSR_TINT|TCSR_ENT|TCSR_ARHT, timer_baseaddr + TCSR1); in xilinx_clocksource_init()
269 write_fn = timer_write32; in xilinx_timer_init()
272 write_fn(TCSR_MDT, timer_baseaddr + TCSR0); in xilinx_timer_init()
274 write_fn = timer_write32_be; in xilinx_timer_init()