| /src/sys/dev/fdt/ |
| fdt_syscon.h | 34 struct syscon; 36 int fdtbus_register_syscon(device_t, int, struct syscon *); 38 struct syscon * fdtbus_syscon_acquire(int, const char *); 39 struct syscon * fdtbus_syscon_lookup(int);
|
| fdt_syscon.c | 40 struct syscon; 45 struct syscon *sc_syscon; 55 struct syscon *syscon) 62 sc->sc_syscon = syscon; 82 struct syscon * 99 struct syscon *
|
| syscon.h | 1 /* $NetBSD: syscon.h,v 1.2 2020/12/11 09:40:28 skrll Exp $ */ 32 struct syscon { struct
|
| syscon.c | 1 /* $NetBSD: syscon.c,v 1.5 2021/01/27 03:10:21 thorpej Exp $ */ 30 __KERNEL_RCSID(0, "$NetBSD: syscon.c,v 1.5 2021/01/27 03:10:21 thorpej Exp $"); 41 #include <dev/fdt/syscon.h> 49 struct syscon sc_syscon; 56 { .compat = "syscon" }, 61 CFATTACH_DECL_NEW(syscon, sizeof(struct syscon_softc),
|
| /src/sys/arch/arm/rockchip/ |
| rk3399_iomux.c | 45 #include <dev/fdt/syscon.h> 191 struct syscon *sc_syscon[2]; 196 #define LOCK(syscon) \ 197 syscon_lock(syscon) 198 #define UNLOCK(syscon) \ 199 syscon_unlock(syscon) 200 #define RD4(syscon, reg) \ 201 syscon_read_4(syscon, (reg)) 202 #define WR4(syscon, reg, val) \ 203 syscon_write_4(syscon, (reg), (val) 220 struct syscon * const syscon = sc->sc_syscon[banks[bank].regs]; local 281 struct syscon * const syscon = sc->sc_syscon[banks[bank].regs]; local 364 struct syscon * const syscon = sc->sc_syscon[banks[bank].regs]; local 429 struct syscon * const syscon = sc->sc_syscon[banks[bank].regs]; local 461 struct syscon * const syscon = sc->sc_syscon[RK_IOMUX_REGS_GRF]; local [all...] |
| rk3288_iomux.c | 42 #include <dev/fdt/syscon.h> 62 struct syscon *sc_grf; 63 struct syscon *sc_pmu; 67 struct syscon *syscon; member in struct:rk3288_iomux_reg 80 syscon_lock((reg)->syscon) 82 syscon_unlock((reg)->syscon) 84 syscon_read_4((reg)->syscon, (off)) 86 syscon_write_4((reg)->syscon, (off), (val)) 88 ((reg)->syscon == (sc)->sc_pmu [all...] |
| rk3288_usb.c | 42 #include <dev/fdt/syscon.h> 98 struct syscon *sc_syscon; 161 aprint_error(": couldn't find syscon\n");
|
| rk3399_pcie_phy.c | 31 #include <dev/fdt/syscon.h> 185 rkpcie_phy_write_conf(struct syscon *rm, uint8_t addr, uint8_t data) 204 struct syscon *rm;
|
| rk_eqos.c | 41 #include <dev/fdt/syscon.h> 49 struct syscon *sc_grf; 50 struct syscon *sc_php_grf; 318 aprint_error(": couldn't get grf syscon\n"); 323 aprint_error(": couldn't get php_grf syscon\n");
|
| rk_anxdp.c | 45 #include <dev/fdt/syscon.h> 69 struct syscon *sc_grf; 266 aprint_error(": couldn't get grf syscon\n");
|
| rk_dwhdmi.c | 42 #include <dev/fdt/syscon.h> 90 struct syscon *sc_grf; 294 aprint_error(": couldn't get grf syscon\n");
|
| rk_emmcphy.c | 41 #include <dev/fdt/syscon.h> 97 struct syscon *sc_syscon; 253 aprint_error(": couldn't get syscon\n");
|
| /src/sys/arch/riscv/starfive/ |
| jh71x0_eth.h | 45 struct syscon * sc_syscon;
|
| jh7110_syscon.c | 40 #include <dev/fdt/syscon.h> 49 struct syscon sc_syscon; 97 { .compat = "starfive,jh7110-stg-syscon" },
|
| jh7110_pciephy.c | 38 #include <dev/fdt/syscon.h>
|
| /src/sys/arch/arm/ti/ |
| am18xx_aclk.c | 43 #include <dev/fdt/syscon.h> 169 struct syscon *syscon = fdtbus_syscon_lookup(OF_parent(phandle)); local 170 if (syscon == NULL) { 171 aprint_error(": couldn't get syscon registers\n"); 174 syscon_lock(syscon); 175 uint32_t cfgchip_reg3 = syscon_read_4(syscon, AM18XX_ACLK_CFGCHIP3); 176 syscon_unlock(syscon);
|
| ti_cpufreq.c | 42 #include <dev/fdt/syscon.h> 46 static struct syscon *ti_opp_syscon; 98 ti_opp_syscon = fdtbus_syscon_acquire(opp_table, "syscon");
|
| /src/sys/arch/riscv/dts/ |
| jh7100.dtsi | 52 sysaudio: syscon@104a0000 { 53 compatible = "starfive,jh7100-sysaudio", "syscon"; 70 starfive,syscon = <&sysaudio>;
|
| /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/arm/ |
| arm-realview-eb-11mp-ctrevb.dts | 30 * The revision B has a distinctly different layout of the syscon, so 33 &syscon { 34 compatible = "arm,realview-eb11mp-revb-syscon", "arm,realview-eb-syscon", "syscon", "simple-mfd";
|
| /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/cnxt/ |
| cx92755.dtsi | 75 syscon = <&uc_regs>; 105 uc_regs: syscon@f00003a0 { 106 compatible = "cnxt,cx92755-uc", "syscon";
|
| /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/axis/ |
| artpec6.dtsi | 72 syscon: syscon@f8000000 { 73 compatible = "axis,artpec6-syscon", "syscon"; 185 axis,syscon-pcie = <&syscon>; 199 axis,syscon-pcie = <&syscon>;
|
| /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/nxp/imx/ |
| imx51-ts4800.dts | 153 syscon: syscon@10000 { 154 compatible = "syscon", "simple-mfd"; 160 syscon = <&syscon 0xe>; 167 syscon = <&syscon 0x10 6>;
|
| /src/sys/arch/arm/clps711x/ |
| clpslcd.c | 122 uint32_t syscon, lcdcon, depth, width, height, addr; local 152 syscon = bus_space_read_4(sc->sc_iot, sc->sc_ioh, PS711X_SYSCON); 154 syscon | SYSCON_LCDEN);
|
| /src/sys/arch/arm/samsung/ |
| exynos_usbphy.c | 41 #include <dev/fdt/syscon.h> 87 struct syscon *sc_sysreg; 88 struct syscon *sc_pmureg; 268 aprint_error(": couldn't acquire sysreg syscon\n"); 273 aprint_error(": couldn't acquire pmureg syscon\n");
|
| /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/mediatek/ |
| mt2712e.dtsi | 246 topckgen: syscon@10000000 { 247 compatible = "mediatek,mt2712-topckgen", "syscon"; 253 compatible = "mediatek,mt2712-infracfg", "syscon"; 259 pericfg: syscon@10003000 { 260 compatible = "mediatek,mt2712-pericfg", "syscon"; 265 syscfg_pctl_a: syscon@10005000 { 266 compatible = "mediatek,mt2712-pctl-a-syscfg", "syscon"; 282 compatible = "mediatek,mt2712-scpsys", "syscon"; 338 apmixedsys: syscon@10209000 { 339 compatible = "mediatek,mt2712-apmixedsys", "syscon"; [all...] |