Home
last modified time | relevance | path

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

/linux/drivers/clk/at91/
A 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()
A Dsckc.c309 return !!(readl(slowck->sckcr) & slowck->bits->cr_oscsel); in clk_sam9x5_slow_get_parent()
332 slowck = kzalloc(sizeof(*slowck), GFP_KERNEL); in at91_clk_register_sam9x5_slow()
333 if (!slowck) in at91_clk_register_sam9x5_slow()
344 slowck->bits = bits; in at91_clk_register_sam9x5_slow()
345 slowck->parent = !!(readl(sckcr) & slowck->bits->cr_oscsel); in at91_clk_register_sam9x5_slow()
347 hw = &slowck->hw; in at91_clk_register_sam9x5_slow()
350 kfree(slowck); in at91_clk_register_sam9x5_slow()
362 kfree(slowck); in at91_clk_unregister_sam9x5_slow()
411 if (IS_ERR(slowck)) in at91sam9x5_sckc_register()
417 slowck); in at91sam9x5_sckc_register()
[all …]

Completed in 5 milliseconds