/openbmc/linux/drivers/bus/ |
H A D | bt1-apb.c | 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() 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 …]
|
/openbmc/linux/drivers/staging/greybus/ |
H A 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 …]
|
/openbmc/linux/arch/riscv/boot/dts/thead/ |
H A 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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A 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";
|
/openbmc/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";
|
/openbmc/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";
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | socfpga_stratix10.dtsi | 129 compatible = "snps,dw-apb-gpio"; 135 compatible = "snps,dw-apb-gpio-port"; 150 compatible = "snps,dw-apb-gpio"; 156 compatible = "snps,dw-apb-gpio-port"; 249 compatible = "snps,dw-apb-ssi"; 262 compatible = "snps,dw-apb-ssi"; 289 compatible = "snps,dw-apb-timer"; 295 compatible = "snps,dw-apb-timer"; 301 compatible = "snps,dw-apb-timer"; 307 compatible = "snps,dw-apb-timer"; [all …]
|
/openbmc/openbmc/meta-ibm/dynamic-layers/meta-openpower/recipes-phosphor/vpd/ |
H A D | openpower-fru-vpd_%.bbappend | 24 …printf "\nEEPROM=/sys/devices/platform/ahb/1e780000.apb/1e780000.apb:bus@1e78a000/1e78a400.i2c/i2c… 31 …printf "\nEEPROM=/sys/devices/platform/ahb/1e780000.apb/1e780000.apb:bus@1e78a000/1e78a600.i2c/i2c…
|
/openbmc/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";
|
/openbmc/openbmc/meta-quanta/meta-q71l/recipes-phosphor/sensors/ |
H A D | phosphor-hwmon_%.bbappend | 8 Q71L_PWM_BASE = "ahb/apb@1e780000/{0}.conf" 12 Q71L_TEMPBASE = "ahb/apb@1e780000/bus@1e78a000/i2c@80/{0}.conf" 20 Q71L_PSUBASE = "ahb/apb@1e780000/bus@1e78a000/i2c@300/i2c-switch@70/i2c@{0}.conf"
|
/openbmc/linux/drivers/phy/hisilicon/ |
H A 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 …]
|
/openbmc/linux/arch/riscv/boot/dts/canaan/ |
H A D | k210.dtsi | 184 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"; 332 compatible = "snps,dw-apb-timer"; 342 compatible = "snps,dw-apb-timer"; 352 compatible = "snps,dw-apb-timer"; 362 compatible = "snps,dw-apb-timer"; 372 compatible = "snps,dw-apb-timer"; [all …]
|
/openbmc/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_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";
|
/openbmc/linux/arch/arm64/boot/dts/altera/ |
H A D | socfpga_stratix10.dtsi | 206 compatible = "snps,dw-apb-gpio"; 212 compatible = "snps,dw-apb-gpio-port"; 226 compatible = "snps,dw-apb-gpio"; 232 compatible = "snps,dw-apb-gpio-port"; 404 compatible = "snps,dw-apb-ssi"; 418 compatible = "snps,dw-apb-ssi"; 437 compatible = "snps,dw-apb-timer"; 445 compatible = "snps,dw-apb-timer"; 453 compatible = "snps,dw-apb-timer"; 461 compatible = "snps,dw-apb-timer"; [all …]
|
/openbmc/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";
|