Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clk/at91/
Dclk-slow.c31 struct clk_sam9260_slow *slowck = to_clk_sam9260_slow(hw); in clk_sam9260_slow_get_parent() local
34 regmap_read(slowck->regmap, AT91_PMC_SR, &status); in clk_sam9260_slow_get_parent()
49 struct clk_sam9260_slow *slowck; in at91_clk_register_sam9260_slow() local
60 slowck = kzalloc(sizeof(*slowck), GFP_KERNEL); in at91_clk_register_sam9260_slow()
61 if (!slowck) in at91_clk_register_sam9260_slow()
70 slowck->hw.init = &init; in at91_clk_register_sam9260_slow()
71 slowck->regmap = regmap; in at91_clk_register_sam9260_slow()
73 hw = &slowck->hw; in at91_clk_register_sam9260_slow()
74 ret = clk_hw_register(NULL, &slowck->hw); in at91_clk_register_sam9260_slow()
76 kfree(slowck); in at91_clk_register_sam9260_slow()
Dsckc.c293 struct clk_sam9x5_slow *slowck = to_clk_sam9x5_slow(hw); in clk_sam9x5_slow_set_parent() local
294 void __iomem *sckcr = slowck->sckcr; in clk_sam9x5_slow_set_parent()
320 struct clk_sam9x5_slow *slowck = to_clk_sam9x5_slow(hw); in clk_sam9x5_slow_get_parent() local
322 return !!(readl(slowck->sckcr) & AT91_SCKC_OSCSEL); in clk_sam9x5_slow_get_parent()
336 struct clk_sam9x5_slow *slowck; in at91_clk_register_sam9x5_slow() local
344 slowck = kzalloc(sizeof(*slowck), GFP_KERNEL); in at91_clk_register_sam9x5_slow()
345 if (!slowck) in at91_clk_register_sam9x5_slow()
354 slowck->hw.init = &init; in at91_clk_register_sam9x5_slow()
355 slowck->sckcr = sckcr; in at91_clk_register_sam9x5_slow()
356 slowck->parent = !!(readl(sckcr) & AT91_SCKC_OSCSEL); in at91_clk_register_sam9x5_slow()
[all …]
/Linux-v4.19/arch/arm/boot/dts/
Dsama5d3.dtsi1392 clk32k: slowck {