Home
last modified time | relevance | path

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

12

/freebsd-12.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-12.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-12.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-12.1/sys/mips/mediatek/
H A Dfdt_reset.c71 resetdev = OF_device_from_xref(resets[i]); in assert_deassert_all()
/freebsd-12.1/sys/dev/pwm/
H A Dofw_pwm.c57 channel.dev = OF_device_from_xref(xref); in pwm_get_by_ofw_propidx()
/freebsd-12.1/sys/arm/amlogic/aml8726/
H A Daml8726_usb_phy-m6.c179 sc->pwr_en[i].dev = OF_device_from_xref(prop[i * 3]); in aml8726_usb_phy_attach()
194 sc->hub_rst.dev = OF_device_from_xref(prop[0]); in aml8726_usb_phy_attach()
H A Daml8726_sdxc-m8.c777 sc->pwr_en.dev = OF_device_from_xref(prop[0]); in aml8726_sdxc_attach()
846 sc->vselect.dev = OF_device_from_xref(prop[0]); in aml8726_sdxc_attach()
886 sc->card_rst.dev = OF_device_from_xref(prop[0]); in aml8726_sdxc_attach()
/freebsd-12.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-12.1/sys/powerpc/mikrotik/
H A Drb_led.c117 sc->sc_gpio = OF_device_from_xref(gp[0]); in rbled_attach()
/freebsd-12.1/sys/arm/nvidia/drm2/
H A Dtegra_drm_subr.c145 output->ddc = OF_device_from_xref(ddc); in tegra_drm_encoder_attach()
/freebsd-12.1/sys/dev/extres/hwreset/
H A Dhwreset.c135 rstdev = OF_device_from_xref(xnode); in hwreset_get_by_ofw_idx()
/freebsd-12.1/sys/dev/ofw/
H A Dopenfirm.h151 device_t OF_device_from_xref(phandle_t xref);
/freebsd-12.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-12.1/sys/dev/gpio/
H A Dofw_gpiobus.c81 pin.dev = OF_device_from_xref(xref); in gpio_pin_get_by_ofw_propidx()
444 (*pins)[j].dev = OF_device_from_xref(gpios[i]); in ofw_gpiobus_parse_gpios_impl()
/freebsd-12.1/sys/arm/nvidia/tegra124/
H A Dtegra124_coretemp.c169 sc->tsens_dev = OF_device_from_xref(xnode); in tegra124_coretemp_ofw_parse()
/freebsd-12.1/sys/mips/ingenic/
H A Djz4780_pinctrl.c183 chipdev = OF_device_from_xref(chipxref); in jz4780_pinctrl_chip_lookup()
/freebsd-12.1/sys/arm/ti/omap4/
H A Domap4_wugen.c199 sc->sc_parent = OF_device_from_xref(parent_xref); in omap4_wugen_attach()
/freebsd-12.1/sys/arm/mv/
H A Dmv_ap806_gicp.c102 if ((sc->parent = OF_device_from_xref(intr_parent)) == NULL) { in mv_ap806_gicp_attach()
H A Dmv_cp110_icu.c120 if ((sc->parent = OF_device_from_xref(msi_parent)) == NULL) { in mv_cp110_icu_attach()
/freebsd-12.1/sys/arm/nvidia/
H A Dtegra_lic.c216 sc->parent = OF_device_from_xref(parent_xref); in tegra_lic_attach()
/freebsd-12.1/sys/dev/nand/
H A Dnfc_rb.c194 sc->sc_gpio = OF_device_from_xref(ale[0]); in rb_nand_attach()
/freebsd-12.1/sys/arm/annapurna/alpine/
H A Dalpine_pci_msix.c183 gic_dev = OF_device_from_xref(iparent); in al_msix_attach()
/freebsd-12.1/sys/dev/usb/controller/
H A Dehci_imx.c361 usbmdev = OF_device_from_xref(usbmprops[0]); in imx_ehci_disable_oc()
/freebsd-12.1/sys/dev/vnic/
H A Dthunder_bgx_fdt.c438 OF_device_from_xref(OF_xref_from_node(mdio)); in bgx_fdt_init_phy()

12