/netbsd/sys/arch/riscv/dev/ |
H A D | plic_fdt.c | 124 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in plic_fdt_attach() 131 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in plic_fdt_attach() 218 fdtbus_get_reg(cpu_ref, 0, &cpuid, NULL); in plic_fdt_attach()
|
/netbsd/sys/arch/arm/fdt/ |
H A D | gicv3_fdt.c | 220 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in gicv3_fdt_map_registers() 233 if (fdtbus_get_reg(phandle, reg_off, NULL, &size) != 0) { in gicv3_fdt_map_registers() 241 if (fdtbus_get_reg(phandle, reg_off, &addr, &size) != 0) { in gicv3_fdt_map_registers() 283 fdtbus_get_reg(sc->sc_phandle, 0, &addr, NULL) != 0) { in gicv3_fdt_attach_mbi() 325 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in gicv3_fdt_attach_its()
|
H A D | plcom_fdt.c | 77 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in plcom_fdt_attach() 145 if (fdtbus_get_reg(faa->faa_phandle, 0, &addr, &size) != 0) in plcom_fdt_console_consinit()
|
H A D | gic_fdt.c | 159 if (fdtbus_get_reg(sc->sc_phandle, 0, &addr_d, &size_d) != 0) { in gic_fdt_attach() 163 if (fdtbus_get_reg(sc->sc_phandle, 1, &addr_c, &size_c) != 0) { in gic_fdt_attach() 210 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in gic_fdt_attach_v2m()
|
/netbsd/sys/arch/arm/xilinx/ |
H A D | zynq7000_uart.c | 67 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in zynquart_attach() 106 fdtbus_get_reg(phandle, 0, &addr, NULL); in zynq_uart_console_consinit()
|
/netbsd/sys/arch/arm/nxp/ |
H A D | imx_com.c | 76 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in imx_com_attach() 150 fdtbus_get_reg(phandle, 0, &addr, &size); in imx_com_console_consinit()
|
H A D | if_enet_imx.c | 86 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in enet_attach() 269 if (fdtbus_get_reg(phy_phandle, 0, &addr, NULL) != 0) in enet_phy_id()
|
H A D | imx6_usb.c | 110 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in imx6_usb_attach() 147 if (fdtbus_get_reg(data.phandle, 0, &addr, &size) != 0) { in imx6_usb_attach()
|
H A D | imx_snvs.c | 65 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in imxsnvs_attach()
|
/netbsd/sys/arch/arm/ti/ |
H A D | ti_com.c | 86 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in ti_com_attach() 151 fdtbus_get_reg(phandle, 0, &addr, NULL); in ti_com_console_consinit()
|
H A D | ti_div_clock.c | 103 if (fdtbus_get_reg(phandle, 0, &addr, NULL) != 0 || in ti_div_clock_attach() 104 fdtbus_get_reg(prcm_phandle, 0, &base_addr, NULL) != 0) { in ti_div_clock_attach()
|
H A D | ti_mux_clock.c | 110 if (fdtbus_get_reg(phandle, 0, &addr, NULL) != 0 || in ti_mux_clock_attach() 111 fdtbus_get_reg(prcm_phandle, 0, &base_addr, NULL) != 0) { in ti_mux_clock_attach()
|
H A D | am3_prcm.c | 229 if (fdtbus_get_reg(cc_phandle, 0, ®base, NULL) != 0) in am3_prcm_clock_decode() 269 if (fdtbus_get_reg(phandle, 0, &sc->sc_regbase, NULL) != 0) { in am3_prcm_attach()
|
/netbsd/sys/arch/arm/broadcom/ |
H A D | bcm2835_com.c | 82 int error = fdtbus_get_reg(phandle, 0, &addr, &size); in bcm_com_attach() 147 fdtbus_get_reg(phandle, 0, &addr, NULL); in bcmaux_com_console_consinit()
|
/netbsd/sys/arch/arm/apple/ |
H A D | apple_pmgr.c | 80 if (fdtbus_get_reg(phandle, 0, &off, &size) != 0 || size != 4) { in apple_pmgr_enable() 119 int error = fdtbus_get_reg(phandle, 0, &pmgr_addr, &pmgr_size); in apple_pmgr_attach()
|
H A D | apple_platform.c | 125 if (phandle > 0 && fdtbus_get_reg(phandle, 0, &uart_base, NULL) == 0) { in apple_platform_devmap() 208 if (fdtbus_get_reg(faa->faa_phandle, 0, &cpuid, NULL) != 0) { in apple_platform_device_register()
|
/netbsd/sys/arch/arm/nvidia/ |
H A D | tegra_com.c | 94 if (fdtbus_get_reg(faa->faa_phandle, 0, &addr, &size) != 0) { in tegra_com_attach() 164 fdtbus_get_reg(phandle, 0, &addr, NULL); in tegra_com_console_consinit()
|
/netbsd/sys/arch/arm/sunxi/ |
H A D | sunxi_gmac.c | 108 if (fdtbus_get_reg(phy_phandle, 0, &addr, NULL) != 0) in sunxi_gmac_get_phyid() 136 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in sunxi_gmac_attach()
|
/netbsd/sys/dev/fdt/ |
H A D | dw_apb_uart.c | 88 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in dw_apb_uart_attach() 175 fdtbus_get_reg(phandle, 0, &addr, NULL); in dw_apb_uart_console_consinit()
|
H A D | ns8250_uart.c | 120 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in ns8250_uart_attach() 201 fdtbus_get_reg(phandle, 0, &addr, NULL); in ns8250_uart_console_consinit()
|
H A D | i2cmux_fdt.c | 110 error = fdtbus_get_reg(bus->handle, 0, &bus_info->value, NULL); in iicmux_gpio_get_bus_info() 195 error = fdtbus_get_reg(bus->handle, 0, &bus_info->idx, NULL); in iicmux_pinctrl_get_bus_info()
|
/netbsd/sys/arch/mips/cavium/dev/ |
H A D | octeon_cib.c | 123 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0 || in octeon_cib_attach() 128 if (fdtbus_get_reg(phandle, 1, &addr, &size) != 0 || in octeon_cib_attach()
|
/netbsd/sys/arch/arm/amlogic/ |
H A D | meson_thermal.c | 192 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in meson_thermal_attach() 202 if (fdtbus_get_reg(phandle_aosec, 0, &addr, &aosize) != 0) { in meson_thermal_attach()
|
H A D | meson_dwmac.c | 204 if (fdtbus_get_reg(phandle, 0, &addr[0], &size[0]) != 0 || in meson_dwmac_attach() 205 fdtbus_get_reg(phandle, 1, &addr[1], &size[1]) != 0) { in meson_dwmac_attach()
|
/netbsd/sys/arch/riscv/fdt/ |
H A D | riscv_platform.c | 69 if (fdtbus_get_reg(phandle, 0, &uart_base, NULL) != 0) in riscv_platform_devmap()
|