Searched refs:phy_np (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/include/linux/ |
D | of_mdio.h | 17 extern struct phy_device *of_phy_find_device(struct device_node *phy_np); 19 struct device_node *phy_np, 23 struct device_node *phy_np, u32 flags, 40 static inline struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() argument 46 struct device_node *phy_np, in of_phy_connect() argument 54 struct device_node *phy_np, in of_phy_attach() argument
|
/linux-4.1.27/drivers/of/ |
D | of_mdio.c | 187 static int of_phy_match(struct device *dev, void *phy_np) in of_phy_match() argument 189 return dev->of_node == phy_np; in of_phy_match() 198 struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() argument 201 if (!phy_np) in of_phy_find_device() 204 d = bus_find_device(&mdio_bus_type, NULL, phy_np, of_phy_match); in of_phy_find_device() 219 struct device_node *phy_np, in of_phy_connect() argument 223 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_connect() 242 struct device_node *phy_np, u32 flags, in of_phy_attach() argument 245 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_attach()
|
/linux-4.1.27/drivers/usb/host/ |
D | ehci-tegra.c | 80 struct device_node *phy_np; in tegra_reset_usb_controller() local 85 phy_np = of_parse_phandle(pdev->dev.of_node, "nvidia,phy", 0); in tegra_reset_usb_controller() 86 if (!phy_np) in tegra_reset_usb_controller() 92 usb1_reset = of_reset_control_get(phy_np, "usb"); in tegra_reset_usb_controller() 108 if (!of_property_read_bool(phy_np, "nvidia,has-utmi-pad-registers")) { in tegra_reset_usb_controller() 114 of_node_put(phy_np); in tegra_reset_usb_controller()
|
/linux-4.1.27/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_hw.c | 664 struct device_node *phy_np; in xgene_enet_phy_connect() local 669 phy_np = of_parse_phandle(dev->of_node, "phy-handle", 0); in xgene_enet_phy_connect() 670 if (!phy_np) { in xgene_enet_phy_connect() 674 pdata->phy_dev = of_phy_find_device(phy_np); in xgene_enet_phy_connect()
|
/linux-4.1.27/drivers/net/ethernet/octeon/ |
D | octeon_mgmt.c | 150 struct device_node *phy_np; member 953 if (octeon_is_simulation() || p->phy_np == NULL) { in octeon_mgmt_init_phy() 959 p->phydev = of_phy_connect(netdev, p->phy_np, in octeon_mgmt_init_phy() 1532 p->phy_np = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0); in octeon_mgmt_probe()
|