Searched refs:mdio_node (Results 1 – 7 of 7) sorted by relevance
219 struct device_node *mdio_node; in axienet_mdio_setup() local241 mdio_node = of_get_child_by_name(lp->dev->of_node, "mdio"); in axienet_mdio_setup()242 ret = of_mdiobus_register(bus, mdio_node); in axienet_mdio_setup()243 of_node_put(mdio_node); in axienet_mdio_setup()
318 struct device_node *mdio_node = priv->plat->mdio_node; in stmmac_mdio_register() local360 err = of_mdiobus_register(new_bus, mdio_node); in stmmac_mdio_register()366 if (priv->plat->phy_node || mdio_node) in stmmac_mdio_register()398 if (!found && !mdio_node) { in stmmac_mdio_register()
330 plat->mdio_node = of_get_child_by_name(np, "mdio"); in stmmac_dt_phy()336 for_each_child_of_node(np, plat->mdio_node) { in stmmac_dt_phy()337 if (of_device_is_compatible(plat->mdio_node, in stmmac_dt_phy()343 if (plat->mdio_node) { in stmmac_dt_phy()628 of_node_put(plat->mdio_node); in stmmac_remove_config_dt()
138 struct device_node *mdio_node; member
145 struct device_node *mdio_node = NULL; in altera_tse_mdio_create() local151 mdio_node = child_node; in altera_tse_mdio_create()156 if (mdio_node) { in altera_tse_mdio_create()177 ret = of_mdiobus_register(mdio, mdio_node); in altera_tse_mdio_create()
1903 struct device_node *mdio_node, *parent = dev_of_node(priv->dev); in netsec_register_mdio() local1905 mdio_node = of_get_child_by_name(parent, "mdio"); in netsec_register_mdio()1906 if (mdio_node) { in netsec_register_mdio()1907 parent = mdio_node; in netsec_register_mdio()1916 of_node_put(mdio_node); in netsec_register_mdio()
2597 struct device_node *mdio_node; in cpsw_probe_dt() local2604 mdio_node = of_find_node_by_phandle(be32_to_cpup(parp)); in cpsw_probe_dt()2606 mdio = of_find_device_by_node(mdio_node); in cpsw_probe_dt()2607 of_node_put(mdio_node); in cpsw_probe_dt()