Searched refs:OF_device_from_xref (Results 1 – 25 of 47) sorted by relevance
12
67 clockdev = OF_device_from_xref(clks[i]); in enable_disable_all()110 clockdev = OF_device_from_xref(clks[n]); in fdt_clock_get_info()
53 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()
78 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()
117 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()
338 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()
53 channel.dev = OF_device_from_xref(xref); in pwm_get_by_ofw_propidx()
188 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()
112 sc->sc_gpio = OF_device_from_xref(gp[0]); in rbled_attach()
142 output->ddc = OF_device_from_xref(ddc); in tegra_drm_encoder_attach()
500 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()
129 xdev = OF_device_from_xref(OF_xref_from_node(sc->i2c_bus)); in sfp_fdt_get_i2c_bus()
93 xio->dev = OF_device_from_xref(prop); in xdma_get_iommu_fdt()495 dma_dev = OF_device_from_xref(parent); in xdma_ofw_get()
189 return (OF_device_from_xref(OF_xref_from_node(outport))); in ofw_graph_get_device_by_port_ep()
149 device_t OF_device_from_xref(phandle_t xref);
133 rstdev = OF_device_from_xref(xnode); in hwreset_get_by_ofw_idx()
151 phy_dev = OF_device_from_xref(OF_parent(phy_node)); in dtsec_fdt_attach()
76 return (OF_device_from_xref(sc->i2c_xref)); in dwc_hdmi_fdt_get_i2c_dev()
77 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()
179 busdev = OF_device_from_xref((phandle_t)propval); in gpiomux_attach()
162 sc->tsens_dev = OF_device_from_xref(xnode); in tegra124_coretemp_ofw_parse()
167 sc->tsens_dev = OF_device_from_xref(xnode); in tegra210_coretemp_ofw_parse()
186 sc->parent = OF_device_from_xref(parent_xref); in imx7gpc_attach()
115 if ((gpio = OF_device_from_xref(gpio_prop[0])) == NULL) { in eqos_phy_reset()
214 sc->parent = OF_device_from_xref(parent_xref); in tegra_lic_attach()
86 if ((sc->parent = OF_device_from_xref(intr_parent)) == NULL) { in aw_r_intc_gicp_attach()