Home
last modified time | relevance | path

Searched refs:fdtbus_get_reg (Results 1 – 25 of 270) sorted by relevance

1234567891011

/netbsd/sys/arch/riscv/dev/
H A Dplic_fdt.c124 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 Dgicv3_fdt.c220 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 Dplcom_fdt.c77 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 Dgic_fdt.c159 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 Dzynq7000_uart.c67 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 Dimx_com.c76 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 Dif_enet_imx.c86 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 Dimx6_usb.c110 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 Dimx_snvs.c65 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in imxsnvs_attach()
/netbsd/sys/arch/arm/ti/
H A Dti_com.c86 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 Dti_div_clock.c103 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 Dti_mux_clock.c110 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 Dam3_prcm.c229 if (fdtbus_get_reg(cc_phandle, 0, &regbase, 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 Dbcm2835_com.c82 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 Dapple_pmgr.c80 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 Dapple_platform.c125 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 Dtegra_com.c94 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 Dsunxi_gmac.c108 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 Ddw_apb_uart.c88 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 Dns8250_uart.c120 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 Di2cmux_fdt.c110 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 Docteon_cib.c123 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 Dmeson_thermal.c192 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 Dmeson_dwmac.c204 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 Driscv_platform.c69 if (fdtbus_get_reg(phandle, 0, &uart_base, NULL) != 0) in riscv_platform_devmap()

1234567891011