Lines Matching refs:sckcr
31 void __iomem *sckcr; member
40 void __iomem *sckcr; member
50 void __iomem *sckcr; member
61 void __iomem *sckcr; member
71 void __iomem *sckcr = osc->sckcr; in clk_slow_osc_prepare() local
72 u32 tmp = readl(sckcr); in clk_slow_osc_prepare()
77 writel(tmp | osc->bits->cr_osc32en, sckcr); in clk_slow_osc_prepare()
90 void __iomem *sckcr = osc->sckcr; in clk_slow_osc_unprepare() local
91 u32 tmp = readl(sckcr); in clk_slow_osc_unprepare()
96 writel(tmp & ~osc->bits->cr_osc32en, sckcr); in clk_slow_osc_unprepare()
102 void __iomem *sckcr = osc->sckcr; in clk_slow_osc_is_prepared() local
103 u32 tmp = readl(sckcr); in clk_slow_osc_is_prepared()
118 at91_clk_register_slow_osc(void __iomem *sckcr, in at91_clk_register_slow_osc() argument
130 if (!sckcr || !name || !parent_data) in at91_clk_register_slow_osc()
144 osc->sckcr = sckcr; in at91_clk_register_slow_osc()
149 writel((readl(sckcr) & ~osc->bits->cr_osc32en) | in at91_clk_register_slow_osc()
150 osc->bits->cr_osc32byp, sckcr); in at91_clk_register_slow_osc()
189 void __iomem *sckcr = osc->sckcr; in clk_slow_rc_osc_prepare() local
191 writel(readl(sckcr) | osc->bits->cr_rcen, sckcr); in clk_slow_rc_osc_prepare()
204 void __iomem *sckcr = osc->sckcr; in clk_slow_rc_osc_unprepare() local
206 writel(readl(sckcr) & ~osc->bits->cr_rcen, sckcr); in clk_slow_rc_osc_unprepare()
213 return !!(readl(osc->sckcr) & osc->bits->cr_rcen); in clk_slow_rc_osc_is_prepared()
225 at91_clk_register_slow_rc_osc(void __iomem *sckcr, in at91_clk_register_slow_rc_osc() argument
237 if (!sckcr || !name) in at91_clk_register_slow_rc_osc()
251 osc->sckcr = sckcr; in at91_clk_register_slow_rc_osc()
278 void __iomem *sckcr = slowck->sckcr; in clk_sam9x5_slow_set_parent() local
284 tmp = readl(sckcr); in clk_sam9x5_slow_set_parent()
295 writel(tmp, sckcr); in clk_sam9x5_slow_set_parent()
309 return !!(readl(slowck->sckcr) & slowck->bits->cr_oscsel); in clk_sam9x5_slow_get_parent()
319 at91_clk_register_sam9x5_slow(void __iomem *sckcr, in at91_clk_register_sam9x5_slow() argument
330 if (!sckcr || !name || !parent_hws || !num_parents) in at91_clk_register_sam9x5_slow()
344 slowck->sckcr = sckcr; in at91_clk_register_sam9x5_slow()
346 slowck->parent = !!(readl(sckcr) & slowck->bits->cr_oscsel); in at91_clk_register_sam9x5_slow()
554 if ((readl(osc->sckcr) & osc->bits->cr_oscsel)) { in clk_sama5d4_slow_osc_prepare()
623 osc->sckcr = regbase; in of_sama5d4_sckc_setup()