Home
last modified time | relevance | path

Searched refs:tcaddr (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/clocksource/
Dtimer-atmel-tcb.c41 static void __iomem *tcaddr; variable
60 upper = readl_relaxed(tcaddr + ATMEL_TC_REG(1, CV)); in tc_get_cycles()
61 lower = readl_relaxed(tcaddr + ATMEL_TC_REG(0, CV)); in tc_get_cycles()
62 } while (upper != readl_relaxed(tcaddr + ATMEL_TC_REG(1, CV))); in tc_get_cycles()
70 return readl_relaxed(tcaddr + ATMEL_TC_REG(0, CV)); in tc_get_cycles32()
78 tcb_cache[i].cmr = readl(tcaddr + ATMEL_TC_REG(i, CMR)); in tc_clksrc_suspend()
79 tcb_cache[i].imr = readl(tcaddr + ATMEL_TC_REG(i, IMR)); in tc_clksrc_suspend()
80 tcb_cache[i].rc = readl(tcaddr + ATMEL_TC_REG(i, RC)); in tc_clksrc_suspend()
81 tcb_cache[i].clken = !!(readl(tcaddr + ATMEL_TC_REG(i, SR)) & in tc_clksrc_suspend()
85 bmr_cache = readl(tcaddr + ATMEL_TC_BMR); in tc_clksrc_suspend()
[all …]