Searched refs:phy_np (Results 1 – 7 of 7) sorted by relevance
| /linux/include/linux/ |
| H A D | of_mdio.h | 37 struct phy_device *of_phy_find_device(struct device_node *phy_np); 39 of_phy_connect(struct net_device *dev, struct device_node *phy_np, 103 static inline struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() argument 109 struct device_node *phy_np, in of_phy_connect() argument
|
| /linux/drivers/net/ethernet/qualcomm/emac/ |
| H A D | emac-phy.c | 136 struct device_node *phy_np; in emac_phy_config() local 144 phy_np = of_parse_phandle(np, "phy-handle", 0); in emac_phy_config() 145 adpt->phydev = of_phy_find_device(phy_np); in emac_phy_config() 146 of_node_put(phy_np); in emac_phy_config()
|
| /linux/drivers/net/ethernet/cavium/thunder/ |
| H A D | thunder_bgx.c | 1476 struct device_node *phy_np; in bgx_init_of_phy() local 1490 phy_np = of_parse_phandle(node, "phy-handle", 0); in bgx_init_of_phy() 1495 if (phy_np) { in bgx_init_of_phy() 1496 if (!of_device_is_compatible(phy_np, "cortina,cs4223-slice")) { in bgx_init_of_phy() 1498 pd = of_phy_find_device(phy_np); in bgx_init_of_phy() 1500 of_node_put(phy_np); in bgx_init_of_phy() 1505 of_node_put(phy_np); in bgx_init_of_phy()
|
| /linux/drivers/phy/mediatek/ |
| H A D | phy-mtk-xsphy.c | 461 struct device_node *phy_np = args->np; in mtk_phy_xlate() local 470 if (phy_np == xsphy->phys[index]->phy->dev.of_node) { in mtk_phy_xlate()
|
| H A D | phy-mtk-tphy.c | 1458 struct device_node *phy_np = args->np; in mtk_phy_xlate() local 1468 if (phy_np == tphy->phys[index]->phy->dev.of_node) { in mtk_phy_xlate()
|
| /linux/net/dsa/ |
| H A D | port.c | 1809 struct device_node *dn = dp->dn, *phy_np; in dsa_shared_port_validate_of() local 1829 phy_np = of_parse_phandle(dn, "phy-handle", 0); in dsa_shared_port_validate_of() 1830 if (phy_np) { in dsa_shared_port_validate_of() 1831 of_node_put(phy_np); in dsa_shared_port_validate_of()
|
| /linux/drivers/net/ethernet/socionext/ |
| H A D | netsec.c | 299 struct device_node *phy_np; member 1642 if (!of_phy_connect(priv->ndev, priv->phy_np, in netsec_netdev_open() 1870 priv->phy_np = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0); in netsec_of_probe() 1871 if (!priv->phy_np) { in netsec_of_probe() 1876 *phy_addr = of_mdio_parse_addr(&pdev->dev, priv->phy_np); in netsec_of_probe()
|