Searched refs:timer_baseaddr (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/arch/microblaze/kernel/ |
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-v6.6/drivers/clocksource/ |
D | timer-cadence-ttc.c | 473 void __iomem *timer_baseaddr; in ttc_timer_probe() local 490 timer_baseaddr = devm_of_iomap(&pdev->dev, timer, 0, NULL); in ttc_timer_probe() 491 if (IS_ERR(timer_baseaddr)) { in ttc_timer_probe() 493 return PTR_ERR(timer_baseaddr); in ttc_timer_probe() 504 clksel = readl_relaxed(timer_baseaddr + TTC_CLK_CNTRL_OFFSET); in ttc_timer_probe() 512 clksel = readl_relaxed(timer_baseaddr + 4 + TTC_CLK_CNTRL_OFFSET); in ttc_timer_probe() 521 ret = ttc_setup_clocksource(clk_cs, timer_baseaddr, timer_width); in ttc_timer_probe() 525 ret = ttc_setup_clockevent(clk_ce, timer_baseaddr + 4, irq); in ttc_timer_probe() 529 pr_info("%pOFn #0 at %p, irq=%d\n", timer, timer_baseaddr, irq); in ttc_timer_probe()
|