Searched refs:mdio_np (Results 1 - 11 of 11) sorted by relevance

/linux-master/drivers/net/ethernet/sunplus/
H A Dspl2sw_mdio.c81 struct device_node *mdio_np; local
86 mdio_np = of_get_child_by_name(comm->pdev->dev.of_node, "mdio");
87 if (!mdio_np) {
106 ret = of_mdiobus_register(mii_bus, mdio_np);
115 of_node_put(mdio_np);
/linux-master/drivers/net/dsa/realtek/
H A Drtl83xx.c75 struct device_node *mdio_np; local
79 mdio_np = of_get_child_by_name(priv->dev->of_node, "mdio");
80 if (!mdio_np) {
98 ret = devm_of_mdiobus_register(priv->dev, bus, mdio_np);
108 of_node_put(mdio_np);
/linux-master/include/linux/
H A Dof_mdio.h46 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) argument
/linux-master/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_hw.c901 struct device_node *mdio_np = NULL; local
909 mdio_np = child_np;
914 if (!mdio_np) {
919 return of_mdiobus_register(mdio, mdio_np);
/linux-master/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.c930 struct device_node *mdio_np; local
933 mdio_np = of_get_child_by_name(node, "mdio");
934 if (mdio_np) {
935 err = enetc_mdio_probe(pf, mdio_np);
937 of_node_put(mdio_np);
/linux-master/drivers/net/ethernet/socionext/
H A Dsni_ave.c1171 struct device_node *mdio_np; local
1199 mdio_np = of_get_child_by_name(np, "mdio");
1200 if (!mdio_np) {
1205 ret = of_mdiobus_register(priv->mdio, mdio_np);
1206 of_node_put(mdio_np);
/linux-master/drivers/net/ethernet/faraday/
H A Dftgmac100.c1659 struct device_node *mdio_np; local
1691 mdio_np = of_get_child_by_name(np, "mdio");
1693 err = of_mdiobus_register(priv->mii_bus, mdio_np);
1699 of_node_put(mdio_np);
/linux-master/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c1448 struct device_node *mdio_np; local
1467 mdio_np = of_get_child_by_name(np, "mdio");
1468 if (mdio_np) {
1470 mdio_bus_np = mdio_np;
1471 /* DO NOT put the mdio_np, it will be used */
/linux-master/drivers/net/dsa/
H A Dlantiq_gswip.c510 struct device_node *mdio_np, *switch_np = priv->dev->of_node; local
515 mdio_np = of_get_compatible_child(switch_np, "lantiq,xrx200-mdio");
516 if (!of_device_is_available(mdio_np))
532 err = devm_of_mdiobus_register(dev, bus, mdio_np);
535 of_node_put(mdio_np);
/linux-master/drivers/net/dsa/microchip/
H A Dksz_common.c2060 struct device_node *mdio_np; local
2064 mdio_np = of_get_child_by_name(dev->dev->of_node, "mdio");
2065 if (!mdio_np)
2070 of_node_put(mdio_np);
2087 of_node_put(mdio_np);
2092 ret = devm_of_mdiobus_register(ds->dev, bus, mdio_np);
2100 of_node_put(mdio_np);
/linux-master/drivers/net/ethernet/renesas/
H A Drswitch.c1297 struct device_node *mdio_np; local
1312 mdio_np = of_get_child_by_name(rdev->np_port, "mdio");
1313 err = of_mdiobus_register(mii_bus, mdio_np);
1322 of_node_put(mdio_np);

Completed in 233 milliseconds