| /kernel/linux/linux-6.6/drivers/bus/ |
| D | bt1-apb.c | 8 * Baikal-T1 APB-bus driver 38 * struct bt1_apb - Baikal-T1 APB EHB private data 40 * @regs: APB EHB registers map. 43 * @rate: APB-bus reference clock rate. 44 * @pclk: APB-reference clock. 45 * @prst: APB domain reset line. 71 static inline unsigned long bt1_apb_n_to_timeout_us(struct bt1_apb *apb, u32 n) in bt1_apb_n_to_timeout_us() argument 75 do_div(timeout, apb->rate); in bt1_apb_n_to_timeout_us() 81 static inline unsigned long bt1_apb_timeout_to_n_us(struct bt1_apb *apb, in bt1_apb_timeout_to_n_us() argument 84 u64 n = (u64)timeout * apb->rate; in bt1_apb_timeout_to_n_us() [all …]
|
| /kernel/linux/linux-5.10/drivers/bus/ |
| D | bt1-apb.c | 8 * Baikal-T1 APB-bus driver 38 * struct bt1_apb - Baikal-T1 APB EHB private data 40 * @regs: APB EHB registers map. 43 * @rate: APB-bus reference clock rate. 44 * @pclk: APB-reference clock. 45 * @prst: APB domain reset line. 71 static inline unsigned long bt1_apb_n_to_timeout_us(struct bt1_apb *apb, u32 n) in bt1_apb_n_to_timeout_us() argument 75 do_div(timeout, apb->rate); in bt1_apb_n_to_timeout_us() 81 static inline unsigned long bt1_apb_timeout_to_n_us(struct bt1_apb *apb, in bt1_apb_timeout_to_n_us() argument 84 u64 n = (u64)timeout * apb->rate; in bt1_apb_timeout_to_n_us() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/greybus/ |
| D | arche-apb-ctrl.c | 3 * Arche Platform driver to control APB. 69 struct arche_apb_ctrl_drvdata *apb = platform_get_drvdata(pdev); in coldboot_seq() local 72 if (apb->init_disabled || in coldboot_seq() 73 apb->state == ARCHE_PLATFORM_STATE_ACTIVE) in coldboot_seq() 76 /* Hold APB in reset state */ in coldboot_seq() 77 assert_reset(apb->resetn); in coldboot_seq() 79 if (apb->state == ARCHE_PLATFORM_STATE_FW_FLASHING && apb->spi_en) in coldboot_seq() 80 devm_gpiod_put(dev, apb->spi_en); in coldboot_seq() 82 /* Enable power to APB */ in coldboot_seq() 83 if (!IS_ERR(apb->vcore)) { in coldboot_seq() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/greybus/ |
| D | arche-apb-ctrl.c | 3 * Arche Platform driver to control APB. 69 struct arche_apb_ctrl_drvdata *apb = platform_get_drvdata(pdev); in coldboot_seq() local 72 if (apb->init_disabled || in coldboot_seq() 73 apb->state == ARCHE_PLATFORM_STATE_ACTIVE) in coldboot_seq() 76 /* Hold APB in reset state */ in coldboot_seq() 77 assert_reset(apb->resetn); in coldboot_seq() 79 if (apb->state == ARCHE_PLATFORM_STATE_FW_FLASHING && apb->spi_en) in coldboot_seq() 80 devm_gpiod_put(dev, apb->spi_en); in coldboot_seq() 82 /* Enable power to APB */ in coldboot_seq() 83 if (!IS_ERR(apb->vcore)) { in coldboot_seq() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/bus/ |
| D | baikal,bt1-apb.yaml | 5 $id: http://devicetree.org/schemas/bus/baikal,bt1-apb.yaml# 8 title: Baikal-T1 APB-bus 15 which routes them to the AXI-APB bridge. This interface is a single master 17 addressed APB slave devices. In case of any APB protocol collisions, slave 19 reported to the APB terminator (APB Errors Handler Block). 27 const: baikal,bt1-apb 31 - description: APB EHB MMIO registers 32 - description: APB MMIO region with no any device mapped 44 - description: APB reference clock 52 - description: APB domain reset line [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/bus/ |
| D | baikal,bt1-apb.yaml | 5 $id: http://devicetree.org/schemas/bus/baikal,bt1-apb.yaml# 8 title: Baikal-T1 APB-bus 15 which routes them to the AXI-APB bridge. This interface is a single master 17 addressed APB slave devices. In case of any APB protocol collisions, slave 19 reported to the APB terminator (APB Errors Handler Block). 27 const: baikal,bt1-apb 31 - description: APB EHB MMIO registers 32 - description: APB MMIO region with no any device mapped 44 - description: APB reference clock 52 - description: APB domain reset line [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/ |
| D | csky,apb-intc.txt | 2 C-SKY APB Interrupt Controller 5 C-SKY APB Interrupt Controller is a simple soc interrupt controller 6 on the apb bus and we only use it as root irq controller. 8 - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums. 9 - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported. 16 Description: Describes APB interrupt controller 23 Definition: must be "csky,apb-intc" 24 "csky,dual-apb-intc" 44 compatible = "csky,apb-intc"; 51 compatible = "csky,dual-apb-intc";
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/ |
| D | csky,apb-intc.txt | 2 C-SKY APB Interrupt Controller 5 C-SKY APB Interrupt Controller is a simple soc interrupt controller 6 on the apb bus and we only use it as root irq controller. 8 - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums. 9 - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported. 16 Description: Describes APB interrupt controller 23 Definition: must be "csky,apb-intc" 24 "csky,dual-apb-intc" 44 compatible = "csky,apb-intc"; 51 compatible = "csky,dual-apb-intc";
|
| /kernel/linux/linux-6.6/arch/riscv/boot/dts/thead/ |
| D | th1520.dtsi | 125 apb_clk: apb-clk-clock { 168 compatible = "snps,dw-apb-uart"; 178 compatible = "snps,dw-apb-uart"; 188 compatible = "snps,dw-apb-uart"; 198 compatible = "snps,dw-apb-gpio"; 204 compatible = "snps,dw-apb-gpio-port"; 216 compatible = "snps,dw-apb-gpio"; 222 compatible = "snps,dw-apb-gpio-port"; 234 compatible = "snps,dw-apb-gpio"; 240 compatible = "snps,dw-apb-gpio-port"; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/timer/ |
| D | snps,dw-apb-timer.yaml | 4 $id: http://devicetree.org/schemas/timer/snps,dw-apb-timer.yaml# 7 title: Synopsys DesignWare APB Timer 15 - const: snps,dw-apb-timer 17 - snps,dw-apb-timer-sp 18 - snps,dw-apb-timer-osc 34 - description: APB interface clock source 63 compatible = "snps,dw-apb-timer"; 71 compatible = "snps,dw-apb-timer"; 79 compatible = "snps,dw-apb-timer";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/timer/ |
| D | snps,dw-apb-timer.yaml | 4 $id: http://devicetree.org/schemas/timer/snps,dw-apb-timer.yaml# 7 title: Synopsys DesignWare APB Timer 15 - const: snps,dw-apb-timer 17 - snps,dw-apb-timer-sp 18 - snps,dw-apb-timer-osc 31 - description: APB interface clock source 67 compatible = "snps,dw-apb-timer"; 75 compatible = "snps,dw-apb-timer"; 83 compatible = "snps,dw-apb-timer";
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/synaptics/ |
| D | berlin2cd.dtsi | 166 apb@e80000 { 175 compatible = "snps,dw-apb-gpio"; 181 compatible = "snps,dw-apb-gpio-port"; 193 compatible = "snps,dw-apb-gpio"; 199 compatible = "snps,dw-apb-gpio-port"; 211 compatible = "snps,dw-apb-gpio"; 217 compatible = "snps,dw-apb-gpio-port"; 229 compatible = "snps,dw-apb-gpio"; 235 compatible = "snps,dw-apb-gpio-port"; 267 compatible = "snps,dw-apb-ssi"; [all …]
|
| D | berlin2.dtsi | 176 apb@e80000 { 185 compatible = "snps,dw-apb-gpio"; 191 compatible = "snps,dw-apb-gpio-port"; 203 compatible = "snps,dw-apb-gpio"; 209 compatible = "snps,dw-apb-gpio-port"; 221 compatible = "snps,dw-apb-gpio"; 227 compatible = "snps,dw-apb-gpio-port"; 239 compatible = "snps,dw-apb-gpio"; 245 compatible = "snps,dw-apb-gpio-port"; 257 compatible = "snps,dw-apb-timer"; [all …]
|
| D | berlin2q.dtsi | 237 apb@e80000 { 246 compatible = "snps,dw-apb-gpio"; 252 compatible = "snps,dw-apb-gpio-port"; 264 compatible = "snps,dw-apb-gpio"; 270 compatible = "snps,dw-apb-gpio-port"; 282 compatible = "snps,dw-apb-gpio"; 288 compatible = "snps,dw-apb-gpio-port"; 300 compatible = "snps,dw-apb-gpio"; 306 compatible = "snps,dw-apb-gpio-port"; 342 compatible = "snps,dw-apb-timer"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | berlin2cd.dtsi | 166 apb@e80000 { 175 compatible = "snps,dw-apb-gpio"; 181 compatible = "snps,dw-apb-gpio-port"; 193 compatible = "snps,dw-apb-gpio"; 199 compatible = "snps,dw-apb-gpio-port"; 211 compatible = "snps,dw-apb-gpio"; 217 compatible = "snps,dw-apb-gpio-port"; 229 compatible = "snps,dw-apb-gpio"; 235 compatible = "snps,dw-apb-gpio-port"; 267 compatible = "snps,dw-apb-ssi"; [all …]
|
| D | berlin2.dtsi | 176 apb@e80000 { 185 compatible = "snps,dw-apb-gpio"; 191 compatible = "snps,dw-apb-gpio-port"; 203 compatible = "snps,dw-apb-gpio"; 209 compatible = "snps,dw-apb-gpio-port"; 221 compatible = "snps,dw-apb-gpio"; 227 compatible = "snps,dw-apb-gpio-port"; 239 compatible = "snps,dw-apb-gpio"; 245 compatible = "snps,dw-apb-gpio-port"; 257 compatible = "snps,dw-apb-timer"; [all …]
|
| D | berlin2q.dtsi | 237 apb@e80000 { 246 compatible = "snps,dw-apb-gpio"; 252 compatible = "snps,dw-apb-gpio-port"; 264 compatible = "snps,dw-apb-gpio"; 270 compatible = "snps,dw-apb-gpio-port"; 282 compatible = "snps,dw-apb-gpio"; 288 compatible = "snps,dw-apb-gpio-port"; 300 compatible = "snps,dw-apb-gpio"; 306 compatible = "snps,dw-apb-gpio-port"; 342 compatible = "snps,dw-apb-timer"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/synaptics/ |
| D | berlin4ct.dtsi | 127 apb@e80000 { 136 compatible = "snps,dw-apb-gpio"; 142 compatible = "snps,dw-apb-gpio-port"; 154 compatible = "snps,dw-apb-gpio"; 160 compatible = "snps,dw-apb-gpio-port"; 172 compatible = "snps,dw-apb-gpio"; 178 compatible = "snps,dw-apb-gpio-port"; 190 compatible = "snps,dw-apb-gpio"; 196 compatible = "snps,dw-apb-gpio-port"; 208 compatible = "snps,dw-apb-ictl"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/synaptics/ |
| D | berlin4ct.dtsi | 125 apb@e80000 { 134 compatible = "snps,dw-apb-gpio"; 140 compatible = "snps,dw-apb-gpio-port"; 152 compatible = "snps,dw-apb-gpio"; 158 compatible = "snps,dw-apb-gpio-port"; 170 compatible = "snps,dw-apb-gpio"; 176 compatible = "snps,dw-apb-gpio-port"; 188 compatible = "snps,dw-apb-gpio"; 194 compatible = "snps,dw-apb-gpio-port"; 206 compatible = "snps,dw-apb-ictl"; [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/sprd/ |
| D | sc9860-clk.c | 380 static SPRD_MUX_CLK(ap_apb, "ap-apb", ap_apb_parents, 500 static SPRD_COMP_CLK(aon_apb, "aon-apb", aon_apb_parents, 0x230, 826 static SPRD_SC_GATE_CLK(avs_lit_eb, "avs-lit-eb", "aon-apb", 0x0, 828 static SPRD_SC_GATE_CLK(avs_big_eb, "avs-big-eb", "aon-apb", 0x0, 830 static SPRD_SC_GATE_CLK(ap_intc5_eb, "ap-intc5-eb", "aon-apb", 0x0, 832 static SPRD_SC_GATE_CLK(gpio_eb, "gpio-eb", "aon-apb", 0x0, 834 static SPRD_SC_GATE_CLK(pwm0_eb, "pwm0-eb", "aon-apb", 0x0, 836 static SPRD_SC_GATE_CLK(pwm1_eb, "pwm1-eb", "aon-apb", 0x0, 838 static SPRD_SC_GATE_CLK(pwm2_eb, "pwm2-eb", "aon-apb", 0x0, 840 static SPRD_SC_GATE_CLK(pwm3_eb, "pwm3-eb", "aon-apb", 0x0, [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/sprd/ |
| D | sc9860-clk.c | 380 static SPRD_MUX_CLK(ap_apb, "ap-apb", ap_apb_parents, 500 static SPRD_COMP_CLK(aon_apb, "aon-apb", aon_apb_parents, 0x230, 826 static SPRD_SC_GATE_CLK(avs_lit_eb, "avs-lit-eb", "aon-apb", 0x0, 828 static SPRD_SC_GATE_CLK(avs_big_eb, "avs-big-eb", "aon-apb", 0x0, 830 static SPRD_SC_GATE_CLK(ap_intc5_eb, "ap-intc5-eb", "aon-apb", 0x0, 832 static SPRD_SC_GATE_CLK(gpio_eb, "gpio-eb", "aon-apb", 0x0, 834 static SPRD_SC_GATE_CLK(pwm0_eb, "pwm0-eb", "aon-apb", 0x0, 836 static SPRD_SC_GATE_CLK(pwm1_eb, "pwm1-eb", "aon-apb", 0x0, 838 static SPRD_SC_GATE_CLK(pwm2_eb, "pwm2-eb", "aon-apb", 0x0, 840 static SPRD_SC_GATE_CLK(pwm3_eb, "pwm3-eb", "aon-apb", 0x0, [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/serial/ |
| D | snps-dw-apb-uart.yaml | 4 $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml# 40 - const: snps,dw-apb-uart 43 - brcm,bcm11351-dw-apb-uart 44 - brcm,bcm21664-dw-apb-uart 45 - const: snps,dw-apb-uart 50 - const: snps,dw-apb-uart 51 - const: snps,dw-apb-uart 126 compatible = "snps,dw-apb-uart"; 141 compatible = "snps,dw-apb-uart"; 152 compatible = "snps,dw-apb-uart";
|
| /kernel/linux/linux-6.6/arch/arc/boot/dts/ |
| D | axc003.dtsi | 55 dw-apb-gpio@2000 { 56 compatible = "snps,dw-apb-gpio"; 62 compatible = "snps,dw-apb-gpio-port"; 74 debug_uart: dw-apb-uart@5000 { 75 compatible = "snps,dw-apb-uart"; 120 * The DW APB ICTL intc on MB is connected to CPU intc via a 121 * DT "invisible" DW APB GPIO block, configured to simply pass thru 125 * ABPG GPIO. Thus set "interrupts = <24>" (DW APB GPIO to core) 126 * instead of "interrupts = <12>" (DW APB ICTL to DW APB GPIO) 134 compatible = "snps,dw-apb-ictl";
|
| /kernel/linux/linux-5.10/arch/arc/boot/dts/ |
| D | axc003.dtsi | 55 dw-apb-gpio@2000 { 56 compatible = "snps,dw-apb-gpio"; 62 compatible = "snps,dw-apb-gpio-port"; 74 debug_uart: dw-apb-uart@5000 { 75 compatible = "snps,dw-apb-uart"; 120 * The DW APB ICTL intc on MB is connected to CPU intc via a 121 * DT "invisible" DW APB GPIO block, configured to simply pass thru 125 * ABPG GPIO. Thus set "interrupts = <24>" (DW APB GPIO to core) 126 * instead of "interrupts = <12>" (DW APB ICTL to DW APB GPIO) 134 compatible = "snps,dw-apb-ictl";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/ |
| D | snps-dw-apb-uart.yaml | 4 $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml# 35 - const: snps,dw-apb-uart 38 - brcm,bcm11351-dw-apb-uart 39 - brcm,bcm21664-dw-apb-uart 40 - const: snps,dw-apb-uart 41 - const: snps,dw-apb-uart 109 compatible = "snps,dw-apb-uart"; 124 compatible = "snps,dw-apb-uart"; 135 compatible = "snps,dw-apb-uart";
|