| /linux/drivers/bus/ |
| H A 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/arch/arm/boot/dts/synaptics/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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/arch/arm64/boot/dts/synaptics/ |
| H A 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/arch/arm64/boot/dts/bitmain/ |
| H A 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/arch/riscv/boot/dts/thead/ |
| H A D | th1520.dtsi | 299 compatible = "thead,th1520-spi", "snps,dw-apb-ssi"; 309 compatible = "snps,dw-apb-uart"; 322 reg-names = "dwmac", "apb"; 327 clock-names = "stmmaceth", "pclk", "apb"; 345 reg-names = "dwmac", "apb"; 350 clock-names = "stmmaceth", "pclk", "apb"; 393 compatible = "snps,dw-apb-uart"; 404 compatible = "snps,dw-apb-uart"; 415 compatible = "snps,dw-apb-gpio"; 423 compatible = "snps,dw-apb-gpio-port"; [all …]
|
| /linux/arch/arc/boot/dts/ |
| H A 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 …]
|
| H A 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";
|
| H A 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";
|
| H A 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";
|
| H A D | vdk_axc003.dtsi | 36 debug_uart: dw-apb-uart@5000 { 37 compatible = "snps,dw-apb-uart"; 51 compatible = "snps,dw-apb-ictl";
|
| H A 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/drivers/clk/sunxi-ng/ |
| H A D | ccu-sun55i-a523-mcu.c | 34 static const struct clk_parent_data apb[] = { variable 143 static SUNXI_CCU_GATE_DATA(bus_i2s0_clk, "bus-i2s0", apb, 0x040, BIT(0), 0); 144 static SUNXI_CCU_GATE_DATA(bus_i2s1_clk, "bus-i2s1", apb, 0x040, BIT(1), 0); 145 static SUNXI_CCU_GATE_DATA(bus_i2s2_clk, "bus-i2s2", apb, 0x040, BIT(2), 0); 146 static SUNXI_CCU_GATE_DATA(bus_i2s3_clk, "bus-i2s3", apb, 0x040, BIT(3), 0); 168 static SUNXI_CCU_GATE_DATA(bus_spdif_clk, "bus-spdif", apb, 0x04c, BIT(0), 0); 177 static SUNXI_CCU_GATE_DATA(bus_dmic_clk, "bus-dmic", apb, 0x054, BIT(0), 0); 195 apb, 0x060, BIT(0), 0); 200 apb, 0x06c, BIT(0), 0); 282 static SUNXI_CCU_GATE_DATA(bus_mcu_pwm0_clk, "bus-mcu-pwm0", apb,
|
| /linux/arch/arm/boot/dts/hisilicon/ |
| H A 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";
|
| H A D | sd5203.dts | 48 compatible = "snps,dw-apb-ictl"; 77 compatible = "snps,dw-apb-uart"; 87 compatible = "snps,dw-apb-uart";
|
| /linux/arch/arm64/boot/dts/intel/ |
| H A 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";
|
| H A D | socfpga_agilex.dtsi | 230 compatible = "snps,dw-apb-gpio"; 236 compatible = "snps,dw-apb-gpio-port"; 250 compatible = "snps,dw-apb-gpio"; 256 compatible = "snps,dw-apb-gpio-port"; 454 compatible = "snps,dw-apb-ssi"; 470 compatible = "snps,dw-apb-ssi"; 491 compatible = "snps,dw-apb-timer"; 499 compatible = "snps,dw-apb-timer"; 507 compatible = "snps,dw-apb-timer"; 515 compatible = "snps,dw-apb-timer"; [all …]
|
| /linux/arch/riscv/boot/dts/canaan/ |
| H A 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/drivers/pci/controller/dwc/ |
| H A D | pcie-kirin.c | 74 struct regmap *apb; member 460 kirin_pcie->apb = devm_regmap_init_mmio(dev, apb_base, in kirin_pcie_get_resource() 462 if (IS_ERR(kirin_pcie->apb)) in kirin_pcie_get_resource() 463 return PTR_ERR(kirin_pcie->apb); in kirin_pcie_get_resource() 491 regmap_read(kirin_pcie->apb, SOC_PCIECTRL_CTRL0_ADDR, &val); in kirin_pcie_sideband_dbi_w_mode() 497 regmap_write(kirin_pcie->apb, SOC_PCIECTRL_CTRL0_ADDR, val); in kirin_pcie_sideband_dbi_w_mode() 505 regmap_read(kirin_pcie->apb, SOC_PCIECTRL_CTRL1_ADDR, &val); in kirin_pcie_sideband_dbi_r_mode() 511 regmap_write(kirin_pcie->apb, SOC_PCIECTRL_CTRL1_ADDR, val); in kirin_pcie_sideband_dbi_r_mode() 594 regmap_read(kirin_pcie->apb, PCIE_APB_PHY_STATUS0, &val); in kirin_pcie_link_up() 603 regmap_write(kirin_pcie->apb, PCIE_APP_LTSSM_ENABLE, in kirin_pcie_start_link()
|
| H A D | pci-meson.c | 62 struct reset_control *apb; member 98 mrst->apb = meson_pcie_get_reset(mp, "apb", PCIE_SHARED_RESET); in meson_pcie_get_resets() 99 if (IS_ERR(mrst->apb)) in meson_pcie_get_resets() 100 return PTR_ERR(mrst->apb); in meson_pcie_get_resets() 101 reset_control_deassert(mrst->apb); in meson_pcie_get_resets() 167 reset_control_assert(mrst->apb); in meson_pcie_reset() 170 reset_control_deassert(mrst->apb); in meson_pcie_reset()
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A 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/arch/csky/ |
| H A D | Kconfig.platforms | 4 bool "Select dw-apb interrupt controller" 8 This enables support for snps dw-apb-ictl
|
| /linux/arch/arm64/boot/dts/hisilicon/ |
| H A D | hip05.dtsi | 308 compatible = "snps,dw-apb-uart"; 319 compatible = "snps,dw-apb-uart"; 338 compatible = "snps,dw-apb-gpio"; 343 compatible = "snps,dw-apb-gpio-port"; 357 compatible = "snps,dw-apb-gpio"; 362 compatible = "snps,dw-apb-gpio-port";
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt8167.dtsi | 138 clock-names = "apb", "smi"; 148 clock-names = "apb", "smi"; 158 clock-names = "apb", "smi"; 168 clock-names = "apb", "smi";
|