Lines Matching refs:ap806_clks

26 static struct clk *ap806_clks[AP806_CLK_NUM];  variable
29 .clks = ap806_clks,
176 ap806_clks[0] = clk_register_fixed_rate(dev, name, NULL, in ap806_syscon_common_probe()
178 if (IS_ERR(ap806_clks[0])) { in ap806_syscon_common_probe()
179 ret = PTR_ERR(ap806_clks[0]); in ap806_syscon_common_probe()
184 ap806_clks[1] = clk_register_fixed_rate(dev, name, NULL, 0, in ap806_syscon_common_probe()
186 if (IS_ERR(ap806_clks[1])) { in ap806_syscon_common_probe()
187 ret = PTR_ERR(ap806_clks[1]); in ap806_syscon_common_probe()
193 ap806_clks[2] = clk_register_fixed_rate(dev, fixedclk_name, NULL, in ap806_syscon_common_probe()
195 if (IS_ERR(ap806_clks[2])) { in ap806_syscon_common_probe()
196 ret = PTR_ERR(ap806_clks[2]); in ap806_syscon_common_probe()
202 ap806_clks[3] = clk_register_fixed_factor(NULL, name, fixedclk_name, in ap806_syscon_common_probe()
204 if (IS_ERR(ap806_clks[3])) { in ap806_syscon_common_probe()
205 ret = PTR_ERR(ap806_clks[3]); in ap806_syscon_common_probe()
211 ap806_clks[4] = clk_register_fixed_factor(NULL, name, in ap806_syscon_common_probe()
214 if (IS_ERR(ap806_clks[4])) { in ap806_syscon_common_probe()
215 ret = PTR_ERR(ap806_clks[4]); in ap806_syscon_common_probe()
221 ap806_clks[5] = clk_register_fixed_rate(dev, name, NULL, 0, dclk_freq); in ap806_syscon_common_probe()
222 if (IS_ERR(ap806_clks[5])) { in ap806_syscon_common_probe()
223 ret = PTR_ERR(ap806_clks[5]); in ap806_syscon_common_probe()
234 clk_unregister_fixed_factor(ap806_clks[5]); in ap806_syscon_common_probe()
236 clk_unregister_fixed_factor(ap806_clks[4]); in ap806_syscon_common_probe()
238 clk_unregister_fixed_factor(ap806_clks[3]); in ap806_syscon_common_probe()
240 clk_unregister_fixed_rate(ap806_clks[2]); in ap806_syscon_common_probe()
242 clk_unregister_fixed_rate(ap806_clks[1]); in ap806_syscon_common_probe()
244 clk_unregister_fixed_rate(ap806_clks[0]); in ap806_syscon_common_probe()