Lines Matching +full:data +full:- +full:shift

1 // SPDX-License-Identifier: GPL-2.0+
10 #include <linux/clk-provider.h>
13 #include "a1-peripherals.h"
14 #include "clk-dualdiv.h"
15 #include "clk-regmap.h"
16 #include "meson-clkc-utils.h"
18 #include <dt-bindings/clock/amlogic,a1-peripherals-clkc.h>
21 .data = &(struct clk_regmap_gate_data){
36 .data = &(struct clk_regmap_gate_data){
51 .data = &(struct clk_regmap_gate_data){
66 .data = &(struct clk_regmap_gate_data){
81 .data = &(struct clk_regmap_gate_data){
96 .data = &(struct clk_regmap_gate_data){
111 .data = &(struct clk_regmap_gate_data){
126 .data = &(struct clk_regmap_gate_data){
152 .data = &(struct meson_clk_dualdiv_data){
155 .shift = 0,
160 .shift = 12,
165 .shift = 0,
170 .shift = 12,
175 .shift = 28,
191 .data = &(struct clk_regmap_gate_data){
206 .data = &(struct clk_regmap_mux_data) {
209 .shift = 0,
225 .data = &(struct clk_regmap_gate_data){
250 .data = &(struct clk_regmap_mux_data){
253 .shift = 26,
265 .data = &(struct clk_regmap_div_data){
267 .shift = 16,
282 .data = &(struct clk_regmap_gate_data){
298 .data = &(struct clk_regmap_mux_data){
301 .shift = 10,
313 .data = &(struct clk_regmap_div_data){
315 .shift = 0,
330 .data = &(struct clk_regmap_gate_data){
346 .data = &(struct clk_regmap_mux_data){
349 .shift = 31,
365 * b) CCF has a clock hand-off mechanism to make the sure the
383 .data = &(struct clk_regmap_mux_data){
386 .shift = 10,
398 .data = &(struct clk_regmap_div_data){
400 .shift = 0,
415 .data = &(struct clk_regmap_gate_data){
431 .data = &(struct clk_regmap_mux_data){
434 .shift = 26,
446 .data = &(struct clk_regmap_div_data){
448 .shift = 16,
463 .data = &(struct clk_regmap_gate_data){
479 .data = &(struct clk_regmap_mux_data){
482 .shift = 15,
497 .data = &(struct clk_regmap_gate_data){
513 .data = &(struct clk_regmap_gate_data){
529 .data = &(struct clk_regmap_mux_data){
532 .shift = 10,
544 .data = &(struct clk_regmap_div_data){
546 .shift = 0,
561 .data = &(struct clk_regmap_gate_data){
577 .data = &(struct clk_regmap_mux_data){
580 .shift = 26,
592 .data = &(struct clk_regmap_div_data){
594 .shift = 16,
609 .data = &(struct clk_regmap_gate_data){
625 .data = &(struct clk_regmap_mux_data){
628 .shift = 15,
643 .data = &(struct clk_regmap_gate_data){
659 .data = &(struct clk_regmap_gate_data){
675 .data = &(struct clk_regmap_gate_data){
703 .data = &(struct clk_regmap_gate_data){
718 .data = &(struct clk_regmap_div_data){
720 .shift = 0,
734 .data = &(struct clk_regmap_gate_data){
765 .data = &(struct clk_regmap_mux_data){
768 .shift = 12,
788 .data = &(struct clk_regmap_div_data){
790 .shift = 0,
805 .data = &(struct clk_regmap_gate_data){
821 .data = &(struct clk_regmap_mux_data){
824 .shift = 9,
838 .data = &(struct clk_regmap_div_data){
840 .shift = 0,
855 .data = &(struct clk_regmap_gate_data){
877 .data = &(struct clk_regmap_mux_data){
880 .shift = 9,
891 .data = &(struct clk_regmap_div_data){
893 .shift = 0,
908 .data = &(struct clk_regmap_gate_data){
924 .data = &(struct clk_regmap_mux_data){
927 .shift = 25,
938 .data = &(struct clk_regmap_div_data){
940 .shift = 16,
955 .data = &(struct clk_regmap_gate_data){
971 .data = &(struct clk_regmap_mux_data){
974 .shift = 9,
985 .data = &(struct clk_regmap_div_data){
987 .shift = 0,
1002 .data = &(struct clk_regmap_gate_data){
1018 .data = &(struct clk_regmap_mux_data){
1021 .shift = 25,
1032 .data = &(struct clk_regmap_div_data){
1034 .shift = 16,
1049 .data = &(struct clk_regmap_gate_data){
1072 .data = &(struct clk_regmap_mux_data){
1075 .shift = 9,
1086 .data = &(struct clk_regmap_div_data){
1088 .shift = 0,
1103 .data = &(struct clk_regmap_gate_data){
1119 .data = &(struct clk_regmap_mux_data){
1122 .shift = 25,
1133 .data = &(struct clk_regmap_div_data){
1135 .shift = 16,
1150 .data = &(struct clk_regmap_gate_data){
1168 * ---------| |---DIV--| | | | spicc out
1169 * ---------| | | |-----|GATE |---------
1171 * --------------------|/
1182 .data = &(struct clk_regmap_mux_data){
1185 .shift = 9,
1196 .data = &(struct clk_regmap_div_data){
1198 .shift = 0,
1213 .data = &(struct clk_regmap_mux_data){
1216 .shift = 15,
1231 .data = &(struct clk_regmap_gate_data){
1247 .data = &(struct clk_regmap_div_data){
1249 .shift = 0,
1263 .data = &(struct clk_regmap_gate_data){
1279 .data = &(struct clk_regmap_mux_data){
1282 .shift = 9,
1293 .data = &(struct clk_regmap_div_data){
1295 .shift = 0,
1310 .data = &(struct clk_regmap_mux_data){
1313 .shift = 15,
1328 .data = &(struct clk_regmap_gate_data){
1351 .data = &(struct clk_regmap_mux_data){
1354 .shift = 9,
1366 .data = &(struct clk_regmap_div_data){
1368 .shift = 0,
1383 .data = &(struct clk_regmap_gate_data){
1406 .data = &(struct clk_regmap_mux_data){
1409 .shift = 9,
1420 .data = &(struct clk_regmap_div_data){
1422 .shift = 0,
1437 .data = &(struct clk_regmap_mux_data){
1440 .shift = 15,
1455 .data = &(struct clk_regmap_gate_data){
1471 .data = &(struct clk_regmap_mux_data){
1474 .shift = 9,
1485 .data = &(struct clk_regmap_div_data){
1487 .shift = 0,
1502 .data = &(struct clk_regmap_mux_data){
1505 .shift = 15,
1520 .data = &(struct clk_regmap_gate_data){
1536 .data = &(struct clk_regmap_mux_data){
1539 .shift = 9,
1550 .data = &(struct clk_regmap_div_data){
1552 .shift = 0,
1567 .data = &(struct clk_regmap_mux_data){
1570 .shift = 15,
1585 .data = &(struct clk_regmap_gate_data){
1601 .data = &(struct clk_regmap_gate_data){
1616 .data = &(struct meson_clk_dualdiv_data){
1619 .shift = 0,
1624 .shift = 12,
1629 .shift = 0,
1634 .shift = 12,
1639 .shift = 28,
1655 .data = &(struct clk_regmap_mux_data) {
1658 .shift = 24,
1674 .data = &(struct clk_regmap_mux_data) {
1677 .shift = 31,
1692 .data = &(struct clk_regmap_gate_data){
1708 .data = &(struct clk_regmap_gate_data){
1723 .data = &(struct meson_clk_dualdiv_data){
1726 .shift = 0,
1731 .shift = 12,
1736 .shift = 0,
1741 .shift = 12,
1746 .shift = 28,
1762 .data = &(struct clk_regmap_mux_data) {
1765 .shift = 24,
1781 .data = &(struct clk_regmap_mux_data) {
1784 .shift = 31,
1799 .data = &(struct clk_regmap_gate_data){
2200 struct device *dev = &pdev->dev; in meson_a1_periphs_probe()
2217 a1_periphs_regmaps[i]->map = map; in meson_a1_periphs_probe()
2231 { .compatible = "amlogic,a1-peripherals-clkc", },
2239 .name = "a1-peripherals-clkc",