Home
last modified time | relevance | path

Searched refs:mdio_node (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/
Dxilinx_axienet_mdio.c219 struct device_node *mdio_node; in axienet_mdio_setup() local
241 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c411 struct device_node *mdio_node = priv->plat->mdio_node; in stmmac_mdio_register() local
461 err = of_mdiobus_register(new_bus, mdio_node); in stmmac_mdio_register()
471 if (priv->plat->phy_node || mdio_node) in stmmac_mdio_register()
503 if (!found && !mdio_node) { in stmmac_mdio_register()
528 if (!found && !mdio_node) { in stmmac_mdio_register()
Dstmmac_platform.c332 plat->mdio_node = of_get_child_by_name(np, "mdio"); in stmmac_dt_phy()
338 for_each_child_of_node(np, plat->mdio_node) { in stmmac_dt_phy()
339 if (of_device_is_compatible(plat->mdio_node, in stmmac_dt_phy()
345 if (plat->mdio_node) { in stmmac_dt_phy()
642 of_node_put(plat->mdio_node); in stmmac_remove_config_dt()
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/
Dmtk_star_emac.c1367 struct device_node *of_node, *mdio_node; in mtk_star_mdio_init() local
1372 mdio_node = of_get_child_by_name(of_node, "mdio"); in mtk_star_mdio_init()
1373 if (!mdio_node) in mtk_star_mdio_init()
1376 if (!of_device_is_available(mdio_node)) { in mtk_star_mdio_init()
1394 ret = devm_of_mdiobus_register(dev, priv->mii, mdio_node); in mtk_star_mdio_init()
1397 of_node_put(mdio_node); in mtk_star_mdio_init()
/kernel/linux/linux-5.10/include/linux/
Dstmmac.h155 struct device_node *mdio_node; member
/kernel/linux/linux-5.10/drivers/net/ethernet/altera/
Daltera_tse_main.c145 struct device_node *mdio_node = NULL; in altera_tse_mdio_create() local
151 mdio_node = child_node; in altera_tse_mdio_create()
156 if (mdio_node) { in altera_tse_mdio_create()
178 ret = of_mdiobus_register(mdio, mdio_node); in altera_tse_mdio_create()
184 of_node_put(mdio_node); in altera_tse_mdio_create()
195 of_node_put(mdio_node); in altera_tse_mdio_create()
/kernel/linux/linux-5.10/drivers/net/ethernet/socionext/
Dnetsec.c1928 struct device_node *mdio_node, *parent = dev_of_node(priv->dev); in netsec_register_mdio() local
1930 mdio_node = of_get_child_by_name(parent, "mdio"); in netsec_register_mdio()
1931 if (mdio_node) { in netsec_register_mdio()
1932 parent = mdio_node; in netsec_register_mdio()
1941 of_node_put(mdio_node); in netsec_register_mdio()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpsw.c1350 struct device_node *mdio_node; in cpsw_probe_dt() local
1357 mdio_node = of_find_node_by_phandle(be32_to_cpup(parp)); in cpsw_probe_dt()
1359 mdio = of_find_device_by_node(mdio_node); in cpsw_probe_dt()
1360 of_node_put(mdio_node); in cpsw_probe_dt()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0036_linux_drivers_staging.patch6907 + struct device_node *mdio_node;
6939 + mdio_node = of_get_child_by_name(pfe->dev->of_node, "mdio");
6940 + if ((mdio_info->id == 0) && mdio_node) {
6941 + rc = of_mdiobus_register(bus, mdio_node);
6942 + of_node_put(mdio_node);