Searched refs:slowck (Results 1 – 3 of 3) sorted by relevance
31 struct clk_sam9260_slow *slowck = to_clk_sam9260_slow(hw); in clk_sam9260_slow_get_parent() local34 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() local60 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()
293 struct clk_sam9x5_slow *slowck = to_clk_sam9x5_slow(hw); in clk_sam9x5_slow_set_parent() local294 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() local322 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() local344 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 …]
1392 clk32k: slowck {