Lines Matching +full:static +full:- +full:enable

1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/clk-provider.h>
13 #include <dt-bindings/clock/bcm-cygnus.h>
14 #include "clk-iproc.h"
41 static void __init cygnus_armpll_init(struct device_node *node) in cygnus_armpll_init()
45 CLK_OF_DECLARE(cygnus_armpll, "brcm,cygnus-armpll", cygnus_armpll_init);
47 static const struct iproc_pll_ctrl genpll = {
61 static const struct iproc_clk_ctrl genpll_clk[] = {
65 .enable = ENABLE_VAL(0x4, 6, 0, 12),
71 .enable = ENABLE_VAL(0x4, 7, 1, 13),
77 .enable = ENABLE_VAL(0x4, 8, 2, 14),
83 .enable = ENABLE_VAL(0x4, 9, 3, 15),
89 .enable = ENABLE_VAL(0x4, 10, 4, 16),
95 .enable = ENABLE_VAL(0x4, 11, 5, 17),
100 static void __init cygnus_genpll_clk_init(struct device_node *node) in cygnus_genpll_clk_init()
105 CLK_OF_DECLARE(cygnus_genpll, "brcm,cygnus-genpll", cygnus_genpll_clk_init);
107 static const struct iproc_pll_ctrl lcpll0 = {
119 static const struct iproc_clk_ctrl lcpll0_clk[] = {
123 .enable = ENABLE_VAL(0x0, 7, 1, 13),
129 .enable = ENABLE_VAL(0x0, 8, 2, 14),
135 .enable = ENABLE_VAL(0x0, 9, 3, 15),
141 .enable = ENABLE_VAL(0x0, 10, 4, 16),
147 .enable = ENABLE_VAL(0x0, 11, 5, 17),
153 .enable = ENABLE_VAL(0x0, 12, 6, 18),
158 static void __init cygnus_lcpll0_clk_init(struct device_node *node) in cygnus_lcpll0_clk_init()
163 CLK_OF_DECLARE(cygnus_lcpll0, "brcm,cygnus-lcpll0", cygnus_lcpll0_clk_init);
168 static const struct iproc_pll_vco_param mipipll_vco_params[] = {
183 static const struct iproc_pll_ctrl mipipll = {
197 static const struct iproc_clk_ctrl mipipll_clk[] = {
201 .enable = ENABLE_VAL(0x4, 12, 6, 18),
207 .enable = ENABLE_VAL(0x4, 13, 7, 19),
213 .enable = ENABLE_VAL(0x4, 14, 8, 20),
219 .enable = ENABLE_VAL(0x4, 15, 9, 21),
225 .enable = ENABLE_VAL(0x4, 16, 10, 22),
231 .enable = ENABLE_VAL(0x4, 17, 11, 23),
236 static void __init cygnus_mipipll_clk_init(struct device_node *node) in cygnus_mipipll_clk_init()
242 CLK_OF_DECLARE(cygnus_mipipll, "brcm,cygnus-mipipll", cygnus_mipipll_clk_init);
244 static const struct iproc_asiu_div asiu_div[] = {
250 static const struct iproc_asiu_gate asiu_gate[] = {
256 static void __init cygnus_asiu_init(struct device_node *node) in cygnus_asiu_init()
260 CLK_OF_DECLARE(cygnus_asiu_clk, "brcm,cygnus-asiu-clk", cygnus_asiu_init);
262 static const struct iproc_pll_ctrl audiopll = {
277 static const struct iproc_clk_ctrl audiopll_clk[] = {
281 .enable = ENABLE_VAL(0x14, 8, 10, 9),
287 .enable = ENABLE_VAL(0x18, 8, 10, 9),
293 .enable = ENABLE_VAL(0x1c, 8, 10, 9),
298 static void __init cygnus_audiopll_clk_init(struct device_node *node) in cygnus_audiopll_clk_init()
303 CLK_OF_DECLARE(cygnus_audiopll, "brcm,cygnus-audiopll",