Home
last modified time | relevance | path

Searched full:apb (Results 1 – 25 of 533) sorted by relevance

12345678910>>...22

/Linux-v5.10/drivers/bus/
Dbt1-apb.c8 * 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 …]
/Linux-v5.10/drivers/staging/greybus/
Darche-apb-ctrl.c3 * 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 …]
/Linux-v5.10/Documentation/devicetree/bindings/bus/
Dbaikal,bt1-apb.yaml5 $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 …]
/Linux-v5.10/Documentation/devicetree/bindings/interrupt-controller/
Dcsky,apb-intc.txt2 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";
Dsnps,dw-apb-ictl.txt1 Synopsys DesignWare APB interrupt controller (dw_apb_ictl)
3 Synopsys DesignWare provides interrupt controller IP for APB known as
5 APB bus, e.g. Marvell Armada 1500. It can also be used as primary interrupt
9 - compatible: shall be "snps,dw-apb-ictl"
29 compatible = "snps,dw-apb-ictl";
39 compatible = "snps,dw-apb-ictl";
/Linux-v5.10/Documentation/devicetree/bindings/timer/
Dsnps,dw-apb-timer.yaml4 $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";
/Linux-v5.10/arch/arm/boot/dts/
Dberlin2cd.dtsi166 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 …]
Dberlin2.dtsi176 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 …]
Dberlin2q.dtsi237 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 …]
Dpicoxcell-pc3x2.dtsi112 apb {
159 compatible = "snps,dw-apb-gpio";
165 compatible = "snps,dw-apb-gpio-bank";
176 compatible = "snps,dw-apb-gpio-bank";
188 compatible = "snps,dw-apb-uart";
198 compatible = "snps,dw-apb-uart";
208 compatible = "snps,dw-apb-wdg";
/Linux-v5.10/arch/arm64/boot/dts/synaptics/
Dberlin4ct.dtsi125 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 …]
Das370.dtsi121 apb@e80000 {
128 compatible = "snps,dw-apb-uart";
137 compatible = "snps,dw-apb-gpio";
143 compatible = "snps,dw-apb-gpio-port";
155 compatible = "snps,dw-apb-gpio";
161 compatible = "snps,dw-apb-gpio-port";
/Linux-v5.10/drivers/clk/sprd/
Dsc9860-clk.c380 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 …]
/Linux-v5.10/arch/arc/boot/dts/
Daxc003.dtsi55 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";
Daxc001.dtsi47 dw-apb-gpio@2000 {
48 compatible = "snps,dw-apb-gpio";
54 compatible = "snps,dw-apb-gpio-port";
66 debug_uart: dw-apb-uart@5000 {
67 compatible = "snps,dw-apb-uart";
83 * This INTC is actually connected to DW APB GPIO
96 compatible = "snps,dw-apb-ictl";
Daxs10x_mb.dtsi132 compatible = "snps,dw-apb-uart";
142 compatible = "snps,dw-apb-uart";
153 compatible = "snps,dw-apb-uart";
244 compatible = "snps,dw-apb-gpio";
250 compatible = "snps,dw-apb-gpio-port";
258 compatible = "snps,dw-apb-gpio-port";
266 compatible = "snps,dw-apb-gpio-port";
275 compatible = "snps,dw-apb-gpio";
281 compatible = "snps,dw-apb-gpio-port";
289 compatible = "snps,dw-apb-gpio-port";
[all …]
Daxc003_idu.dtsi62 dw-apb-gpio@2000 {
63 compatible = "snps,dw-apb-gpio";
69 compatible = "snps,dw-apb-gpio-port";
81 debug_uart: dw-apb-uart@5000 {
82 compatible = "snps,dw-apb-uart";
127 * This INTC is actually connected to DW APB GPIO
140 compatible = "snps,dw-apb-ictl";
/Linux-v5.10/Documentation/devicetree/bindings/serial/
Dsnps-dw-apb-uart.yaml4 $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";
/Linux-v5.10/Documentation/devicetree/bindings/gpio/
Dsnps,dw-apb-gpio.yaml4 $id: http://devicetree.org/schemas/gpio/snps,dw-apb-gpio.yaml#
7 title: Synopsys DesignWare APB GPIO controller
23 const: snps,dw-apb-gpio
37 - description: APB interface clock source
54 const: snps,dw-apb-gpio-port
114 compatible = "snps,dw-apb-gpio";
120 compatible = "snps,dw-apb-gpio-port";
132 compatible = "snps,dw-apb-gpio-port";
/Linux-v5.10/Documentation/devicetree/bindings/spi/
Dsnps,dw-apb-ssi.yaml4 $id: http://devicetree.org/schemas/spi/snps,dw-apb-ssi.yaml#
46 - snps,dw-apb-ssi
53 - const: snps,dw-apb-ssi
57 const: amazon,alpine-dw-apb-ssi
61 - const: snps,dw-apb-ssi
72 - description: DW APB SSI controller memory mapped registers
82 - description: APB interface clock source
156 compatible = "snps,dw-apb-ssi";
/Linux-v5.10/arch/arm64/boot/dts/bitmain/
Dbm1880.dtsi123 compatible = "snps,dw-apb-gpio";
127 compatible = "snps,dw-apb-gpio-port";
141 compatible = "snps,dw-apb-gpio";
145 compatible = "snps,dw-apb-gpio-port";
159 compatible = "snps,dw-apb-gpio";
163 compatible = "snps,dw-apb-gpio-port";
175 compatible = "snps,dw-apb-uart";
188 compatible = "snps,dw-apb-uart";
201 compatible = "snps,dw-apb-uart";
214 compatible = "snps,dw-apb-uart";
/Linux-v5.10/Documentation/devicetree/bindings/pci/
Dkirin-pcie.txt13 - reg: Should contain rc_dbi, apb, phy, config registers location and length.
16 "apb": apb Ctrl register defined by Kirin;
17 "phy": apb PHY register defined by Kirin;
29 reg-names = "dbi","apb","phy", "config";
/Linux-v5.10/arch/x86/kernel/
Dapb_timer.c3 * apb_timer.c: Driver for Langwell APB timers
20 * It is also worth notice that APB timer does not support true one-shot mode,
22 * APB timer can also be used as broadcast timer along with per cpu local APIC
23 * timer, but by default APB timer has higher rating than local APIC timers.
53 * Common DW APB timer info
124 panic("Failed to setup APB system timer\n"); in apbt_set_mapping()
233 return cpuhp_setup_state(CPUHP_X86_APB_DEAD, "x86/apb:dead", NULL, in apbt_late_init()
315 /* kernel cmdline disable apb timer, so we will use lapic timers */ in apbt_time_init()
325 pr_debug("%s: %d APB timers used\n", __func__, apbt_num_timers_used); in apbt_time_init()
346 panic("failed to enable APB timer\n"); in apbt_time_init()
/Linux-v5.10/Documentation/devicetree/bindings/clock/
Dmoxa,moxart-clock.txt7 MOXA ART SoCs allow to determine PLL output and APB frequencies
23 APB:
26 - compatible : Must be "moxa,moxart-apb-clock"
44 compatible = "moxa,moxart-apb-clock";
/Linux-v5.10/drivers/clocksource/
Ddw_apb_timer.c8 * Support for the Synopsys DesignWare APB Timers.
82 * @dw_ced: The APB clock to stop generating events.
157 * DW APB p. 46, load counter with all 1s before starting free in apbt_set_oneshot()
180 * DW APB p. 46, have to disable timer before load counter, in apbt_set_periodic()
223 * dw_apb_clockevent_init() - use an APB timer as a clock_event_device
290 * @dw_ced: The APB clock to resume.
300 * @dw_ced: The APB clock to stop generating the events.
310 * @dw_ced: The APB clock to register as a clock_event_device.
367 * dw_apb_clocksource_init() - use an APB timer as a clocksource.
374 * This creates a clocksource using an APB timer but does not yet register it
[all …]

12345678910>>...22