/src/sys/dev/fdt/ |
fdt_rtc.c | 44 int phandle = devhandle_to_of(call_handle); local in function:fdtbus_device_is_system_todr 50 * this phandle and ignore all other RTC devices. 57 args->result = OF_finddevice(prop) == phandle;
|
cpus.c | 61 const int phandle = faa->faa_phandle; local in function:cpus_attach 69 for (child = OF_child(phandle); child; child = OF_peer(child)) {
|
dwcwdt_fdt.c | 63 const int phandle = faa->faa_phandle; local in function:dwcwdt_fdt_attach 69 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { 74 clk = fdtbus_clock_get_index(phandle, 0); 79 rst = fdtbus_reset_get_index(phandle, 0);
|
gfrtc_fdt.c | 66 const int phandle = faa->faa_phandle; local in function:gfrtc_fdt_attach 70 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) {
|
fdt_platform.c | 48 const int phandle = OF_peer(0); local in function:fdt_platform_find 57 match = of_compatible_match(phandle, compat_data);
|
cdnsiic_fdt.c | 65 const int phandle = faa->faa_phandle; local in function:cdnsiic_fdt_attach 70 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { 75 sc->sc_pclk = fdtbus_clock_get_index(phandle, 0); 81 if (of_getprop_uint32(phandle, "clock-frequency", &sc->sc_bus_freq))
|
/src/sys/arch/arm/sunxi/ |
sunxi_de2.c | 59 const int phandle = faa->faa_phandle; local in function:sunxi_de2_attach 61 if (sunxi_sramc_claim(phandle) != 0) { 69 fdt_add_bus(self, phandle, faa);
|
/src/sys/arch/arm/ti/ |
ti_gpmc.c | 66 const int phandle = faa->faa_phandle; local in function:ti_gpmc_attach 68 if (ti_prcm_enable_hwmod(phandle, 0) != 0) { 76 fdt_add_bus(self, phandle, faa);
|
ti_sysc.c | 66 const int phandle = faa->faa_phandle; local in function:ti_sysc_attach 71 fdt_add_bus(self, phandle, faa);
|
ti_tptc.c | 66 const int phandle = faa->faa_phandle; local in function:ti_tptc_attach 71 if (ti_prcm_enable_hwmod(phandle, 0) != 0) {
|
omap3_prm.c | 66 const int phandle = faa->faa_phandle; local in function:omap3_prm_attach 72 fdt_add_bus(self, phandle, faa); 74 clocks = of_find_firstchild_byname(phandle, "clocks");
|
/src/sys/arch/arm/nxp/ |
imx_snvs.c | 61 const int phandle = faa->faa_phandle; local in function:imxsnvs_attach 65 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) {
|
/src/sys/arch/riscv/fdt/ |
riscv_platform.c | 67 const int phandle = fdtbus_get_stdout_phandle(); local in function:riscv_platform_devmap 68 if (phandle <= 0) 71 if (fdtbus_get_reg(phandle, 0, &uart_base, NULL) != 0)
|
/src/sys/arch/arm/broadcom/ |
bcm2835_mbox_fdt.c | 75 const int phandle = faa->faa_phandle; local in function:bcmmbox_fdt_attach 84 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { 94 if (!fdtbus_intr_str(phandle, 0, intrstr, sizeof(intrstr))) { 102 sc->sc_intrh = fdtbus_intr_establish_xname(phandle, 0, IPL_VM, 0,
|
bcm2835_bsc_fdt.c | 73 const int phandle = faa->faa_phandle; local in function:bsciic_fdt_attach 81 int error = fdtbus_get_reg(phandle, 0, &addr, &size); 88 sc->sc_clk = fdtbus_clock_get_index(phandle, 0); 101 if (of_getprop_uint32(phandle, "clock-frequency", 117 if (!fdtbus_intr_str(phandle, 0, intrstr, sizeof(intrstr))) { 121 sc->sc_inth = fdtbus_intr_establish_xname(phandle, 0, IPL_VM,
|
bcm2835_dwctwo.c | 121 const int phandle = faa->faa_phandle; local in function:bcmdwc2_attach 129 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { 134 sc->sc_phandle = phandle; 147 if (!fdtbus_intr_str(phandle, 0, intrstr, sizeof(intrstr))) { 152 sc->sc_ih = fdtbus_intr_establish_xname(phandle, 0, IPL_VM, FDT_INTR_MPSAFE,
|
/src/sys/arch/arm/fdt/ |
l2cc_fdt.c | 66 const int phandle = faa->faa_phandle; local in function:l2cc_fdt_attach 71 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) {
|
plrtc_fdt.c | 66 const int phandle = faa->faa_phandle; local in function:plrtc_fdt_attach 70 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) {
|
a9wdt_fdt.c | 89 const int phandle = faa->faa_phandle; local in function:a9wdt_fdt_attach 95 if (!fdtbus_intr_str(phandle, 0, intrstr, sizeof(intrstr))) { 105 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) {
|
aaci_fdt.c | 66 const int phandle = faa->faa_phandle; local in function:aaci_fdt_attach 73 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { 78 if (!fdtbus_intr_str(phandle, 0, intrstr, sizeof(intrstr))) { 83 for (int i = 0; (clk = fdtbus_clock_get_index(phandle, i)); i++) 96 ih = fdtbus_intr_establish_xname(phandle, 0, IPL_AUDIO, FDT_INTR_MPSAFE,
|
gtmr_fdt.c | 86 const int phandle = faa->faa_phandle; local in function:gtmr_fdt_attach 89 if (!fdtbus_intr_str(phandle, GTMR_VTIMER, intrstr, sizeof(intrstr))) { 94 void *ih = fdtbus_intr_establish_xname(phandle, GTMR_VTIMER, IPL_CLOCK, 108 if (of_hasprop(phandle, "arm,cpu-registers-not-fw-configured")) { 111 if (of_getprop_uint32(phandle, "clock-frequency", &freq) == 0) {
|
plkmi_fdt.c | 66 const int phandle = faa->faa_phandle; local in function:plkmi_fdt_attach 73 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { 78 if (!fdtbus_intr_str(phandle, 0, intrstr, sizeof(intrstr))) { 84 for (int i = 0; (clk = fdtbus_clock_get_index(phandle, i)); i++) 99 ih = fdtbus_intr_establish_xname(phandle, 0, IPL_TTY, 0, plkmi_intr, sc,
|
/src/sys/dev/ofw/ |
ofw_pci_subr.c | 50 int phandle = devhandle_to_of(call_handle); local in function:ofw_pci_bus_get_child_devhandle 65 for (phandle = OF_child(phandle); phandle != 0; 66 phandle = OF_peer(phandle)) { 67 len = OF_getprop(phandle, "reg", &opr, sizeof(opr)); 80 args->devhandle = devhandle_from_of(call_handle, phandle);
|
/src/sys/arch/arm/xilinx/ |
zynq7000_usb.c | 79 const int phandle = faa->faa_phandle; local in function:zynqusb_attach 85 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { 90 if (!fdtbus_intr_str(phandle, 0, intrstr, sizeof(intrstr))) { 95 if (fdtbus_intr_establish(phandle, 0, IPL_USB, IST_LEVEL, ehci_intr,
|
/src/sys/arch/arm/amlogic/ |
meson_rng.c | 76 const int phandle = faa->faa_phandle; local in function:meson_rng_attach 81 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { 94 clk = fdtbus_clock_get(phandle, "core");
|