/linux-6.12.1/drivers/net/ethernet/sunplus/ |
D | spl2sw_mdio.c | 81 struct device_node *mdio_np; in spl2sw_mdio_init() local 86 mdio_np = of_get_child_by_name(comm->pdev->dev.of_node, "mdio"); in spl2sw_mdio_init() 87 if (!mdio_np) { in spl2sw_mdio_init() 106 ret = of_mdiobus_register(mii_bus, mdio_np); in spl2sw_mdio_init() 115 of_node_put(mdio_np); in spl2sw_mdio_init()
|
/linux-6.12.1/drivers/net/dsa/realtek/ |
D | rtl83xx.c | 75 struct device_node *mdio_np; in rtl83xx_setup_user_mdio() local 79 mdio_np = of_get_child_by_name(priv->dev->of_node, "mdio"); in rtl83xx_setup_user_mdio() 80 if (!mdio_np) { in rtl83xx_setup_user_mdio() 98 ret = devm_of_mdiobus_register(priv->dev, bus, mdio_np); in rtl83xx_setup_user_mdio() 108 of_node_put(mdio_np); in rtl83xx_setup_user_mdio()
|
/linux-6.12.1/include/linux/ |
D | of_mdio.h | 46 struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np); 123 static inline struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np) in of_mdio_find_bus() argument
|
/linux-6.12.1/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_hw.c | 901 struct device_node *mdio_np = NULL; in xgene_mdiobus_register() local 909 mdio_np = child_np; in xgene_mdiobus_register() 914 if (!mdio_np) { in xgene_mdiobus_register() 919 return of_mdiobus_register(mdio, mdio_np); in xgene_mdiobus_register()
|
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.c | 921 struct device_node *mdio_np; in enetc_mdiobus_create() local 924 mdio_np = of_get_child_by_name(node, "mdio"); in enetc_mdiobus_create() 925 if (mdio_np) { in enetc_mdiobus_create() 926 err = enetc_mdio_probe(pf, mdio_np); in enetc_mdiobus_create() 928 of_node_put(mdio_np); in enetc_mdiobus_create()
|
/linux-6.12.1/drivers/net/ethernet/socionext/ |
D | sni_ave.c | 1171 struct device_node *mdio_np; in ave_init() local 1199 mdio_np = of_get_child_by_name(np, "mdio"); in ave_init() 1200 if (!mdio_np) { in ave_init() 1205 ret = of_mdiobus_register(priv->mdio, mdio_np); in ave_init() 1206 of_node_put(mdio_np); in ave_init()
|
/linux-6.12.1/drivers/net/dsa/ |
D | lantiq_gswip.c | 512 struct device_node *mdio_np, *switch_np = priv->dev->of_node; in gswip_mdio() local 517 mdio_np = of_get_compatible_child(switch_np, "lantiq,xrx200-mdio"); in gswip_mdio() 518 if (!of_device_is_available(mdio_np)) in gswip_mdio() 534 err = devm_of_mdiobus_register(dev, bus, mdio_np); in gswip_mdio() 537 of_node_put(mdio_np); in gswip_mdio()
|
/linux-6.12.1/drivers/net/ethernet/faraday/ |
D | ftgmac100.c | 1681 struct device_node *mdio_np; in ftgmac100_setup_mdio() local 1713 mdio_np = of_get_child_by_name(np, "mdio"); in ftgmac100_setup_mdio() 1715 err = of_mdiobus_register(priv->mii_bus, mdio_np); in ftgmac100_setup_mdio() 1721 of_node_put(mdio_np); in ftgmac100_setup_mdio()
|
/linux-6.12.1/drivers/net/ethernet/xscale/ |
D | ixp4xx_eth.c | 1446 struct device_node *mdio_np; in ixp4xx_of_get_platdata() local 1465 mdio_np = of_get_child_by_name(np, "mdio"); in ixp4xx_of_get_platdata() 1466 if (mdio_np) { in ixp4xx_of_get_platdata() 1468 mdio_bus_np = mdio_np; in ixp4xx_of_get_platdata()
|
/linux-6.12.1/drivers/net/dsa/microchip/ |
D | ksz_common.c | 2281 struct device_node *mdio_np; in ksz_mdio_register() local 2285 mdio_np = of_get_child_by_name(dev->dev->of_node, "mdio"); in ksz_mdio_register() 2286 if (!mdio_np) in ksz_mdio_register() 2291 of_node_put(mdio_np); in ksz_mdio_register() 2308 of_node_put(mdio_np); in ksz_mdio_register() 2313 ret = devm_of_mdiobus_register(ds->dev, bus, mdio_np); in ksz_mdio_register() 2321 of_node_put(mdio_np); in ksz_mdio_register()
|
/linux-6.12.1/drivers/net/ethernet/renesas/ |
D | rswitch.c | 1297 struct device_node *mdio_np; in rswitch_mii_register() local 1312 mdio_np = of_get_child_by_name(rdev->np_port, "mdio"); in rswitch_mii_register() 1313 err = of_mdiobus_register(mii_bus, mdio_np); in rswitch_mii_register() 1322 of_node_put(mdio_np); in rswitch_mii_register()
|