Lines Matching +full:data +full:- +full:shift
1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/clk-provider.h>
11 #include "clk-regmap.h"
12 #include "clk-dualdiv.h"
13 #include "meson-clkc-utils.h"
14 #include <dt-bindings/clock/amlogic,c3-peripherals-clkc.h>
52 .data = &(struct clk_regmap_gate_data) {
72 .data = &(struct meson_clk_dualdiv_data) {
75 .shift = 0,
80 .shift = 12,
85 .shift = 0,
90 .shift = 12,
95 .shift = 28,
116 .data = &(struct clk_regmap_mux_data) {
119 .shift = 24,
131 .data = &(struct clk_regmap_gate_data) {
153 .data = &(struct clk_regmap_mux_data) {
156 .shift = 0,
169 .data = &(struct clk_regmap_gate_data){ \
212 * disabled, cpu_clk and other key CPU-related configurations cannot take effect.
221 * AOCPU. If the clock is disabled, interrupt-related functions will occurs an
334 * |------| |-----| clk_12m_24m |-----|
335 * xtal---->| gate |---->| div |------------>| pad |
336 * |------| |-----| |-----|
339 .data = &(struct clk_regmap_gate_data) {
354 .data = &(struct clk_regmap_div_data) {
356 .shift = 10,
371 .data = &(struct clk_regmap_div_data) {
373 .shift = 0,
387 .data = &(struct clk_regmap_gate_data) {
426 .data = &(struct clk_regmap_mux_data) {
429 .shift = 12,
441 .data = &(struct clk_regmap_div_data) {
443 .shift = 0,
458 .data = &(struct clk_regmap_gate_data) {
479 .data = &(struct clk_regmap_mux_data) {
482 .shift = 9,
493 .data = &(struct clk_regmap_div_data) {
495 .shift = 0,
510 .data = &(struct clk_regmap_gate_data) {
533 .data = &(struct clk_regmap_mux_data) { \
536 .shift = _shift, \
547 .data = &(struct clk_regmap_div_data) { \
549 .shift = _shift, \
562 .data = &(struct clk_regmap_gate_data) { \
685 .data = &(struct clk_regmap_mux_data) {
688 .shift = 7,
699 .data = &(struct clk_regmap_div_data) {
701 .shift = 0,
716 .data = &(struct clk_regmap_gate_data) {
732 .data = &(struct clk_regmap_mux_data) {
735 .shift = 23,
746 .data = &(struct clk_regmap_div_data) {
748 .shift = 16,
763 .data = &(struct clk_regmap_gate_data) {
790 .data = &(struct clk_regmap_mux_data) {
793 .shift = 9,
804 .data = &(struct clk_regmap_div_data) {
806 .shift = 0,
821 .data = &(struct clk_regmap_gate_data) {
848 .data = &(struct clk_regmap_mux_data) {
851 .shift = 9,
862 .data = &(struct clk_regmap_div_data) {
864 .shift = 0,
879 .data = &(struct clk_regmap_gate_data) {
895 .data = &(struct clk_regmap_mux_data) {
898 .shift = 25,
909 .data = &(struct clk_regmap_div_data) {
911 .shift = 16,
926 .data = &(struct clk_regmap_gate_data) {
942 .data = &(struct clk_regmap_mux_data) {
945 .shift = 9,
956 .data = &(struct clk_regmap_div_data) {
958 .shift = 0,
973 .data = &(struct clk_regmap_gate_data) {
989 .data = &(struct clk_regmap_div_data) {
991 .shift = 0,
1005 .data = &(struct clk_regmap_gate_data) {
1036 .data = &(struct clk_regmap_gate_data) {
1052 .data = &(struct clk_regmap_div_data) {
1054 .shift = 0,
1066 .data = &(struct clk_regmap_gate_data) {
1093 .data = &(struct clk_regmap_mux_data) {
1096 .shift = 21,
1107 .data = &(struct clk_regmap_div_data) {
1109 .shift = 12,
1124 .data = &(struct clk_regmap_gate_data) {
1151 .data = &(struct clk_regmap_mux_data) {
1154 .shift = 12,
1165 .data = &(struct clk_regmap_div_data) {
1167 .shift = 0,
1182 .data = &(struct clk_regmap_gate_data) {
1209 .data = &(struct clk_regmap_mux_data) {
1212 .shift = 9,
1223 .data = &(struct clk_regmap_div_data) {
1225 .shift = 0,
1240 .data = &(struct clk_regmap_gate_data) {
1267 .data = &(struct clk_regmap_mux_data) {
1270 .shift = 25,
1281 .data = &(struct clk_regmap_div_data) {
1283 .shift = 16,
1298 .data = &(struct clk_regmap_gate_data) {
1325 .data = &(struct clk_regmap_mux_data) {
1328 .shift = 9,
1339 .data = &(struct clk_regmap_div_data) {
1341 .shift = 0,
1356 .data = &(struct clk_regmap_gate_data) {
1372 .data = &(struct clk_regmap_mux_data) {
1375 .shift = 9,
1386 .data = &(struct clk_regmap_div_data) {
1388 .shift = 0,
1403 .data = &(struct clk_regmap_gate_data) {
1424 .data = &(struct clk_regmap_mux_data) {
1427 .shift = 15,
1450 .data = &(struct clk_regmap_mux_data) {
1453 .shift = 9,
1464 .data = &(struct clk_regmap_div_data) {
1466 .shift = 0,
1481 .data = &(struct clk_regmap_gate_data) {
1497 .data = &(struct clk_regmap_mux_data) {
1500 .shift = 25,
1511 .data = &(struct clk_regmap_div_data) {
1513 .shift = 16,
1528 .data = &(struct clk_regmap_gate_data) {
1555 .data = &(struct clk_regmap_mux_data) {
1558 .shift = 25,
1569 .data = &(struct clk_regmap_div_data) {
1571 .shift = 16,
1586 .data = &(struct clk_regmap_gate_data) {
1613 .data = &(struct clk_regmap_mux_data) {
1616 .shift = 9,
1627 .data = &(struct clk_regmap_div_data) {
1629 .shift = 0,
1644 .data = &(struct clk_regmap_gate_data) {
1671 .data = &(struct clk_regmap_mux_data) {
1674 .shift = 9,
1685 .data = &(struct clk_regmap_div_data) {
1687 .shift = 0,
1702 .data = &(struct clk_regmap_gate_data) {
1729 .data = &(struct clk_regmap_mux_data) {
1732 .shift = 9,
1743 .data = &(struct clk_regmap_div_data) {
1745 .shift = 0,
1760 .data = &(struct clk_regmap_gate_data) {
1787 .data = &(struct clk_regmap_mux_data) {
1790 .shift = 9,
1801 .data = &(struct clk_regmap_div_data) {
1803 .shift = 0,
1818 .data = &(struct clk_regmap_gate_data) {
1845 .data = &(struct clk_regmap_mux_data) {
1848 .shift = 9,
1859 .data = &(struct clk_regmap_div_data) {
1861 .shift = 0,
1876 .data = &(struct clk_regmap_gate_data) {
2313 struct device *dev = &pdev->dev; in c3_peripherals_probe()
2328 c3_periphs_clk_regmaps[i]->map = regmap; in c3_peripherals_probe()
2348 .compatible = "amlogic,c3-peripherals-clkc",
2358 .name = "c3-peripherals-clkc",