Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/versatile/
H A Dclk-sp810.c32 struct clk_sp810_timerclken timerclken[4]; 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()
80 return sp810->timerclken[clkspec->args[0]].clk; in clk_sp810_timerclken_of_get()
118 sp810->timerclken[i].sp810 = sp810; in clk_sp810_of_setup()
119 sp810->timerclken[i].channel = i; in clk_sp810_of_setup()
120 sp810->timerclken[i].hw.init = &init; in clk_sp810_of_setup()
129 init.ops->set_parent(&sp810->timerclken[i].hw, 1); in clk_sp810_of_setup()
131 sp810->timerclken[i].clk = clk_register(NULL, in clk_sp810_of_setup()
132 &sp810->timerclken[i].hw); in clk_sp810_of_setup()
[all …]