Home
last modified time | relevance | path

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

12

/freebsd-13.1/sys/dev/fdt/
H A Dfdt_clock.c70 clockdev = OF_device_from_xref(clks[i]); in enable_disable_all()
113 clockdev = OF_device_from_xref(clks[n]); in fdt_clock_get_info()
H A Dfdt_pinctrl.c56 if ((pinctrl = OF_device_from_xref(configs[i])) != NULL) in fdt_pinctrl_configure()
143 if (OF_device_from_xref(configs[i]) == pinctrl) in pinctrl_configure_children()
/freebsd-13.1/sys/arm/freescale/imx/
H A Dimx6_hdmi.c80 return (OF_device_from_xref(sc->i2c_xref)); in imx_hdmi_get_i2c_dev()
107 if (OF_device_from_xref(sc->i2c_xref) != NULL) { in imx_hdmi_init()
/freebsd-13.1/sys/dev/extres/nvmem/
H A Dnvmem.c120 provider = OF_device_from_xref(OF_xref_from_node(OF_parent(cell_node))); in nvmem_read_cell_by_idx()
174 provider = OF_device_from_xref(OF_xref_from_node(prov_node)); in nvmem_write_cell_by_idx()
/freebsd-13.1/sys/mips/mediatek/
H A Dfdt_reset.c71 resetdev = OF_device_from_xref(resets[i]); in assert_deassert_all()
/freebsd-13.1/sys/dev/pwm/
H A Dofw_pwm.c56 channel.dev = OF_device_from_xref(xref); in pwm_get_by_ofw_propidx()
/freebsd-13.1/sys/powerpc/mikrotik/
H A Drb_led.c117 sc->sc_gpio = OF_device_from_xref(gp[0]); in rbled_attach()
/freebsd-13.1/sys/dev/extres/phy/
H A Dphy.c468 phydev = OF_device_from_xref(xnode); in phy_get_by_ofw_idx()
523 phydev = OF_device_from_xref(cells[0]); in phy_get_by_ofw_property()
/freebsd-13.1/sys/arm/nvidia/drm2/
H A Dtegra_drm_subr.c145 output->ddc = OF_device_from_xref(ddc); in tegra_drm_encoder_attach()
/freebsd-13.1/sys/dev/ofw/
H A Dofw_graph.c185 return (OF_device_from_xref(OF_xref_from_node(outport))); in ofw_graph_get_device_by_port_ep()
H A Dopenfirm.h151 device_t OF_device_from_xref(phandle_t xref);
/freebsd-13.1/sys/dev/extres/hwreset/
H A Dhwreset.c135 rstdev = OF_device_from_xref(xnode); in hwreset_get_by_ofw_idx()
/freebsd-13.1/sys/dev/xdma/
H A Dxdma.c95 xio->dev = OF_device_from_xref(prop); in xdma_get_iommu_fdt()
501 dma_dev = OF_device_from_xref(parent); in xdma_ofw_get()
/freebsd-13.1/sys/dev/hdmi/
H A Ddwc_hdmi_fdt.c78 return (OF_device_from_xref(sc->i2c_xref)); in dwc_hdmi_fdt_get_i2c_dev()
/freebsd-13.1/sys/dev/gpio/
H A Dofw_gpiobus.c79 pin.dev = OF_device_from_xref(xref); in gpio_pin_get_by_ofw_propidx()
368 (*pins)[j].dev = OF_device_from_xref(gpios[i]); in ofw_gpiobus_parse_gpios_impl()
/freebsd-13.1/sys/dev/iicbus/mux/
H A Diic_gpiomux.c181 busdev = OF_device_from_xref((phandle_t)propval); in gpiomux_attach()
/freebsd-13.1/sys/arm/nvidia/tegra124/
H A Dtegra124_coretemp.c165 sc->tsens_dev = OF_device_from_xref(xnode); in tegra124_coretemp_ofw_parse()
/freebsd-13.1/sys/arm64/nvidia/tegra210/
H A Dtegra210_coretemp.c170 sc->tsens_dev = OF_device_from_xref(xnode); in tegra210_coretemp_ofw_parse()
/freebsd-13.1/sys/mips/ingenic/
H A Djz4780_pinctrl.c183 chipdev = OF_device_from_xref(chipxref); in jz4780_pinctrl_chip_lookup()
/freebsd-13.1/sys/arm/ti/omap4/
H A Domap4_wugen.c198 sc->sc_parent = OF_device_from_xref(parent_xref); in omap4_wugen_attach()
/freebsd-13.1/sys/arm64/freescale/imx/
H A Dimx7gpc.c189 sc->parent = OF_device_from_xref(parent_xref); in imx7gpc_attach()
/freebsd-13.1/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()
/freebsd-13.1/sys/arm/nvidia/
H A Dtegra_lic.c216 sc->parent = OF_device_from_xref(parent_xref); in tegra_lic_attach()
/freebsd-13.1/sys/arm/mv/
H A Dmv_ap806_gicp.c104 if ((sc->parent = OF_device_from_xref(intr_parent)) == NULL) { in mv_ap806_gicp_attach()
H A Dmv_cp110_icu.c123 if ((sc->parent = OF_device_from_xref(msi_parent)) == NULL) { in mv_cp110_icu_attach()

12