Lines Matching defs:phy_np
293 * @phy_np: Pointer to the phy's device tree node
298 struct phy_device *of_phy_find_device(struct device_node *phy_np)
300 return fwnode_phy_find_device(of_fwnode_handle(phy_np));
307 * @phy_np: Pointer to device tree node for the PHY
317 struct device_node *phy_np,
321 struct phy_device *phy = of_phy_find_device(phy_np);
354 struct device_node *phy_np;
367 phy_np = of_node_get(np);
369 phy_np = of_parse_phandle(np, "phy-handle", 0);
370 if (!phy_np)
374 phy = of_phy_connect(dev, phy_np, hndlr, 0, iface);
376 of_node_put(phy_np);