Lines Matching refs:phy_np
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()
382 of_node_put(phy_np); in of_phy_get_and_connect()
400 struct device_node *phy_np, u32 flags, in of_phy_attach() argument
403 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_attach()