Lines Matching full:ref_clk
104 static void __init ar724x_clk_init(struct clk *ref_clk, void __iomem *pll_base) in ar724x_clk_init() argument
124 struct clk *ref_clk; in ar724x_clocks_init() local
126 ref_clk = ath79_add_sys_clkdev("ref", AR724X_BASE_FREQ); in ar724x_clocks_init()
128 ar724x_clk_init(ref_clk, ath79_pll_base); in ar724x_clocks_init()
139 static void __init ar9330_clk_init(struct clk *ref_clk, void __iomem *pll_base) in ar9330_clk_init() argument
199 struct clk *ref_clk; in ar933x_clocks_init() local
209 ref_clk = ath79_add_sys_clkdev("ref", ref_rate); in ar933x_clocks_init()
211 ar9330_clk_init(ref_clk, ath79_pll_base); in ar933x_clocks_init()
681 struct clk *ref_clk; in ath79_clocks_init_dt_ng() local
684 ref_clk = of_clk_get(np, 0); in ath79_clocks_init_dt_ng()
685 if (IS_ERR(ref_clk)) { in ath79_clocks_init_dt_ng()
697 ar724x_clk_init(ref_clk, pll_base); in ath79_clocks_init_dt_ng()
699 ar9330_clk_init(ref_clk, pll_base); in ath79_clocks_init_dt_ng()
716 clk_put(ref_clk); in ath79_clocks_init_dt_ng()