Home
last modified time | relevance | path

Searched refs:apb (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/Linux-v6.1/drivers/bus/
Dbt1-apb.c71 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()
94 struct bt1_apb *apb = data; in bt1_apb_isr() local
97 regmap_read(apb->regs, APB_EHB_ADDR, &addr); in bt1_apb_isr()
99 dev_crit_ratelimited(apb->dev, in bt1_apb_isr()
101 atomic_inc_return(&apb->count), in bt1_apb_isr()
113 regmap_update_bits(apb->regs, APB_EHB_ISR, APB_EHB_ISR_PENDING, 0); in bt1_apb_isr()
120 struct bt1_apb *apb = data; in bt1_apb_clear_data() local
[all …]
/Linux-v6.1/drivers/staging/greybus/
Darche-apb-ctrl.c69 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()
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()
83 if (!IS_ERR(apb->vcore)) { in coldboot_seq()
84 ret = regulator_enable(apb->vcore); in coldboot_seq()
91 if (!IS_ERR(apb->vio)) { in coldboot_seq()
92 ret = regulator_enable(apb->vio); in coldboot_seq()
[all …]
/Linux-v6.1/arch/arm/boot/dts/
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 …]
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 …]
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 …]
Dhip01.dtsi45 compatible = "snps,dw-apb-uart";
55 compatible = "snps,dw-apb-uart";
65 compatible = "snps,dw-apb-uart";
75 compatible = "snps,dw-apb-uart";
Dbcm11351.dtsi54 compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
64 compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
74 compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
84 compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
Dsd5203.dts48 compatible = "snps,dw-apb-ictl";
77 compatible = "snps,dw-apb-uart";
87 compatible = "snps,dw-apb-uart";
/Linux-v6.1/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 …]
/Linux-v6.1/Documentation/devicetree/bindings/interrupt-controller/
Dcsky,apb-intc.txt6 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.
23 Definition: must be "csky,apb-intc"
24 "csky,dual-apb-intc"
44 compatible = "csky,apb-intc";
51 compatible = "csky,dual-apb-intc";
/Linux-v6.1/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-v6.1/arch/arc/boot/dts/
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 …]
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";
96 compatible = "snps,dw-apb-ictl";
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";
134 compatible = "snps,dw-apb-ictl";
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";
140 compatible = "snps,dw-apb-ictl";
Dvdk_axc003.dtsi36 debug_uart: dw-apb-uart@5000 {
37 compatible = "snps,dw-apb-uart";
51 compatible = "snps,dw-apb-ictl";
Dvdk_axc003_idu.dtsi44 debug_uart: dw-apb-uart@5000 {
45 compatible = "snps,dw-apb-uart";
59 compatible = "snps,dw-apb-ictl";
/Linux-v6.1/drivers/phy/hisilicon/
Dphy-hi3670-pcie.c155 struct regmap *apb; member
283 regmap_write(phy->apb, SOC_PCIECTRL_CTRL20_ADDR, in hi3670_pcie_natural_cfg()
286 regmap_read(phy->apb, SOC_PCIECTRL_CTRL7_ADDR, &val); in hi3670_pcie_natural_cfg()
288 regmap_write(phy->apb, SOC_PCIECTRL_CTRL7_ADDR, val); in hi3670_pcie_natural_cfg()
291 regmap_read(phy->apb, SOC_PCIECTRL_CTRL12_ADDR, &val); in hi3670_pcie_natural_cfg()
294 regmap_write(phy->apb, SOC_PCIECTRL_CTRL12_ADDR, val); in hi3670_pcie_natural_cfg()
434 regmap_write(phy->apb, SOC_PCIECTRL_CTRL21_ADDR, in hi3670_pcie_ioref_gt()
581 phy->apb = dev_get_regmap(pcie_dev, "kirin_pcie_apb"); in hi3670_pcie_get_resources_from_pcie()
582 if (!phy->apb) { in hi3670_pcie_get_resources_from_pcie()
693 regmap_read(phy->apb, SOC_PCIECTRL_CTRL12_ADDR, &val); in hi3670_pcie_phy_power_on()
[all …]
/Linux-v6.1/arch/riscv/boot/dts/canaan/
Dk210.dtsi184 compatible = "snps,dw-apb-gpio";
194 compatible = "snps,dw-apb-gpio-port";
204 compatible = "snps,dw-apb-uart";
220 compatible = "snps,dw-apb-uart";
236 compatible = "snps,dw-apb-uart";
333 compatible = "snps,dw-apb-timer";
343 compatible = "snps,dw-apb-timer";
353 compatible = "snps,dw-apb-timer";
363 compatible = "snps,dw-apb-timer";
373 compatible = "snps,dw-apb-timer";
[all …]
/Linux-v6.1/arch/arm64/boot/dts/intel/
Dkeembay-soc.dtsi84 compatible = "snps,dw-apb-uart";
94 compatible = "snps,dw-apb-uart";
104 compatible = "snps,dw-apb-uart";
114 compatible = "snps,dw-apb-uart";
/Linux-v6.1/arch/csky/
DKconfig.platforms4 bool "Select dw-apb interrupt controller"
8 This enables support for snps dw-apb-ictl
/Linux-v6.1/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10.dtsi207 compatible = "snps,dw-apb-gpio";
213 compatible = "snps,dw-apb-gpio-port";
227 compatible = "snps,dw-apb-gpio";
233 compatible = "snps,dw-apb-gpio-port";
385 compatible = "snps,dw-apb-ssi";
399 compatible = "snps,dw-apb-ssi";
418 compatible = "snps,dw-apb-timer";
426 compatible = "snps,dw-apb-timer";
434 compatible = "snps,dw-apb-timer";
442 compatible = "snps,dw-apb-timer";
[all …]
/Linux-v6.1/arch/arm64/boot/dts/mediatek/
Dmt8195.dtsi1491 clock-names = "apb", "smi", "gals0";
1502 clock-names = "apb", "smi", "gals0";
1514 clock-names = "apb", "smi", "gals0", "gals1";
1525 clock-names = "apb", "smi";
1568 clock-names = "apb", "smi";
1580 clock-names = "apb", "smi", "gals";
1598 clock-names = "apb", "smi", "gals";
1610 clock-names = "apb", "smi", "gals";
1628 clock-names = "apb", "smi", "gals";
1638 clock-names = "apb", "smi", "gals0";
[all …]
/Linux-v6.1/drivers/pci/controller/dwc/
Dpci-meson.c64 struct reset_control *apb; member
100 mrst->apb = meson_pcie_get_reset(mp, "apb", PCIE_SHARED_RESET); in meson_pcie_get_resets()
101 if (IS_ERR(mrst->apb)) in meson_pcie_get_resets()
102 return PTR_ERR(mrst->apb); in meson_pcie_get_resets()
103 reset_control_deassert(mrst->apb); in meson_pcie_get_resets()
157 reset_control_assert(mrst->apb); in meson_pcie_reset()
160 reset_control_deassert(mrst->apb); in meson_pcie_reset()
Dpcie-kirin.c77 struct regmap *apb; member
464 kirin_pcie->apb = devm_regmap_init_mmio(dev, apb_base, in kirin_pcie_get_resource()
466 if (IS_ERR(kirin_pcie->apb)) in kirin_pcie_get_resource()
467 return PTR_ERR(kirin_pcie->apb); in kirin_pcie_get_resource()
502 regmap_read(kirin_pcie->apb, SOC_PCIECTRL_CTRL0_ADDR, &val); in kirin_pcie_sideband_dbi_w_mode()
508 regmap_write(kirin_pcie->apb, SOC_PCIECTRL_CTRL0_ADDR, val); in kirin_pcie_sideband_dbi_w_mode()
516 regmap_read(kirin_pcie->apb, SOC_PCIECTRL_CTRL1_ADDR, &val); in kirin_pcie_sideband_dbi_r_mode()
522 regmap_write(kirin_pcie->apb, SOC_PCIECTRL_CTRL1_ADDR, val); in kirin_pcie_sideband_dbi_r_mode()
605 regmap_read(kirin_pcie->apb, PCIE_APB_PHY_STATUS0, &val); in kirin_pcie_link_up()
617 regmap_write(kirin_pcie->apb, PCIE_APP_LTSSM_ENABLE, in kirin_pcie_start_link()

12345678910>>...12