Searched refs:timer_baseaddr (Results 1 – 2 of 2) sorted by relevance
/linux/arch/microblaze/kernel/ |
H A D | timer.c | 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() [all …]
|
/linux/drivers/clocksource/ |
H A D | timer-cadence-ttc.c | 485 void __iomem *timer_baseaddr; in ttc_timer_probe() local 502 timer_baseaddr = devm_of_iomap(&pdev->dev, timer, 0, NULL); in ttc_timer_probe() 503 if (IS_ERR(timer_baseaddr)) { in ttc_timer_probe() 505 return PTR_ERR(timer_baseaddr); in ttc_timer_probe() 516 clksel = readl_relaxed(timer_baseaddr + TTC_CLK_CNTRL_OFFSET); in ttc_timer_probe() 524 clksel = readl_relaxed(timer_baseaddr + 4 + TTC_CLK_CNTRL_OFFSET); in ttc_timer_probe() 533 ret = ttc_setup_clocksource(clk_cs, timer_baseaddr, timer_width); in ttc_timer_probe() 537 ret = ttc_setup_clockevent(clk_ce, timer_baseaddr + 4, irq); in ttc_timer_probe() 541 pr_info("%pOFn #0 at %p, irq=%d\n", timer, timer_baseaddr, irq); in ttc_timer_probe()
|