| /Linux-v5.4/drivers/of/ |
| D | of_mdio.c | 290 struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() argument 295 if (!phy_np) in of_phy_find_device() 298 d = bus_find_device_by_of_node(&mdio_bus_type, phy_np); in of_phy_find_device() 323 struct device_node *phy_np, in of_phy_connect() argument 327 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_connect() 360 struct device_node *phy_np; in of_phy_get_and_connect() local 373 phy_np = of_node_get(np); in of_phy_get_and_connect() 375 phy_np = of_parse_phandle(np, "phy-handle", 0); in of_phy_get_and_connect() 376 if (!phy_np) in of_phy_get_and_connect() 380 phy = of_phy_connect(dev, phy_np, hndlr, 0, iface); in of_phy_get_and_connect() [all …]
|
| /Linux-v5.4/include/linux/ |
| D | of_mdio.h | 16 extern struct phy_device *of_phy_find_device(struct device_node *phy_np); 18 struct device_node *phy_np, 25 struct device_node *phy_np, u32 flags, 67 static inline struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() argument 73 struct device_node *phy_np, in of_phy_connect() argument 88 struct device_node *phy_np, in of_phy_attach() argument
|
| /Linux-v5.4/drivers/net/ethernet/qualcomm/emac/ |
| 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-v5.4/drivers/usb/host/ |
| D | ehci-tegra.c | 55 struct device_node *phy_np; in tegra_reset_usb_controller() local 62 phy_np = of_parse_phandle(pdev->dev.of_node, "nvidia,phy", 0); in tegra_reset_usb_controller() 63 if (!phy_np) in tegra_reset_usb_controller() 71 rst = of_reset_control_get_shared(phy_np, "utmi-pads"); in tegra_reset_usb_controller() 85 of_node_put(phy_np); in tegra_reset_usb_controller()
|
| /Linux-v5.4/drivers/net/ethernet/cavium/octeon/ |
| D | octeon_mgmt.c | 149 struct device_node *phy_np; member 951 if (octeon_is_simulation() || p->phy_np == NULL) { in octeon_mgmt_init_phy() 957 phydev = of_phy_connect(netdev, p->phy_np, in octeon_mgmt_init_phy() 1511 p->phy_np = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0); in octeon_mgmt_probe() 1526 of_node_put(p->phy_np); in octeon_mgmt_probe() 1537 of_node_put(p->phy_np); in octeon_mgmt_remove()
|
| /Linux-v5.4/drivers/phy/mediatek/ |
| D | phy-mtk-xsphy.c | 445 struct device_node *phy_np = args->np; in mtk_phy_xlate() local 454 if (phy_np == xsphy->phys[index]->phy->dev.of_node) { in mtk_phy_xlate()
|
| D | phy-mtk-tphy.c | 990 struct device_node *phy_np = args->np; in mtk_phy_xlate() local 999 if (phy_np == tphy->phys[index]->phy->dev.of_node) { in mtk_phy_xlate()
|
| /Linux-v5.4/drivers/net/ethernet/cavium/thunder/ |
| D | thunder_bgx.c | 1467 struct device_node *phy_np; in bgx_init_of_phy() local 1484 phy_np = of_parse_phandle(node, "phy-handle", 0); in bgx_init_of_phy() 1489 if (phy_np && in bgx_init_of_phy() 1490 !of_device_is_compatible(phy_np, "cortina,cs4223-slice")) { in bgx_init_of_phy() 1492 pd = of_phy_find_device(phy_np); in bgx_init_of_phy()
|
| /Linux-v5.4/drivers/net/ethernet/socionext/ |
| D | netsec.c | 298 struct device_node *phy_np; member 1614 if (!of_phy_connect(priv->ndev, priv->phy_np, in netsec_netdev_open() 1831 priv->phy_np = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0); in netsec_of_probe() 1832 if (!priv->phy_np) { in netsec_of_probe() 1837 *phy_addr = of_mdio_parse_addr(&pdev->dev, priv->phy_np); in netsec_of_probe()
|