Home
last modified time | relevance | path

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

/drivers/clk/versatile/
Dclk-sp810.c24 struct clk_sp810 *sp810; member
38 u32 val = readl(timerclken->sp810->base + SCCTRL); in clk_sp810_timerclken_get_parent()
46 struct clk_sp810 *sp810 = timerclken->sp810; in clk_sp810_timerclken_set_parent() local
53 spin_lock_irqsave(&sp810->lock, flags); in clk_sp810_timerclken_set_parent()
55 val = readl(sp810->base + SCCTRL); in clk_sp810_timerclken_set_parent()
58 writel(val, sp810->base + SCCTRL); in clk_sp810_timerclken_set_parent()
60 spin_unlock_irqrestore(&sp810->lock, flags); in clk_sp810_timerclken_set_parent()
73 struct clk_sp810 *sp810 = data; in clk_sp810_timerclken_of_get() local
76 clkspec->args[0] >= ARRAY_SIZE(sp810->timerclken))) in clk_sp810_timerclken_of_get()
79 return sp810->timerclken[clkspec->args[0]].clk; in clk_sp810_timerclken_of_get()
[all …]
DMakefile5 obj-$(CONFIG_CLK_SP810) += clk-sp810.o