Lines Matching refs:phy_np
259 * @phy_np: Pointer to the phy's device tree node
264 struct phy_device *of_phy_find_device(struct device_node *phy_np)
266 return fwnode_phy_find_device(of_fwnode_handle(phy_np));
273 * @phy_np: Pointer to device tree node for the PHY
283 struct device_node *phy_np,
287 struct phy_device *phy = of_phy_find_device(phy_np);
320 struct device_node *phy_np;
333 phy_np = of_node_get(np);
335 phy_np = of_parse_phandle(np, "phy-handle", 0);
336 if (!phy_np)
340 phy = of_phy_connect(dev, phy_np, hndlr, 0, iface);
342 of_node_put(phy_np);