Home
last modified time | relevance | path

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

/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()
/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, "utmi-pads"); 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()
/drivers/net/ethernet/apm/xgene/
Dxgene_enet_hw.c735 struct device_node *phy_np; in xgene_enet_phy_connect() local
740 phy_np = of_parse_phandle(dev->of_node, "phy-handle", 0); in xgene_enet_phy_connect()
741 if (!phy_np) { in xgene_enet_phy_connect()
746 phy_dev = of_phy_connect(ndev, phy_np, &xgene_enet_adjust_link, in xgene_enet_phy_connect()
/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()
/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()
/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c1013 struct device_node *phy_np = of_parse_phandle(np_child, in bgx_init_of_phy() local
1015 if (!phy_np) in bgx_init_of_phy()
1017 bgx->lmac[lmac].phydev = of_phy_find_device(phy_np); in bgx_init_of_phy()