Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/clocksource/
Dtimer-pistachio.c54 static struct pistachio_clocksource pcs_gpt; variable
92 return pistachio_clocksource_read_cycles(&pcs_gpt.cs); in pistachio_read_sched_clock()
138 static struct pistachio_clocksource pcs_gpt = { variable
158 pcs_gpt.base = of_iomap(node, 0); in pistachio_clksrc_of_init()
159 if (!pcs_gpt.base) { in pistachio_clksrc_of_init()
205 gpt_writel(pcs_gpt.base, 0, TIMER_IRQ_MASK, 0); in pistachio_clksrc_of_init()
206 gpt_writel(pcs_gpt.base, 0, TIMER_IRQ_MASK, 1); in pistachio_clksrc_of_init()
207 gpt_writel(pcs_gpt.base, 0, TIMER_IRQ_MASK, 2); in pistachio_clksrc_of_init()
208 gpt_writel(pcs_gpt.base, 0, TIMER_IRQ_MASK, 3); in pistachio_clksrc_of_init()
211 writel(TIMER_ME_GLOBAL, pcs_gpt.base); in pistachio_clksrc_of_init()
[all …]