Home
last modified time | relevance | path

Searched full:apb2 (Results 1 – 25 of 47) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/
Dccu-sun50i-h6-r.c70 .hw.init = CLK_HW_INIT_PARENTS("r-apb2",
90 static SUNXI_CCU_GATE(r_apb2_uart_clk, "r-apb2-uart", "r-apb2",
92 static SUNXI_CCU_GATE(r_apb2_i2c_clk, "r-apb2-i2c", "r-apb2",
Dccu-sun6i-a31.c241 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", apb2_parents, 0x058,
338 static SUNXI_CCU_GATE(apb2_i2c0_clk, "apb2-i2c0", "apb2",
340 static SUNXI_CCU_GATE(apb2_i2c1_clk, "apb2-i2c1", "apb2",
342 static SUNXI_CCU_GATE(apb2_i2c2_clk, "apb2-i2c2", "apb2",
344 static SUNXI_CCU_GATE(apb2_i2c3_clk, "apb2-i2c3", "apb2",
346 static SUNXI_CCU_GATE(apb2_uart0_clk, "apb2-uart0", "apb2",
348 static SUNXI_CCU_GATE(apb2_uart1_clk, "apb2-uart1", "apb2",
350 static SUNXI_CCU_GATE(apb2_uart2_clk, "apb2-uart2", "apb2",
352 static SUNXI_CCU_GATE(apb2_uart3_clk, "apb2-uart3", "apb2",
354 static SUNXI_CCU_GATE(apb2_uart4_clk, "apb2-uart4", "apb2",
[all …]
Dccu-sun50i-a100-r.c76 .hw.init = CLK_HW_INIT_PARENTS("r-apb2",
108 static SUNXI_CCU_GATE_DATA(r_apb2_uart_clk, "r-apb2-uart", clk_parent_r_apb2,
111 static SUNXI_CCU_GATE_DATA(r_apb2_i2c0_clk, "r-apb2-i2c0", clk_parent_r_apb2,
114 static SUNXI_CCU_GATE_DATA(r_apb2_i2c1_clk, "r-apb2-i2c1", clk_parent_r_apb2,
Dccu-sun8i-r40.c307 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", apb2_parents, 0x058,
432 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2",
434 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2",
436 static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb2",
438 static SUNXI_CCU_GATE(bus_i2c3_clk, "bus-i2c3", "apb2",
444 static SUNXI_CCU_GATE(bus_can_clk, "bus-can", "apb2",
446 static SUNXI_CCU_GATE(bus_scr_clk, "bus-scr", "apb2",
448 static SUNXI_CCU_GATE(bus_ps20_clk, "bus-ps20", "apb2",
450 static SUNXI_CCU_GATE(bus_ps21_clk, "bus-ps21", "apb2",
452 static SUNXI_CCU_GATE(bus_i2c4_clk, "bus-i2c4", "apb2",
[all …]
Dccu-sun8i-a23.c213 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", apb2_parents, 0x058,
274 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2",
276 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2",
278 static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb2",
280 static SUNXI_CCU_GATE(bus_uart0_clk, "bus-uart0", "apb2",
282 static SUNXI_CCU_GATE(bus_uart1_clk, "bus-uart1", "apb2",
284 static SUNXI_CCU_GATE(bus_uart2_clk, "bus-uart2", "apb2",
286 static SUNXI_CCU_GATE(bus_uart3_clk, "bus-uart3", "apb2",
288 static SUNXI_CCU_GATE(bus_uart4_clk, "bus-uart4", "apb2",
Dccu-sun8i-a33.c223 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", apb2_parents, 0x058,
288 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2",
290 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2",
292 static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb2",
294 static SUNXI_CCU_GATE(bus_uart0_clk, "bus-uart0", "apb2",
296 static SUNXI_CCU_GATE(bus_uart1_clk, "bus-uart1", "apb2",
298 static SUNXI_CCU_GATE(bus_uart2_clk, "bus-uart2", "apb2",
300 static SUNXI_CCU_GATE(bus_uart3_clk, "bus-uart3", "apb2",
302 static SUNXI_CCU_GATE(bus_uart4_clk, "bus-uart4", "apb2",
Dccu-sun50i-a64.c264 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", apb2_parents, 0x058,
365 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2",
367 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2",
369 static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb2",
371 static SUNXI_CCU_GATE(bus_scr_clk, "bus-scr", "apb2",
373 static SUNXI_CCU_GATE(bus_uart0_clk, "bus-uart0", "apb2",
375 static SUNXI_CCU_GATE(bus_uart1_clk, "bus-uart1", "apb2",
377 static SUNXI_CCU_GATE(bus_uart2_clk, "bus-uart2", "apb2",
379 static SUNXI_CCU_GATE(bus_uart3_clk, "bus-uart3", "apb2",
381 static SUNXI_CCU_GATE(bus_uart4_clk, "bus-uart4", "apb2",
Dccu-sun8i-a83t.c269 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", apb2_parents, 0x058,
360 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2",
362 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2",
364 static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb2",
366 static SUNXI_CCU_GATE(bus_uart0_clk, "bus-uart0", "apb2",
368 static SUNXI_CCU_GATE(bus_uart1_clk, "bus-uart1", "apb2",
370 static SUNXI_CCU_GATE(bus_uart2_clk, "bus-uart2", "apb2",
372 static SUNXI_CCU_GATE(bus_uart3_clk, "bus-uart3", "apb2",
374 static SUNXI_CCU_GATE(bus_uart4_clk, "bus-uart4", "apb2",
Dccu-sun50i-h6.c260 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", ahb3_apb1_apb2_parents, 0x524,
453 static SUNXI_CCU_GATE(bus_uart0_clk, "bus-uart0", "apb2", 0x90c, BIT(0), 0);
454 static SUNXI_CCU_GATE(bus_uart1_clk, "bus-uart1", "apb2", 0x90c, BIT(1), 0);
455 static SUNXI_CCU_GATE(bus_uart2_clk, "bus-uart2", "apb2", 0x90c, BIT(2), 0);
456 static SUNXI_CCU_GATE(bus_uart3_clk, "bus-uart3", "apb2", 0x90c, BIT(3), 0);
458 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2", 0x91c, BIT(0), 0);
459 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2", 0x91c, BIT(1), 0);
460 static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb2", 0x91c, BIT(2), 0);
461 static SUNXI_CCU_GATE(bus_i2c3_clk, "bus-i2c3", "apb2", 0x91c, BIT(3), 0);
463 static SUNXI_CCU_GATE(bus_scr0_clk, "bus-scr0", "apb2", 0x93c, BIT(0), 0);
[all …]
/kernel/linux/linux-4.19/drivers/clk/sunxi-ng/
Dccu-sun50i-h6-r.c80 .hw.init = CLK_HW_INIT_PARENTS("r-apb2",
100 static SUNXI_CCU_GATE(r_apb2_uart_clk, "r-apb2-uart", "r-apb2",
102 static SUNXI_CCU_GATE(r_apb2_i2c_clk, "r-apb2-i2c", "r-apb2",
Dccu-sun6i-a31.c248 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", apb2_parents, 0x058,
345 static SUNXI_CCU_GATE(apb2_i2c0_clk, "apb2-i2c0", "apb2",
347 static SUNXI_CCU_GATE(apb2_i2c1_clk, "apb2-i2c1", "apb2",
349 static SUNXI_CCU_GATE(apb2_i2c2_clk, "apb2-i2c2", "apb2",
351 static SUNXI_CCU_GATE(apb2_i2c3_clk, "apb2-i2c3", "apb2",
353 static SUNXI_CCU_GATE(apb2_uart0_clk, "apb2-uart0", "apb2",
355 static SUNXI_CCU_GATE(apb2_uart1_clk, "apb2-uart1", "apb2",
357 static SUNXI_CCU_GATE(apb2_uart2_clk, "apb2-uart2", "apb2",
359 static SUNXI_CCU_GATE(apb2_uart3_clk, "apb2-uart3", "apb2",
361 static SUNXI_CCU_GATE(apb2_uart4_clk, "apb2-uart4", "apb2",
[all …]
Dccu-sun8i-r40.c303 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", apb2_parents, 0x058,
428 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2",
430 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2",
432 static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb2",
434 static SUNXI_CCU_GATE(bus_i2c3_clk, "bus-i2c3", "apb2",
440 static SUNXI_CCU_GATE(bus_can_clk, "bus-can", "apb2",
442 static SUNXI_CCU_GATE(bus_scr_clk, "bus-scr", "apb2",
444 static SUNXI_CCU_GATE(bus_ps20_clk, "bus-ps20", "apb2",
446 static SUNXI_CCU_GATE(bus_ps21_clk, "bus-ps21", "apb2",
448 static SUNXI_CCU_GATE(bus_i2c4_clk, "bus-i2c4", "apb2",
[all …]
Dccu-sun8i-a23.c220 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", apb2_parents, 0x058,
281 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2",
283 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2",
285 static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb2",
287 static SUNXI_CCU_GATE(bus_uart0_clk, "bus-uart0", "apb2",
289 static SUNXI_CCU_GATE(bus_uart1_clk, "bus-uart1", "apb2",
291 static SUNXI_CCU_GATE(bus_uart2_clk, "bus-uart2", "apb2",
293 static SUNXI_CCU_GATE(bus_uart3_clk, "bus-uart3", "apb2",
295 static SUNXI_CCU_GATE(bus_uart4_clk, "bus-uart4", "apb2",
Dccu-sun8i-a33.c219 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", apb2_parents, 0x058,
284 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2",
286 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2",
288 static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb2",
290 static SUNXI_CCU_GATE(bus_uart0_clk, "bus-uart0", "apb2",
292 static SUNXI_CCU_GATE(bus_uart1_clk, "bus-uart1", "apb2",
294 static SUNXI_CCU_GATE(bus_uart2_clk, "bus-uart2", "apb2",
296 static SUNXI_CCU_GATE(bus_uart3_clk, "bus-uart3", "apb2",
298 static SUNXI_CCU_GATE(bus_uart4_clk, "bus-uart4", "apb2",
Dccu-sun50i-a64.c256 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", apb2_parents, 0x058,
357 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2",
359 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2",
361 static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb2",
363 static SUNXI_CCU_GATE(bus_scr_clk, "bus-scr", "apb2",
365 static SUNXI_CCU_GATE(bus_uart0_clk, "bus-uart0", "apb2",
367 static SUNXI_CCU_GATE(bus_uart1_clk, "bus-uart1", "apb2",
369 static SUNXI_CCU_GATE(bus_uart2_clk, "bus-uart2", "apb2",
371 static SUNXI_CCU_GATE(bus_uart3_clk, "bus-uart3", "apb2",
373 static SUNXI_CCU_GATE(bus_uart4_clk, "bus-uart4", "apb2",
Dccu-sun8i-a83t.c274 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", apb2_parents, 0x058,
365 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2",
367 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2",
369 static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb2",
371 static SUNXI_CCU_GATE(bus_uart0_clk, "bus-uart0", "apb2",
373 static SUNXI_CCU_GATE(bus_uart1_clk, "bus-uart1", "apb2",
375 static SUNXI_CCU_GATE(bus_uart2_clk, "bus-uart2", "apb2",
377 static SUNXI_CCU_GATE(bus_uart3_clk, "bus-uart3", "apb2",
379 static SUNXI_CCU_GATE(bus_uart4_clk, "bus-uart4", "apb2",
Dccu-sun8i-v3s.c179 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", apb2_parents, 0x058,
246 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2",
248 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2",
250 static SUNXI_CCU_GATE(bus_uart0_clk, "bus-uart0", "apb2",
252 static SUNXI_CCU_GATE(bus_uart1_clk, "bus-uart1", "apb2",
254 static SUNXI_CCU_GATE(bus_uart2_clk, "bus-uart2", "apb2",
Dccu-sun50i-h6.c246 static SUNXI_CCU_MP_WITH_MUX(apb2_clk, "apb2", ahb3_apb1_apb2_parents, 0x524,
436 static SUNXI_CCU_GATE(bus_uart0_clk, "bus-uart0", "apb2", 0x90c, BIT(0), 0);
437 static SUNXI_CCU_GATE(bus_uart1_clk, "bus-uart1", "apb2", 0x90c, BIT(1), 0);
438 static SUNXI_CCU_GATE(bus_uart2_clk, "bus-uart2", "apb2", 0x90c, BIT(2), 0);
439 static SUNXI_CCU_GATE(bus_uart3_clk, "bus-uart3", "apb2", 0x90c, BIT(3), 0);
441 static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2", 0x91c, BIT(0), 0);
442 static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2", 0x91c, BIT(1), 0);
443 static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb2", 0x91c, BIT(2), 0);
444 static SUNXI_CCU_GATE(bus_i2c3_clk, "bus-i2c3", "apb2", 0x91c, BIT(3), 0);
446 static SUNXI_CCU_GATE(bus_scr0_clk, "bus-scr0", "apb2", 0x93c, BIT(0), 0);
[all …]
/kernel/linux/linux-5.10/drivers/clk/sunxi/
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
72 clk_parent = APB2; in sun8i_h3_bus_gates_init()
Dclk-simple-gates.c113 CLK_OF_DECLARE(sun6i_a31_apb2, "allwinner,sun6i-a31-apb2-gates-clk",
123 CLK_OF_DECLARE(sun8i_a23_apb2, "allwinner,sun8i-a23-apb2-gates-clk",
/kernel/linux/linux-4.19/drivers/clk/sunxi/
Dclk-sun8i-bus-gates.c30 static const char * const names[] = { "ahb1", "ahb2", "apb1", "apb2" }; in sun8i_h3_bus_gates_init()
31 enum { AHB1, AHB2, APB1, APB2, PARENT_MAX } clk_parent; in sun8i_h3_bus_gates_init() enumerator
80 clk_parent = APB2; in sun8i_h3_bus_gates_init()
/kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Include/
Dgd32vf103_rcu.h48 #define RCU_APB2RST REG32(RCU + 0x0CU) /*!< APB2 reset register */
51 #define RCU_APB2EN REG32(RCU + 0x18U) /*!< APB2 enable register */
82 #define RCU_CFG0_APB2PSC BITS(11,13) /*!< APB2 prescaler selection */
281 #define APB2EN_REG_OFFSET 0x18U /*!< APB2 enable register offset …
286 #define APB2RST_REG_OFFSET 0x0CU /*!< APB2 reset register offset */
330 /* APB2 peripherals */
376 /* APB2 peripherals */
460 CK_APB2, /*!< APB2 clock */
496 /* APB2 prescaler selection */
498 #define RCU_APB2_CKAHB_DIV1 CFG0_APB2PSC(0) /*!< APB2 prescaler sel…
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dallwinner,sun8i-h3-bus-gates-clk.yaml61 clocks = <&ahb1>, <&ahb2>, <&apb1>, <&apb2>;
62 clock-names = "ahb1", "ahb2", "apb1", "apb2";
Dallwinner,sun4i-a10-gates-clk.yaml48 - const: allwinner,sun6i-a31-apb2-gates-clk
49 - const: allwinner,sun8i-a23-apb2-gates-clk
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/
Dsunxi.txt62 "allwinner,sun6i-a31-apb2-gates-clk" - for the APB2 gates on A31
63 "allwinner,sun8i-a23-apb2-gates-clk" - for the APB2 gates on A23

12