Home
last modified time | relevance | path

Searched refs:phy_np (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/include/linux/
Dof_mdio.h17 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.4.14/drivers/of/
Dof_mdio.c191 static int of_phy_match(struct device *dev, void *phy_np) in of_phy_match() argument
193 return dev->of_node == phy_np; in of_phy_match()
203 struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() argument
206 if (!phy_np) in of_phy_find_device()
209 d = bus_find_device(&mdio_bus_type, NULL, phy_np, of_phy_match); in of_phy_find_device()
226 struct device_node *phy_np, in of_phy_connect() argument
230 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_connect()
259 struct device_node *phy_np, u32 flags, in of_phy_attach() argument
262 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_attach()
/linux-4.4.14/drivers/usb/host/
Dehci-tegra.c80 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.4.14/drivers/net/ethernet/apm/xgene/
Dxgene_enet_hw.c734 struct device_node *phy_np; in xgene_enet_phy_connect() local
739 phy_np = of_parse_phandle(dev->of_node, "phy-handle", 0); in xgene_enet_phy_connect()
740 if (!phy_np) { in xgene_enet_phy_connect()
745 phy_dev = of_phy_connect(ndev, phy_np, &xgene_enet_adjust_link, in xgene_enet_phy_connect()
/linux-4.4.14/drivers/phy/
Dphy-mt65xx-usb3.c370 struct device_node *phy_np = args->np; in mt65xx_phy_xlate() local
380 if (phy_np == u3phy->phys[index]->phy->dev.of_node) { in mt65xx_phy_xlate()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c984 struct device_node *phy_np = of_parse_phandle(np_child, in bgx_init_of_phy() local
986 if (!phy_np) in bgx_init_of_phy()
988 bgx->lmac[lmac].phydev = of_phy_find_device(phy_np); in bgx_init_of_phy()
/linux-4.4.14/drivers/net/ethernet/octeon/
Docteon_mgmt.c150 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()
1528 p->phy_np = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0); in octeon_mgmt_probe()