Lines Matching +full:static +full:- +full:enable
1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/clk-provider.h>
11 #include <dt-bindings/clock/bcm-ns2.h>
12 #include "clk-iproc.h"
31 static const struct iproc_pll_ctrl genpll_scr = {
43 static const struct iproc_clk_ctrl genpll_scr_clk[] = {
51 .enable = ENABLE_VAL(0x0, 18, 12, 0),
57 .enable = ENABLE_VAL(0x0, 19, 13, 0),
63 .enable = ENABLE_VAL(0x0, 20, 14, 0),
69 .enable = ENABLE_VAL(0x0, 21, 15, 0),
75 .enable = ENABLE_VAL(0x0, 22, 16, 0),
81 .enable = ENABLE_VAL(0x0, 23, 17, 0),
86 static void __init ns2_genpll_scr_clk_init(struct device_node *node) in ns2_genpll_scr_clk_init()
91 CLK_OF_DECLARE(ns2_genpll_src_clk, "brcm,ns2-genpll-scr",
94 static const struct iproc_pll_ctrl genpll_sw = {
105 static const struct iproc_clk_ctrl genpll_sw_clk[] = {
113 .enable = ENABLE_VAL(0x0, 18, 12, 0),
119 .enable = ENABLE_VAL(0x0, 19, 13, 0),
125 .enable = ENABLE_VAL(0x0, 20, 14, 0),
131 .enable = ENABLE_VAL(0x0, 21, 15, 0),
137 .enable = ENABLE_VAL(0x0, 22, 16, 0),
143 .enable = ENABLE_VAL(0x0, 23, 17, 0),
148 static void __init ns2_genpll_sw_clk_init(struct device_node *node) in ns2_genpll_sw_clk_init()
153 CLK_OF_DECLARE(ns2_genpll_sw_clk, "brcm,ns2-genpll-sw",
156 static const struct iproc_pll_ctrl lcpll_ddr = {
167 static const struct iproc_clk_ctrl lcpll_ddr_clk[] = {
175 .enable = ENABLE_VAL(0x0, 18, 12, 0),
181 .enable = ENABLE_VAL(0x0, 19, 13, 0),
187 .enable = ENABLE_VAL(0x0, 20, 14, 0),
193 .enable = ENABLE_VAL(0x0, 21, 15, 0),
199 .enable = ENABLE_VAL(0x0, 22, 16, 0),
205 .enable = ENABLE_VAL(0x0, 23, 17, 0),
210 static void __init ns2_lcpll_ddr_clk_init(struct device_node *node) in ns2_lcpll_ddr_clk_init()
215 CLK_OF_DECLARE(ns2_lcpll_ddr_clk, "brcm,ns2-lcpll-ddr",
218 static const struct iproc_pll_ctrl lcpll_ports = {
229 static const struct iproc_clk_ctrl lcpll_ports_clk[] = {
237 .enable = ENABLE_VAL(0x0, 18, 12, 0),
243 .enable = ENABLE_VAL(0x0, 19, 13, 0),
249 .enable = ENABLE_VAL(0x0, 20, 14, 0),
255 .enable = ENABLE_VAL(0x0, 21, 15, 0),
261 .enable = ENABLE_VAL(0x0, 22, 16, 0),
267 .enable = ENABLE_VAL(0x0, 23, 17, 0),
272 static void __init ns2_lcpll_ports_clk_init(struct device_node *node) in ns2_lcpll_ports_clk_init()
277 CLK_OF_DECLARE(ns2_lcpll_ports_clk, "brcm,ns2-lcpll-ports",