Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/
Dccu-sun50i-h6-r.c54 static SUNXI_CCU_M(r_apb1_clk, "r-apb1", "r-ahb", 0x00c, 0, 2, 0);
84 static SUNXI_CCU_GATE(r_apb1_timer_clk, "r-apb1-timer", "r-apb1",
86 static SUNXI_CCU_GATE(r_apb1_twd_clk, "r-apb1-twd", "r-apb1",
88 static SUNXI_CCU_GATE(r_apb1_pwm_clk, "r-apb1-pwm", "r-apb1",
94 static SUNXI_CCU_GATE(r_apb1_ir_clk, "r-apb1-ir", "r-apb1",
96 static SUNXI_CCU_GATE(r_apb1_w1_clk, "r-apb1-w1", "r-apb1",
Dccu-sun50i-a100-r.c55 .hw.init = CLK_HW_INIT("r-apb1",
91 static SUNXI_CCU_GATE_DATA(r_apb1_timer_clk, "r-apb1-timer", clk_parent_r_apb1,
94 static SUNXI_CCU_GATE_DATA(r_apb1_twd_clk, "r-apb1-twd", clk_parent_r_apb1,
99 static SUNXI_CCU_MUX(r_apb1_pwm_clk, "r-apb1-pwm", r_apb1_pwm_clk_parents,
102 static SUNXI_CCU_GATE_DATA(r_apb1_bus_pwm_clk, "r-apb1-bus-pwm",
105 static SUNXI_CCU_GATE_DATA(r_apb1_ppu_clk, "r-apb1-ppu", clk_parent_r_apb1,
118 static SUNXI_CCU_MP_WITH_MUX_GATE(r_apb1_ir_rx_clk, "r-apb1-ir-rx",
126 static SUNXI_CCU_GATE_DATA(r_apb1_bus_ir_rx_clk, "r-apb1-bus-ir-rx",
Dccu-sun4i-a10.c283 static SUNXI_CCU_MP_WITH_MUX(apb1_clk, "apb1", apb1_parents, 0x058,
410 static SUNXI_CCU_GATE(apb1_i2c0_clk, "apb1-i2c0", "apb1",
412 static SUNXI_CCU_GATE(apb1_i2c1_clk, "apb1-i2c1", "apb1",
414 static SUNXI_CCU_GATE(apb1_i2c2_clk, "apb1-i2c2", "apb1",
417 static SUNXI_CCU_GATE(apb1_i2c3_clk, "apb1-i2c3", "apb1",
419 static SUNXI_CCU_GATE(apb1_can_clk, "apb1-can", "apb1",
421 static SUNXI_CCU_GATE(apb1_scr_clk, "apb1-scr", "apb1",
423 static SUNXI_CCU_GATE(apb1_ps20_clk, "apb1-ps20", "apb1",
425 static SUNXI_CCU_GATE(apb1_ps21_clk, "apb1-ps21", "apb1",
428 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.c293 static SUNXI_CCU_MP_WITH_MUX(apb1_clk, "apb1", ahb3_apb1_apb2_parents, 0x520,
389 static SUNXI_CCU_GATE(bus_pwm_clk, "bus-pwm", "apb1", 0x7ac, BIT(0), 0);
391 static SUNXI_CCU_GATE(bus_iommu_clk, "bus-iommu", "apb1", 0x7bc, BIT(0), 0);
521 static SUNXI_CCU_GATE(bus_ir_tx_clk, "bus-ir-tx", "apb1", 0x9cc, BIT(0), 0);
523 static SUNXI_CCU_GATE(bus_gpadc_clk, "bus-gpadc", "apb1", 0x9ec, BIT(0), 0);
525 static SUNXI_CCU_GATE(bus_ths_clk, "bus-ths", "apb1", 0x9fc, BIT(0), 0);
580 static SUNXI_CCU_GATE(bus_i2s0_clk, "bus-i2s0", "apb1", 0xa20, BIT(0), 0);
581 static SUNXI_CCU_GATE(bus_i2s1_clk, "bus-i2s1", "apb1", 0xa20, BIT(1), 0);
582 static SUNXI_CCU_GATE(bus_i2s2_clk, "bus-i2s2", "apb1", 0xa20, BIT(2), 0);
583 static SUNXI_CCU_GATE(bus_i2s3_clk, "bus-i2s3", "apb1", 0xa20, BIT(3), 0);
[all …]
Dccu-sun6i-a31.c236 static SUNXI_CCU_DIV_TABLE(apb1_clk, "apb1", "ahb1",
325 static SUNXI_CCU_GATE(apb1_codec_clk, "apb1-codec", "apb1",
327 static SUNXI_CCU_GATE(apb1_spdif_clk, "apb1-spdif", "apb1",
329 static SUNXI_CCU_GATE(apb1_digital_mic_clk, "apb1-digital-mic", "apb1",
331 static SUNXI_CCU_GATE(apb1_pio_clk, "apb1-pio", "apb1",
333 static SUNXI_CCU_GATE(apb1_daudio0_clk, "apb1-daudio0", "apb1",
335 static SUNXI_CCU_GATE(apb1_daudio1_clk, "apb1-daudio1", "apb1",
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-sun50i-a100-r.h15 /* exported except APB1 for R_PIO */
Dccu-sun50i-h6-r.h12 /* AHB/APB bus clocks are not exported except APB1 for R_PIO */
Dccu-sun8i-r40.c301 static SUNXI_CCU_DIV_TABLE(apb1_clk, "apb1", "ahb1",
409 static SUNXI_CCU_GATE(bus_codec_clk, "bus-codec", "apb1",
411 static SUNXI_CCU_GATE(bus_spdif_clk, "bus-spdif", "apb1",
413 static SUNXI_CCU_GATE(bus_ac97_clk, "bus-ac97", "apb1",
415 static SUNXI_CCU_GATE(bus_pio_clk, "bus-pio", "apb1",
417 static SUNXI_CCU_GATE(bus_ir0_clk, "bus-ir0", "apb1",
419 static SUNXI_CCU_GATE(bus_ir1_clk, "bus-ir1", "apb1",
421 static SUNXI_CCU_GATE(bus_ths_clk, "bus-ths", "apb1",
423 static SUNXI_CCU_GATE(bus_keypad_clk, "bus-keypad", "apb1",
425 static SUNXI_CCU_GATE(bus_i2s0_clk, "bus-i2s0", "apb1",
[all …]
Dccu-sun50i-a64.c258 static SUNXI_CCU_DIV_TABLE(apb1_clk, "apb1", "ahb1",
350 static SUNXI_CCU_GATE(bus_codec_clk, "bus-codec", "apb1",
352 static SUNXI_CCU_GATE(bus_spdif_clk, "bus-spdif", "apb1",
354 static SUNXI_CCU_GATE(bus_pio_clk, "bus-pio", "apb1",
356 static SUNXI_CCU_GATE(bus_ths_clk, "bus-ths", "apb1",
358 static SUNXI_CCU_GATE(bus_i2s0_clk, "bus-i2s0", "apb1",
360 static SUNXI_CCU_GATE(bus_i2s1_clk, "bus-i2s1", "apb1",
362 static SUNXI_CCU_GATE(bus_i2s2_clk, "bus-i2s2", "apb1",
Dccu-sun50i-h6.h43 /* APB1 clock exported for PIO */
Dccu-sun50i-a100.h46 /* APB1 clock exported for PIO */
Dccu-sun5i.h43 /* APB1 gates are exported */
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-sun4i-a10.h44 /* APB1 gates are exported (79..95) */
Dccu-sun8i-h3.c182 static SUNXI_CCU_DIV_TABLE(apb1_clk, "apb1", "ahb1",
281 static SUNXI_CCU_GATE(bus_codec_clk, "bus-codec", "apb1",
283 static SUNXI_CCU_GATE(bus_spdif_clk, "bus-spdif", "apb1",
285 static SUNXI_CCU_GATE(bus_pio_clk, "bus-pio", "apb1",
287 static SUNXI_CCU_GATE(bus_ths_clk, "bus-ths", "apb1",
289 static SUNXI_CCU_GATE(bus_i2s0_clk, "bus-i2s0", "apb1",
291 static SUNXI_CCU_GATE(bus_i2s1_clk, "bus-i2s1", "apb1",
293 static SUNXI_CCU_GATE(bus_i2s2_clk, "bus-i2s2", "apb1",
/kernel/linux/linux-5.10/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 Device Tree Bindings
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";
/kernel/linux/linux-5.10/drivers/clk/sunxi/
Dclk-simple-gates.c97 CLK_OF_DECLARE(sun4i_a10_apb1, "allwinner,sun4i-a10-apb1-gates-clk",
103 CLK_OF_DECLARE(sun5i_a10s_apb1, "allwinner,sun5i-a10s-apb1-gates-clk",
107 CLK_OF_DECLARE(sun5i_a13_apb1, "allwinner,sun5i-a13-apb1-gates-clk",
111 CLK_OF_DECLARE(sun6i_a31_apb1, "allwinner,sun6i-a31-apb1-gates-clk",
117 CLK_OF_DECLARE(sun7i_a20_apb1, "allwinner,sun7i-a20-apb1-gates-clk",
121 CLK_OF_DECLARE(sun8i_a23_apb1, "allwinner,sun8i-a23-apb1-gates-clk",
137 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
70 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