Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/at91/
Dclk-slow.c26 struct clk_sam9260_slow *slowck = to_clk_sam9260_slow(hw); in clk_sam9260_slow_get_parent() local
29 regmap_read(slowck->regmap, AT91_PMC_SR, &status); in clk_sam9260_slow_get_parent()
44 struct clk_sam9260_slow *slowck; in at91_clk_register_sam9260_slow() local
55 slowck = kzalloc(sizeof(*slowck), GFP_KERNEL); in at91_clk_register_sam9260_slow()
56 if (!slowck) in at91_clk_register_sam9260_slow()
65 slowck->hw.init = &init; in at91_clk_register_sam9260_slow()
66 slowck->regmap = regmap; in at91_clk_register_sam9260_slow()
68 hw = &slowck->hw; in at91_clk_register_sam9260_slow()
69 ret = clk_hw_register(NULL, &slowck->hw); in at91_clk_register_sam9260_slow()
71 kfree(slowck); in at91_clk_register_sam9260_slow()
Dsckc.c277 struct clk_sam9x5_slow *slowck = to_clk_sam9x5_slow(hw); in clk_sam9x5_slow_set_parent() local
278 void __iomem *sckcr = slowck->sckcr; in clk_sam9x5_slow_set_parent()
286 if ((!index && !(tmp & slowck->bits->cr_oscsel)) || in clk_sam9x5_slow_set_parent()
287 (index && (tmp & slowck->bits->cr_oscsel))) in clk_sam9x5_slow_set_parent()
291 tmp |= slowck->bits->cr_oscsel; in clk_sam9x5_slow_set_parent()
293 tmp &= ~slowck->bits->cr_oscsel; in clk_sam9x5_slow_set_parent()
307 struct clk_sam9x5_slow *slowck = to_clk_sam9x5_slow(hw); in clk_sam9x5_slow_get_parent() local
309 return !!(readl(slowck->sckcr) & slowck->bits->cr_oscsel); in clk_sam9x5_slow_get_parent()
324 struct clk_sam9x5_slow *slowck; in at91_clk_register_sam9x5_slow() local
332 slowck = kzalloc(sizeof(*slowck), GFP_KERNEL); in at91_clk_register_sam9x5_slow()
[all …]