| /freebsd-13.1/sys/dev/fdt/ |
| H A D | fdt_clock.c | 70 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 D | fdt_pinctrl.c | 56 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 D | imx6_hdmi.c | 80 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 D | nvmem.c | 120 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 D | fdt_reset.c | 71 resetdev = OF_device_from_xref(resets[i]); in assert_deassert_all()
|
| /freebsd-13.1/sys/dev/pwm/ |
| H A D | ofw_pwm.c | 56 channel.dev = OF_device_from_xref(xref); in pwm_get_by_ofw_propidx()
|
| /freebsd-13.1/sys/powerpc/mikrotik/ |
| H A D | rb_led.c | 117 sc->sc_gpio = OF_device_from_xref(gp[0]); in rbled_attach()
|
| /freebsd-13.1/sys/dev/extres/phy/ |
| H A D | phy.c | 468 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 D | tegra_drm_subr.c | 145 output->ddc = OF_device_from_xref(ddc); in tegra_drm_encoder_attach()
|
| /freebsd-13.1/sys/dev/ofw/ |
| H A D | ofw_graph.c | 185 return (OF_device_from_xref(OF_xref_from_node(outport))); in ofw_graph_get_device_by_port_ep()
|
| H A D | openfirm.h | 151 device_t OF_device_from_xref(phandle_t xref);
|
| /freebsd-13.1/sys/dev/extres/hwreset/ |
| H A D | hwreset.c | 135 rstdev = OF_device_from_xref(xnode); in hwreset_get_by_ofw_idx()
|
| /freebsd-13.1/sys/dev/xdma/ |
| H A D | xdma.c | 95 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 D | dwc_hdmi_fdt.c | 78 return (OF_device_from_xref(sc->i2c_xref)); in dwc_hdmi_fdt_get_i2c_dev()
|
| /freebsd-13.1/sys/dev/gpio/ |
| H A D | ofw_gpiobus.c | 79 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 D | iic_gpiomux.c | 181 busdev = OF_device_from_xref((phandle_t)propval); in gpiomux_attach()
|
| /freebsd-13.1/sys/arm/nvidia/tegra124/ |
| H A D | tegra124_coretemp.c | 165 sc->tsens_dev = OF_device_from_xref(xnode); in tegra124_coretemp_ofw_parse()
|
| /freebsd-13.1/sys/arm64/nvidia/tegra210/ |
| H A D | tegra210_coretemp.c | 170 sc->tsens_dev = OF_device_from_xref(xnode); in tegra210_coretemp_ofw_parse()
|
| /freebsd-13.1/sys/mips/ingenic/ |
| H A D | jz4780_pinctrl.c | 183 chipdev = OF_device_from_xref(chipxref); in jz4780_pinctrl_chip_lookup()
|
| /freebsd-13.1/sys/arm/ti/omap4/ |
| H A D | omap4_wugen.c | 198 sc->sc_parent = OF_device_from_xref(parent_xref); in omap4_wugen_attach()
|
| /freebsd-13.1/sys/arm64/freescale/imx/ |
| H A D | imx7gpc.c | 189 sc->parent = OF_device_from_xref(parent_xref); in imx7gpc_attach()
|
| /freebsd-13.1/sys/arm/allwinner/ |
| H A D | aw_r_intc.c | 86 if ((sc->parent = OF_device_from_xref(intr_parent)) == NULL) { in aw_r_intc_gicp_attach()
|
| /freebsd-13.1/sys/arm/nvidia/ |
| H A D | tegra_lic.c | 216 sc->parent = OF_device_from_xref(parent_xref); in tegra_lic_attach()
|
| /freebsd-13.1/sys/arm/mv/ |
| H A D | mv_ap806_gicp.c | 104 if ((sc->parent = OF_device_from_xref(intr_parent)) == NULL) { in mv_ap806_gicp_attach()
|
| H A D | mv_cp110_icu.c | 123 if ((sc->parent = OF_device_from_xref(msi_parent)) == NULL) { in mv_cp110_icu_attach()
|