Searched refs:mdio_node (Results 1 – 6 of 6) sorted by relevance
316 struct device_node *mdio_node = priv->plat->mdio_node; in stmmac_mdio_register() local361 err = of_mdiobus_register(new_bus, mdio_node); in stmmac_mdio_register()367 if (priv->plat->phy_node || mdio_node) in stmmac_mdio_register()399 if (!found && !mdio_node) { in stmmac_mdio_register()
352 plat->mdio_node = of_get_child_by_name(np, "mdio"); in stmmac_dt_phy()358 for_each_child_of_node(np, plat->mdio_node) { in stmmac_dt_phy()359 if (of_device_is_compatible(plat->mdio_node, in stmmac_dt_phy()365 if (plat->mdio_node) { in stmmac_dt_phy()593 of_node_put(plat->mdio_node); in stmmac_remove_config_dt()
154 struct device_node *mdio_node; member
1490 struct device_node *mdio_node, *parent = dev_of_node(priv->dev); in netsec_register_mdio() local1492 mdio_node = of_get_child_by_name(parent, "mdio"); in netsec_register_mdio()1493 if (mdio_node) { in netsec_register_mdio()1494 parent = mdio_node; in netsec_register_mdio()1503 of_node_put(mdio_node); in netsec_register_mdio()
156 struct device_node *mdio_node = NULL; in altera_tse_mdio_create() local162 mdio_node = child_node; in altera_tse_mdio_create()167 if (mdio_node) { in altera_tse_mdio_create()188 ret = of_mdiobus_register(mdio, mdio_node); in altera_tse_mdio_create()
3158 struct device_node *mdio_node; in cpsw_probe_dt() local3165 mdio_node = of_find_node_by_phandle(be32_to_cpup(parp)); in cpsw_probe_dt()3167 mdio = of_find_device_by_node(mdio_node); in cpsw_probe_dt()3168 of_node_put(mdio_node); in cpsw_probe_dt()