/linux-6.12.1/drivers/bus/ |
D | bt1-apb.c | 70 static inline unsigned long bt1_apb_n_to_timeout_us(struct bt1_apb *apb, u32 n) in bt1_apb_n_to_timeout_us() argument 74 do_div(timeout, apb->rate); in bt1_apb_n_to_timeout_us() 80 static inline unsigned long bt1_apb_timeout_to_n_us(struct bt1_apb *apb, in bt1_apb_timeout_to_n_us() argument 83 u64 n = (u64)timeout * apb->rate; in bt1_apb_timeout_to_n_us() 93 struct bt1_apb *apb = data; in bt1_apb_isr() local 96 regmap_read(apb->regs, APB_EHB_ADDR, &addr); in bt1_apb_isr() 98 dev_crit_ratelimited(apb->dev, in bt1_apb_isr() 100 atomic_inc_return(&apb->count), in bt1_apb_isr() 112 regmap_update_bits(apb->regs, APB_EHB_ISR, APB_EHB_ISR_PENDING, 0); in bt1_apb_isr() 119 struct bt1_apb *apb = data; in bt1_apb_clear_data() local [all …]
|
/linux-6.12.1/drivers/staging/greybus/ |
D | arche-apb-ctrl.c | 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() 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-6.12.1/arch/arm/boot/dts/synaptics/ |
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 | 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 | 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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/interrupt-controller/ |
D | csky,apb-intc.txt | 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. 23 Definition: must be "csky,apb-intc" 24 "csky,dual-apb-intc" 44 compatible = "csky,apb-intc"; 51 compatible = "csky,dual-apb-intc";
|
/linux-6.12.1/arch/riscv/boot/dts/sophgo/ |
D | cv18xx.dtsi | 65 compatible = "snps,dw-apb-gpio"; 71 compatible = "snps,dw-apb-gpio-port"; 83 compatible = "snps,dw-apb-gpio"; 89 compatible = "snps,dw-apb-gpio-port"; 101 compatible = "snps,dw-apb-gpio"; 107 compatible = "snps,dw-apb-gpio-port"; 119 compatible = "snps,dw-apb-gpio"; 125 compatible = "snps,dw-apb-gpio-port"; 192 compatible = "snps,dw-apb-uart"; 203 compatible = "snps,dw-apb-uart"; [all …]
|
/linux-6.12.1/arch/riscv/boot/dts/thead/ |
D | th1520.dtsi | 250 compatible = "thead,th1520-spi", "snps,dw-apb-ssi"; 260 compatible = "snps,dw-apb-uart"; 298 compatible = "snps,dw-apb-uart"; 309 compatible = "snps,dw-apb-uart"; 320 compatible = "snps,dw-apb-gpio"; 327 compatible = "snps,dw-apb-gpio-port"; 339 compatible = "snps,dw-apb-gpio"; 346 compatible = "snps,dw-apb-gpio-port"; 358 compatible = "snps,dw-apb-gpio"; 365 compatible = "snps,dw-apb-gpio-port"; [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/bitmain/ |
D | bm1880.dtsi | 123 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-6.12.1/arch/arc/boot/dts/ |
D | axs10x_mb.dtsi | 132 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 …]
|
D | axc001.dtsi | 47 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";
|
D | axc003_idu.dtsi | 62 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";
|
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"; 134 compatible = "snps,dw-apb-ictl";
|
D | vdk_axc003.dtsi | 36 debug_uart: dw-apb-uart@5000 { 37 compatible = "snps,dw-apb-uart"; 51 compatible = "snps,dw-apb-ictl";
|
D | vdk_axc003_idu.dtsi | 44 debug_uart: dw-apb-uart@5000 { 45 compatible = "snps,dw-apb-uart"; 59 compatible = "snps,dw-apb-ictl";
|
/linux-6.12.1/arch/arm/boot/dts/hisilicon/ |
D | hip01.dtsi | 45 compatible = "snps,dw-apb-uart"; 55 compatible = "snps,dw-apb-uart"; 65 compatible = "snps,dw-apb-uart"; 75 compatible = "snps,dw-apb-uart";
|
D | sd5203.dts | 48 compatible = "snps,dw-apb-ictl"; 77 compatible = "snps,dw-apb-uart"; 87 compatible = "snps,dw-apb-uart";
|
/linux-6.12.1/drivers/phy/hisilicon/ |
D | phy-hi3670-pcie.c | 155 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-6.12.1/arch/arm64/boot/dts/intel/ |
D | keembay-soc.dtsi | 84 compatible = "snps,dw-apb-uart"; 94 compatible = "snps,dw-apb-uart"; 104 compatible = "snps,dw-apb-uart"; 114 compatible = "snps,dw-apb-uart";
|
D | socfpga_agilex5.dtsi | 226 compatible = "snps,dw-apb-gpio"; 234 compatible = "snps,dw-apb-gpio-port"; 307 compatible = "snps,dw-apb-ssi"; 324 compatible = "snps,dw-apb-ssi"; 343 compatible = "snps,dw-apb-timer"; 351 compatible = "snps,dw-apb-timer"; 359 compatible = "snps,dw-apb-timer"; 367 compatible = "snps,dw-apb-timer"; 375 compatible = "snps,dw-apb-uart"; 386 compatible = "snps,dw-apb-uart";
|
/linux-6.12.1/arch/riscv/boot/dts/canaan/ |
D | k210.dtsi | 179 compatible = "snps,dw-apb-gpio"; 190 compatible = "snps,dw-apb-gpio-port"; 200 compatible = "snps,dw-apb-uart"; 217 compatible = "snps,dw-apb-uart"; 234 compatible = "snps,dw-apb-uart"; 338 compatible = "snps,dw-apb-timer"; 348 compatible = "snps,dw-apb-timer"; 358 compatible = "snps,dw-apb-timer"; 368 compatible = "snps,dw-apb-timer"; 378 compatible = "snps,dw-apb-timer"; [all …]
|
/linux-6.12.1/drivers/pci/controller/dwc/ |
D | pcie-kirin.c | 74 struct regmap *apb; member 463 kirin_pcie->apb = devm_regmap_init_mmio(dev, apb_base, in kirin_pcie_get_resource() 465 if (IS_ERR(kirin_pcie->apb)) in kirin_pcie_get_resource() 466 return PTR_ERR(kirin_pcie->apb); in kirin_pcie_get_resource() 498 regmap_read(kirin_pcie->apb, SOC_PCIECTRL_CTRL0_ADDR, &val); in kirin_pcie_sideband_dbi_w_mode() 504 regmap_write(kirin_pcie->apb, SOC_PCIECTRL_CTRL0_ADDR, val); in kirin_pcie_sideband_dbi_w_mode() 512 regmap_read(kirin_pcie->apb, SOC_PCIECTRL_CTRL1_ADDR, &val); in kirin_pcie_sideband_dbi_r_mode() 518 regmap_write(kirin_pcie->apb, SOC_PCIECTRL_CTRL1_ADDR, val); in kirin_pcie_sideband_dbi_r_mode() 601 regmap_read(kirin_pcie->apb, PCIE_APB_PHY_STATUS0, &val); in kirin_pcie_link_up() 613 regmap_write(kirin_pcie->apb, PCIE_APP_LTSSM_ENABLE, in kirin_pcie_start_link()
|
/linux-6.12.1/arch/arm/boot/dts/broadcom/ |
D | bcm11351.dtsi | 53 compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; 63 compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; 73 compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; 83 compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
|
/linux-6.12.1/arch/csky/ |
D | Kconfig.platforms | 4 bool "Select dw-apb interrupt controller" 8 This enables support for snps dw-apb-ictl
|