Home
last modified time | relevance | path

Searched full:apb1 (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.12.1/drivers/clk/sunxi-ng/
Dccu-sun50i-h6-r.c55 static SUNXI_CCU_M(r_apb1_clk, "r-apb1", "r-ahb", 0x00c, 0, 2, 0);
85 static SUNXI_CCU_GATE(r_apb1_timer_clk, "r-apb1-timer", "r-apb1",
87 static SUNXI_CCU_GATE(r_apb1_twd_clk, "r-apb1-twd", "r-apb1",
89 static SUNXI_CCU_GATE(r_apb1_pwm_clk, "r-apb1-pwm", "r-apb1",
97 static SUNXI_CCU_GATE(r_apb1_ir_clk, "r-apb1-ir", "r-apb1",
99 static SUNXI_CCU_GATE(r_apb1_w1_clk, "r-apb1-w1", "r-apb1",
101 static SUNXI_CCU_GATE(r_apb1_rtc_clk, "r-apb1-rtc", "r-apb1",
Dccu-sun50i-a100-r.c54 .hw.init = CLK_HW_INIT("r-apb1",
90 static SUNXI_CCU_GATE_DATA(r_apb1_timer_clk, "r-apb1-timer", clk_parent_r_apb1,
93 static SUNXI_CCU_GATE_DATA(r_apb1_twd_clk, "r-apb1-twd", clk_parent_r_apb1,
98 static SUNXI_CCU_MUX(r_apb1_pwm_clk, "r-apb1-pwm", r_apb1_pwm_clk_parents,
101 static SUNXI_CCU_GATE_DATA(r_apb1_bus_pwm_clk, "r-apb1-bus-pwm",
104 static SUNXI_CCU_GATE_DATA(r_apb1_ppu_clk, "r-apb1-ppu", clk_parent_r_apb1,
117 static SUNXI_CCU_MP_WITH_MUX_GATE(r_apb1_ir_rx_clk, "r-apb1-ir-rx",
125 static SUNXI_CCU_GATE_DATA(r_apb1_bus_ir_rx_clk, "r-apb1-bus-ir-rx",
Dccu-sun4i-a10.c285 static SUNXI_CCU_MP_WITH_MUX(apb1_clk, "apb1", apb1_parents, 0x058,
412 static SUNXI_CCU_GATE(apb1_i2c0_clk, "apb1-i2c0", "apb1",
414 static SUNXI_CCU_GATE(apb1_i2c1_clk, "apb1-i2c1", "apb1",
416 static SUNXI_CCU_GATE(apb1_i2c2_clk, "apb1-i2c2", "apb1",
419 static SUNXI_CCU_GATE(apb1_i2c3_clk, "apb1-i2c3", "apb1",
421 static SUNXI_CCU_GATE(apb1_can_clk, "apb1-can", "apb1",
423 static SUNXI_CCU_GATE(apb1_scr_clk, "apb1-scr", "apb1",
425 static SUNXI_CCU_GATE(apb1_ps20_clk, "apb1-ps20", "apb1",
427 static SUNXI_CCU_GATE(apb1_ps21_clk, "apb1-ps21", "apb1",
430 static SUNXI_CCU_GATE(apb1_i2c4_clk, "apb1-i2c4", "apb1",
[all …]
Dccu-sun5i.c232 static SUNXI_CCU_MP_WITH_MUX(apb1_clk, "apb1", apb1_parents, 0x058,
310 static SUNXI_CCU_GATE(apb1_i2c0_clk, "apb1-i2c0", "apb1",
312 static SUNXI_CCU_GATE(apb1_i2c1_clk, "apb1-i2c1", "apb1",
314 static SUNXI_CCU_GATE(apb1_i2c2_clk, "apb1-i2c2", "apb1",
316 static SUNXI_CCU_GATE(apb1_uart0_clk, "apb1-uart0", "apb1",
318 static SUNXI_CCU_GATE(apb1_uart1_clk, "apb1-uart1", "apb1",
320 static SUNXI_CCU_GATE(apb1_uart2_clk, "apb1-uart2", "apb1",
322 static SUNXI_CCU_GATE(apb1_uart3_clk, "apb1-uart3", "apb1",
Dccu-sun9i-a80.c320 .hw.init = CLK_HW_INIT_PARENTS("apb1",
798 /* APB1 bus gates */
799 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb1",
801 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb1",
803 static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb1",
805 static SUNXI_CCU_GATE(bus_i2c3_clk, "bus-i2c3", "apb1",
807 static SUNXI_CCU_GATE(bus_i2c4_clk, "bus-i2c4", "apb1",
809 static SUNXI_CCU_GATE(bus_uart0_clk, "bus-uart0", "apb1",
811 static SUNXI_CCU_GATE(bus_uart1_clk, "bus-uart1", "apb1",
813 static SUNXI_CCU_GATE(bus_uart2_clk, "bus-uart2", "apb1",
[all …]
Dccu-sun50i-a100.c292 static SUNXI_CCU_MP_WITH_MUX(apb1_clk, "apb1", ahb3_apb1_apb2_parents, 0x520,
388 static SUNXI_CCU_GATE(bus_pwm_clk, "bus-pwm", "apb1", 0x7ac, BIT(0), 0);
390 static SUNXI_CCU_GATE(bus_iommu_clk, "bus-iommu", "apb1", 0x7bc, BIT(0), 0);
520 static SUNXI_CCU_GATE(bus_ir_tx_clk, "bus-ir-tx", "apb1", 0x9cc, BIT(0), 0);
522 static SUNXI_CCU_GATE(bus_gpadc_clk, "bus-gpadc", "apb1", 0x9ec, BIT(0), 0);
524 static SUNXI_CCU_GATE(bus_ths_clk, "bus-ths", "apb1", 0x9fc, BIT(0), 0);
579 static SUNXI_CCU_GATE(bus_i2s0_clk, "bus-i2s0", "apb1", 0xa20, BIT(0), 0);
580 static SUNXI_CCU_GATE(bus_i2s1_clk, "bus-i2s1", "apb1", 0xa20, BIT(1), 0);
581 static SUNXI_CCU_GATE(bus_i2s2_clk, "bus-i2s2", "apb1", 0xa20, BIT(2), 0);
582 static SUNXI_CCU_GATE(bus_i2s3_clk, "bus-i2s3", "apb1", 0xa20, BIT(3), 0);
[all …]
Dccu-sun50i-h6.c254 static SUNXI_CCU_MP_WITH_MUX(apb1_clk, "apb1", ahb3_apb1_apb2_parents, 0x520,
369 static SUNXI_CCU_GATE(bus_pwm_clk, "bus-pwm", "apb1", 0x7ac, BIT(0), 0);
371 static SUNXI_CCU_GATE(bus_iommu_clk, "bus-iommu", "apb1", 0x7bc, BIT(0), 0);
503 static SUNXI_CCU_GATE(bus_ir_tx_clk, "bus-ir-tx", "apb1", 0x9cc, BIT(0), 0);
505 static SUNXI_CCU_GATE(bus_ths_clk, "bus-ths", "apb1", 0x9fc, BIT(0), 0);
560 static SUNXI_CCU_GATE(bus_i2s0_clk, "bus-i2s0", "apb1", 0xa1c, BIT(0), 0);
561 static SUNXI_CCU_GATE(bus_i2s1_clk, "bus-i2s1", "apb1", 0xa1c, BIT(1), 0);
562 static SUNXI_CCU_GATE(bus_i2s2_clk, "bus-i2s2", "apb1", 0xa1c, BIT(2), 0);
563 static SUNXI_CCU_GATE(bus_i2s3_clk, "bus-i2s3", "apb1", 0xa1c, BIT(3), 0);
578 static SUNXI_CCU_GATE(bus_spdif_clk, "bus-spdif", "apb1", 0xa2c, BIT(0), 0);
[all …]
Dccu-sun6i-a31.c237 static SUNXI_CCU_DIV_TABLE(apb1_clk, "apb1", "ahb1",
326 static SUNXI_CCU_GATE(apb1_codec_clk, "apb1-codec", "apb1",
328 static SUNXI_CCU_GATE(apb1_spdif_clk, "apb1-spdif", "apb1",
330 static SUNXI_CCU_GATE(apb1_digital_mic_clk, "apb1-digital-mic", "apb1",
332 static SUNXI_CCU_GATE(apb1_pio_clk, "apb1-pio", "apb1",
334 static SUNXI_CCU_GATE(apb1_daudio0_clk, "apb1-daudio0", "apb1",
336 static SUNXI_CCU_GATE(apb1_daudio1_clk, "apb1-daudio1", "apb1",
Dccu-sun50i-h616.c265 static SUNXI_CCU_MP_WITH_MUX(apb1_clk, "apb1", ahb3_apb1_apb2_parents, 0x520,
364 static SUNXI_CCU_GATE(bus_pwm_clk, "bus-pwm", "apb1", 0x7ac, BIT(0), 0);
366 static SUNXI_CCU_GATE(bus_iommu_clk, "bus-iommu", "apb1", 0x7bc, BIT(0), 0);
492 static SUNXI_CCU_GATE(bus_gpadc_clk, "bus-gpadc", "apb1", 0x9ec, BIT(0), 0);
494 static SUNXI_CCU_GATE(bus_ths_clk, "bus-ths", "apb1", 0x9fc, BIT(0), 0);
511 static SUNXI_CCU_GATE(bus_spdif_clk, "bus-spdif", "apb1", 0xa2c, BIT(0), 0);
526 static SUNXI_CCU_GATE(bus_dmic_clk, "bus-dmic", "apb1", 0xa4c, BIT(0), 0);
541 static SUNXI_CCU_GATE(bus_audio_codec_clk, "bus-audio-codec", "apb1", 0xa5c,
557 static SUNXI_CCU_GATE(bus_audio_hub_clk, "bus-audio-hub", "apb1", 0xa6c, BIT(0), 0);
590 static SUNXI_CCU_GATE(bus_keyadc_clk, "bus-keyadc", "apb1", 0xa9c, BIT(0), 0);
Dccu-sun8i-r40.c302 static SUNXI_CCU_DIV_TABLE(apb1_clk, "apb1", "ahb1",
410 static SUNXI_CCU_GATE(bus_codec_clk, "bus-codec", "apb1",
412 static SUNXI_CCU_GATE(bus_spdif_clk, "bus-spdif", "apb1",
414 static SUNXI_CCU_GATE(bus_ac97_clk, "bus-ac97", "apb1",
416 static SUNXI_CCU_GATE(bus_pio_clk, "bus-pio", "apb1",
418 static SUNXI_CCU_GATE(bus_ir0_clk, "bus-ir0", "apb1",
420 static SUNXI_CCU_GATE(bus_ir1_clk, "bus-ir1", "apb1",
422 static SUNXI_CCU_GATE(bus_ths_clk, "bus-ths", "apb1",
424 static SUNXI_CCU_GATE(bus_keypad_clk, "bus-keypad", "apb1",
426 static SUNXI_CCU_GATE(bus_i2s0_clk, "bus-i2s0", "apb1",
[all …]
Dccu-sun50i-h6-r.h12 /* AHB/APB bus clocks are not exported except APB1 for R_PIO */
Dccu-sun50i-a100-r.h15 /* exported except APB1 for R_PIO */
Dccu-sun50i-a64.c264 static SUNXI_CCU_DIV_TABLE(apb1_clk, "apb1", "ahb1",
356 static SUNXI_CCU_GATE(bus_codec_clk, "bus-codec", "apb1",
358 static SUNXI_CCU_GATE(bus_spdif_clk, "bus-spdif", "apb1",
360 static SUNXI_CCU_GATE(bus_pio_clk, "bus-pio", "apb1",
362 static SUNXI_CCU_GATE(bus_ths_clk, "bus-ths", "apb1",
364 static SUNXI_CCU_GATE(bus_i2s0_clk, "bus-i2s0", "apb1",
366 static SUNXI_CCU_GATE(bus_i2s1_clk, "bus-i2s1", "apb1",
368 static SUNXI_CCU_GATE(bus_i2s2_clk, "bus-i2s2", "apb1",
Dccu-sun50i-h616.h43 /* APB1 clock exported for PIO */
Dccu-sun8i-a83t.c264 static SUNXI_CCU_M(apb1_clk, "apb1", "ahb1", 0x054, 8, 2, 0);
347 static SUNXI_CCU_GATE(bus_spdif_clk, "bus-spdif", "apb1",
349 static SUNXI_CCU_GATE(bus_pio_clk, "bus-pio", "apb1",
351 static SUNXI_CCU_GATE(bus_i2s0_clk, "bus-i2s0", "apb1",
353 static SUNXI_CCU_GATE(bus_i2s1_clk, "bus-i2s1", "apb1",
355 static SUNXI_CCU_GATE(bus_i2s2_clk, "bus-i2s2", "apb1",
357 static SUNXI_CCU_GATE(bus_tdm_clk, "bus-tdm", "apb1",
Dccu-sun50i-a100.h46 /* APB1 clock exported for PIO */
Dccu-sun50i-h6.h43 /* APB1 clock exported for PIO */
Dccu-sun5i.h43 /* APB1 gates are exported */
/linux-6.12.1/Documentation/devicetree/bindings/clock/
Dallwinner,sun4i-a10-apb1-clk.yaml4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-apb1-clk.yaml#
7 title: Allwinner A10 APB1 Bus Clock
20 const: allwinner,sun4i-a10-apb1-clk
46 compatible = "allwinner,sun4i-a10-apb1-clk";
49 clock-output-names = "apb1";
Dallwinner,sun4i-a10-gates-clk.yaml41 - const: allwinner,sun4i-a10-apb1-gates-clk
42 - const: allwinner,sun5i-a13-apb1-gates-clk
43 - const: allwinner,sun5i-a10s-apb1-gates-clk
44 - const: allwinner,sun6i-a31-apb1-gates-clk
45 - const: allwinner,sun7i-a20-apb1-gates-clk
46 - const: allwinner,sun8i-a23-apb1-gates-clk
47 - const: allwinner,sun9i-a80-apb1-gates-clk
Dallwinner,sun9i-a80-apb0-clk.yaml22 - allwinner,sun9i-a80-apb1-clk
57 compatible = "allwinner,sun9i-a80-apb1-clk";
60 clock-output-names = "apb1";
Dallwinner,sun8i-h3-bus-gates-clk.yaml61 clocks = <&ahb1>, <&ahb2>, <&apb1>, <&apb2>;
62 clock-names = "ahb1", "ahb2", "apb1", "apb2";
/linux-6.12.1/drivers/clk/sunxi/
Dclk-simple-gates.c95 CLK_OF_DECLARE(sun4i_a10_apb1, "allwinner,sun4i-a10-apb1-gates-clk",
101 CLK_OF_DECLARE(sun5i_a10s_apb1, "allwinner,sun5i-a10s-apb1-gates-clk",
105 CLK_OF_DECLARE(sun5i_a13_apb1, "allwinner,sun5i-a13-apb1-gates-clk",
109 CLK_OF_DECLARE(sun6i_a31_apb1, "allwinner,sun6i-a31-apb1-gates-clk",
115 CLK_OF_DECLARE(sun7i_a20_apb1, "allwinner,sun7i-a20-apb1-gates-clk",
119 CLK_OF_DECLARE(sun8i_a23_apb1, "allwinner,sun8i-a23-apb1-gates-clk",
135 CLK_OF_DECLARE(sun9i_a80_apb1, "allwinner,sun9i-a80-apb1-gates-clk",
Dclk-sun8i-bus-gates.c22 static const char * const names[] = { "ahb1", "ahb2", "apb1", "apb2" }; in sun8i_h3_bus_gates_init()
23 enum { AHB1, AHB2, APB1, APB2, PARENT_MAX } clk_parent; in sun8i_h3_bus_gates_init() enumerator
68 clk_parent = APB1; in sun8i_h3_bus_gates_init()
Dclk-sun9i-core.c229 * sun9i_a80_get_apb1_factors() - calculates m, p factors for APB1
230 * APB1 rate is calculated as follows
274 pr_err("Could not get registers for a80-apb1-clk: %pOFn\n", in sun9i_a80_apb1_setup()
282 CLK_OF_DECLARE(sun9i_a80_apb1, "allwinner,sun9i-a80-apb1-clk", sun9i_a80_apb1_setup);

12