Home
last modified time | relevance | path

Searched refs:OF_device_from_xref (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/sys/dev/fdt/
H A Dfdt_clock.c67 clockdev = OF_device_from_xref(clks[i]); in enable_disable_all()
110 clockdev = OF_device_from_xref(clks[n]); in fdt_clock_get_info()
H A Dfdt_pinctrl.c53 if ((pinctrl = OF_device_from_xref(configs[i])) != NULL) in fdt_pinctrl_configure()
140 if (OF_device_from_xref(configs[i]) == pinctrl) in pinctrl_configure_children()
/freebsd/sys/arm/freescale/imx/
H A Dimx6_hdmi.c78 return (OF_device_from_xref(sc->i2c_xref)); in imx_hdmi_get_i2c_dev()
105 if (OF_device_from_xref(sc->i2c_xref) != NULL) { in imx_hdmi_init()
/freebsd/sys/dev/nvmem/
H A Dnvmem.c117 provider = OF_device_from_xref(OF_xref_from_node(OF_parent(cell_node))); in nvmem_read_cell_by_idx()
171 provider = OF_device_from_xref(OF_xref_from_node(prov_node)); in nvmem_write_cell_by_idx()
/freebsd/sys/dev/sound/fdt/
H A Daudio_soc.c338 daidev = OF_device_from_xref(xref); in audio_soc_init()
354 daidev = OF_device_from_xref(xref); in audio_soc_init()
367 auxdev = OF_device_from_xref(aux_devs[i]); in audio_soc_init()
/freebsd/sys/dev/pwm/
H A Dofw_pwm.c53 channel.dev = OF_device_from_xref(xref); in pwm_get_by_ofw_propidx()
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_mc_fdt.c188 xdev = OF_device_from_xref(OF_xref_from_node(sc->sfp)); in dpaa2_mac_fdt_get_phy_dev()
193 return (OF_device_from_xref(OF_xref_from_node(sc->phy_handle))); in dpaa2_mac_fdt_get_phy_dev()
/freebsd/sys/powerpc/mikrotik/
H A Drb_led.c112 sc->sc_gpio = OF_device_from_xref(gp[0]); in rbled_attach()
/freebsd/sys/arm/nvidia/drm2/
H A Dtegra_drm_subr.c142 output->ddc = OF_device_from_xref(ddc); in tegra_drm_encoder_attach()
/freebsd/sys/dev/phy/
H A Dphy.c500 phydev = OF_device_from_xref(xnode); in phy_get_by_ofw_idx()
555 phydev = OF_device_from_xref(cells[0]); in phy_get_by_ofw_property()
/freebsd/sys/dev/sff/
H A Dsfp_fdt.c129 xdev = OF_device_from_xref(OF_xref_from_node(sc->i2c_bus)); in sfp_fdt_get_i2c_bus()
/freebsd/sys/dev/xdma/
H A Dxdma.c93 xio->dev = OF_device_from_xref(prop); in xdma_get_iommu_fdt()
495 dma_dev = OF_device_from_xref(parent); in xdma_ofw_get()
/freebsd/sys/dev/ofw/
H A Dofw_graph.c189 return (OF_device_from_xref(OF_xref_from_node(outport))); in ofw_graph_get_device_by_port_ep()
H A Dopenfirm.h149 device_t OF_device_from_xref(phandle_t xref);
/freebsd/sys/dev/hwreset/
H A Dhwreset.c133 rstdev = OF_device_from_xref(xnode); in hwreset_get_by_ofw_idx()
/freebsd/sys/dev/dpaa/
H A Dif_dtsec_fdt.c151 phy_dev = OF_device_from_xref(OF_parent(phy_node)); in dtsec_fdt_attach()
/freebsd/sys/dev/hdmi/
H A Ddwc_hdmi_fdt.c76 return (OF_device_from_xref(sc->i2c_xref)); in dwc_hdmi_fdt_get_i2c_dev()
/freebsd/sys/dev/gpio/
H A Dofw_gpiobus.c77 pin.dev = OF_device_from_xref(xref); in gpio_pin_get_by_ofw_propidx()
366 (*pins)[j].dev = OF_device_from_xref(gpios[i]); in ofw_gpiobus_parse_gpios_impl()
/freebsd/sys/dev/iicbus/mux/
H A Diic_gpiomux.c179 busdev = OF_device_from_xref((phandle_t)propval); in gpiomux_attach()
/freebsd/sys/arm/nvidia/tegra124/
H A Dtegra124_coretemp.c162 sc->tsens_dev = OF_device_from_xref(xnode); in tegra124_coretemp_ofw_parse()
/freebsd/sys/arm64/nvidia/tegra210/
H A Dtegra210_coretemp.c167 sc->tsens_dev = OF_device_from_xref(xnode); in tegra210_coretemp_ofw_parse()
/freebsd/sys/arm64/freescale/imx/
H A Dimx7gpc.c186 sc->parent = OF_device_from_xref(parent_xref); in imx7gpc_attach()
/freebsd/sys/dev/eqos/
H A Dif_eqos_fdt.c115 if ((gpio = OF_device_from_xref(gpio_prop[0])) == NULL) { in eqos_phy_reset()
/freebsd/sys/arm/nvidia/
H A Dtegra_lic.c214 sc->parent = OF_device_from_xref(parent_xref); in tegra_lic_attach()
/freebsd/sys/arm/allwinner/
H A Daw_r_intc.c86 if ((sc->parent = OF_device_from_xref(intr_parent)) == NULL) { in aw_r_intc_gicp_attach()

12