| /src/sys/dev/fdt/ |
| fdt_syscon.c | 44 int sc_phandle; member in struct:fdtbus_syscon 61 sc->sc_phandle = phandle; 75 if (sc->sc_phandle == phandle) 86 int sc_phandle; local in function:fdtbus_syscon_acquire 88 sc_phandle = fdtbus_get_phandle(phandle, prop); 89 if (sc_phandle < 0) 92 sc = fdtbus_get_syscon(sc_phandle);
|
| mmc_pwrseq_emmc.c | 50 int sc_phandle; member in struct:mmcpwrseq_emmc_softc 85 sc->sc_phandle = phandle;
|
| virtio_mmio_fdt.c | 52 int sc_phandle; member in struct:virtio_mmio_fdt_softc 91 fsc->sc_phandle = faa->faa_phandle; 151 if (!fdtbus_intr_str(fsc->sc_phandle, 0, intrstr, sizeof(intrstr))) { 159 msc->sc_ih = fdtbus_intr_establish_xname(fsc->sc_phandle, 0, 178 fdtbus_intr_disestablish(fsc->sc_phandle, msc->sc_ih);
|
| connector_fdt.c | 61 int sc_phandle; member in struct:fdt_connector_softc 96 sc->sc_phandle = phandle;
|
| fixedfactorclock.c | 70 int sc_phandle; member in struct:fixedfactorclock_softc 101 sc->sc_phandle = phandle; 166 clkp_parent = fdtbus_clock_get_index(sc->sc_phandle, 0);
|
| fixedregulator.c | 60 int sc_phandle; member in struct:fixedregulator_softc 100 sc->sc_phandle = phandle; 150 sc->sc_pin = fdtbus_gpio_acquire(sc->sc_phandle, "gpio",
|
| /src/sys/arch/arm/samsung/ |
| mct_var.h | 43 int sc_phandle; member in struct:mct_softc
|
| /src/sys/arch/arm/ti/ |
| ti_div_clock.c | 70 int sc_phandle; member in struct:ti_div_clock_softc 110 sc->sc_phandle = phandle; 165 if (of_hasprop(sc->sc_phandle, "ti,index-power-of-two")) 168 const int start_index = of_hasprop(sc->sc_phandle, "ti,index-starts-at-one") ? 1 : 0; 170 if (of_getprop_uint32(sc->sc_phandle, "ti,bit-shift", &bit_shift) != 0) 173 if (of_getprop_uint32(sc->sc_phandle, "ti,max-div", &max_div) == 0) { 201 return fdtbus_clock_get_index(sc->sc_phandle, 0);
|
| /src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/ |
| vchiq_netbsd_fdt.c | 53 int sc_phandle; member in struct:vchiq_fdt_softc 94 fsc->sc_phandle = phandle; 127 const int phandle = fsc->sc_phandle;
|
| /src/sys/arch/arm/nxp/ |
| imx8mq_usbphy.c | 67 int sc_phandle; member in struct:imx8mq_usbphy_softc 101 if (of_hasprop(sc->sc_phandle, "vbus-supply")) { 102 reg = fdtbus_regulator_acquire(sc->sc_phandle, "vbus-supply"); 162 sc->sc_phandle = phandle;
|
| /src/sys/arch/arm/sunxi/ |
| sunxi_hstimer.c | 91 int sc_phandle; member in struct:sunxi_hstimer_softc 148 sc->sc_phandle = phandle; 185 if (!fdtbus_intr_str(sc->sc_phandle, 0, intrstr, sizeof(intrstr))) { 189 sc->sc_ih = fdtbus_intr_establish_xname(sc->sc_phandle, 0, IPL_CLOCK,
|
| sunxi_dwhdmi.c | 62 int sc_phandle; member in struct:sunxi_dwhdmi_softc 280 sc->sc_phandle = faa->faa_phandle; 286 sc->sc_regulator = fdtbus_regulator_acquire(sc->sc_phandle, "hvcc-supply"); 288 sc->sc_phy = fdtbus_phy_get(sc->sc_phandle, "hdmi-phy"); 290 sc->sc_phy = fdtbus_phy_get(sc->sc_phandle, "phy");
|
| sun9i_a80_cpusclk.c | 72 int sc_phandle; member in struct:sun9i_a80_cpusclk_softc 116 sc->sc_phandle = phandle; 196 return fdtbus_clock_get_index(sc->sc_phandle, sel);
|
| sunxi_nmi.c | 106 int sc_phandle; member in struct:sunxi_nmi_softc 212 const int ihandle = fdtbus_intr_parent(sc->sc_phandle); 272 sc->sc_ih = fdtbus_intr_establish_xname(sc->sc_phandle, 0, ipl, flags, 320 fdtbus_intr_disestablish(sc->sc_phandle, sc->sc_ih); 337 const int ihandle = fdtbus_intr_parent(sc->sc_phandle); 384 sc->sc_phandle = phandle;
|
| /src/sys/dev/ofw/ |
| ofrtc.c | 86 int sc_phandle; member in struct:ofrtc_softc 127 of->sc_phandle = oba->oba_phandle; 129 if ((l = OF_getprop(of->sc_phandle, "name", name, 137 if ((l = OF_package_to_path(of->sc_phandle, path,
|
| /src/sys/arch/arm/amlogic/ |
| mesongxbb_aoclkc.c | 92 sc->sc_phandle = faa->faa_phandle; 93 sc->sc_syscon = fdtbus_syscon_lookup(OF_parent(sc->sc_phandle));
|
| meson_usbphy.c | 75 int sc_phandle; member in struct:meson_usbphy_softc 96 if (phy_phandle != sc->sc_phandle) 127 if (of_hasprop(sc->sc_phandle, "phy-supply")) { 128 reg = fdtbus_regulator_acquire(sc->sc_phandle, "phy-supply"); 207 sc->sc_phandle = phandle;
|
| meson_usbctrl.c | 140 int sc_phandle; member in struct:meson_usbctrl_softc 150 const char * phyname = fdtbus_get_string_index(sc->sc_phandle, 168 p = fdtbus_get_string_index(sc->sc_phandle, "phy-names", i); 269 phyname = fdtbus_get_string_index(sc->sc_phandle, 274 phy = fdtbus_phy_get_index(sc->sc_phandle, i); 302 sc->sc_phandle = phandle = faa->faa_phandle;
|
| /src/sys/arch/arm/nvidia/ |
| tegra_nouveau.c | 69 int sc_phandle; member in struct:tegra_nouveau_softc 150 sc->sc_phandle = faa->faa_phandle; 217 if (fdtbus_get_reg(sc->sc_phandle, 0, &addr[0], &size[0]) != 0 || 218 fdtbus_get_reg(sc->sc_phandle, 1, &addr[1], &size[1]) != 0) { 288 if (!fdtbus_intr_str(sc->sc_phandle, 0, intrstr, sizeof(intrstr))) { 293 sc->sc_ih = fdtbus_intr_establish_xname(sc->sc_phandle, 0, IPL_VM, 311 fdtbus_intr_disestablish(sc->sc_phandle, sc->sc_ih);
|
| /src/sys/dev/i2c/ |
| cwfg.c | 87 int sc_phandle; member in struct:cwfg_softc 364 batinfo = fdtbus_get_prop(sc->sc_phandle, 368 batinfo = fdtbus_get_prop(sc->sc_phandle, 385 if (of_getprop_uint32(sc->sc_phandle, 388 } else if (of_getprop_uint32(sc->sc_phandle, 396 const int bphandle = fdtbus_get_phandle(sc->sc_phandle, "monitored-battery"); 400 } else if (of_getprop_uint32(sc->sc_phandle, 408 if (of_getprop_uint32(sc->sc_phandle, 441 sc->sc_phandle = devhandle_to_of(device_handle(self));
|
| fan53555.c | 67 int sc_phandle; member in struct:fan53555_softc 251 of_getprop_uint32(sc->sc_phandle, "fcs,suspend-voltage-selector", 267 of_getprop_uint32(sc->sc_phandle, "regulator-ramp-delay", 310 sc->sc_phandle = devhandle_to_of(device_handle(self)); 318 fdtbus_register_regulator_controller(self, sc->sc_phandle,
|
| /src/sys/arch/arm/sociox/ |
| sni_emmc.c | 74 int sc_phandle; member in struct:sniemmc_softc 142 sc->sc_phandle = phandle; 202 sc->sc_phandle = 0; 236 if (sc->sc_phandle) 237 fdtbus_intr_disestablish(sc->sc_phandle, sc->sc_ih);
|
| sni_gpio.c | 72 int sc_phandle; member in struct:snigpio_softc 144 sc->sc_phandle = phandle; 192 sc->sc_phandle = 0;
|
| /src/sys/arch/arm/broadcom/ |
| bcm2835_dwctwo.c | 60 int sc_phandle; member in struct:bcmdwc2_softc 134 sc->sc_phandle = phandle; 167 fdtbus_intr_disestablish(sc->sc_phandle, sc->sc_ih);
|
| /src/sys/arch/arm/fdt/ |
| pmu_fdt.c | 85 int sc_phandle; member in struct:pmu_fdt_softc 110 sc->sc_phandle = phandle; 119 const int phandle = sc->sc_phandle;
|