phy_np            149 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c 	struct device_node *phy_np;
phy_np            951 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c 	if (octeon_is_simulation() || p->phy_np == NULL) {
phy_np            957 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c 	phydev = of_phy_connect(netdev, p->phy_np,
phy_np           1511 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c 	p->phy_np = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0);
phy_np           1526 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c 	of_node_put(p->phy_np);
phy_np           1537 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c 	of_node_put(p->phy_np);
phy_np           1476 drivers/net/ethernet/cavium/thunder/thunder_bgx.c 		struct device_node *phy_np;
phy_np           1493 drivers/net/ethernet/cavium/thunder/thunder_bgx.c 		phy_np = of_parse_phandle(node, "phy-handle", 0);
phy_np           1498 drivers/net/ethernet/cavium/thunder/thunder_bgx.c 		if (phy_np &&
phy_np           1499 drivers/net/ethernet/cavium/thunder/thunder_bgx.c 		    !of_device_is_compatible(phy_np, "cortina,cs4223-slice")) {
phy_np           1501 drivers/net/ethernet/cavium/thunder/thunder_bgx.c 			pd = of_phy_find_device(phy_np);
phy_np            136 drivers/net/ethernet/qualcomm/emac/emac-phy.c 		struct device_node *phy_np;
phy_np            144 drivers/net/ethernet/qualcomm/emac/emac-phy.c 		phy_np = of_parse_phandle(np, "phy-handle", 0);
phy_np            145 drivers/net/ethernet/qualcomm/emac/emac-phy.c 		adpt->phydev = of_phy_find_device(phy_np);
phy_np            146 drivers/net/ethernet/qualcomm/emac/emac-phy.c 		of_node_put(phy_np);
phy_np            298 drivers/net/ethernet/socionext/netsec.c 	struct device_node *phy_np;
phy_np           1614 drivers/net/ethernet/socionext/netsec.c 		if (!of_phy_connect(priv->ndev, priv->phy_np,
phy_np           1831 drivers/net/ethernet/socionext/netsec.c 	priv->phy_np = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0);
phy_np           1832 drivers/net/ethernet/socionext/netsec.c 	if (!priv->phy_np) {
phy_np           1837 drivers/net/ethernet/socionext/netsec.c 	*phy_addr = of_mdio_parse_addr(&pdev->dev, priv->phy_np);
phy_np            291 drivers/of/of_mdio.c struct phy_device *of_phy_find_device(struct device_node *phy_np)
phy_np            296 drivers/of/of_mdio.c 	if (!phy_np)
phy_np            299 drivers/of/of_mdio.c 	d = bus_find_device_by_of_node(&mdio_bus_type, phy_np);
phy_np            324 drivers/of/of_mdio.c 				  struct device_node *phy_np,
phy_np            328 drivers/of/of_mdio.c 	struct phy_device *phy = of_phy_find_device(phy_np);
phy_np            361 drivers/of/of_mdio.c 	struct device_node *phy_np;
phy_np            374 drivers/of/of_mdio.c 		phy_np = of_node_get(np);
phy_np            376 drivers/of/of_mdio.c 		phy_np = of_parse_phandle(np, "phy-handle", 0);
phy_np            377 drivers/of/of_mdio.c 		if (!phy_np)
phy_np            381 drivers/of/of_mdio.c 	phy = of_phy_connect(dev, phy_np, hndlr, 0, iface);
phy_np            383 drivers/of/of_mdio.c 	of_node_put(phy_np);
phy_np            401 drivers/of/of_mdio.c 				 struct device_node *phy_np, u32 flags,
phy_np            404 drivers/of/of_mdio.c 	struct phy_device *phy = of_phy_find_device(phy_np);
phy_np            990 drivers/phy/mediatek/phy-mtk-tphy.c 	struct device_node *phy_np = args->np;
phy_np            999 drivers/phy/mediatek/phy-mtk-tphy.c 		if (phy_np == tphy->phys[index]->phy->dev.of_node) {
phy_np            445 drivers/phy/mediatek/phy-mtk-xsphy.c 	struct device_node *phy_np = args->np;
phy_np            454 drivers/phy/mediatek/phy-mtk-xsphy.c 		if (phy_np == xsphy->phys[index]->phy->dev.of_node) {
phy_np             55 drivers/usb/host/ehci-tegra.c 	struct device_node *phy_np;
phy_np             62 drivers/usb/host/ehci-tegra.c 	phy_np = of_parse_phandle(pdev->dev.of_node, "nvidia,phy", 0);
phy_np             63 drivers/usb/host/ehci-tegra.c 	if (!phy_np)
phy_np             71 drivers/usb/host/ehci-tegra.c 	rst = of_reset_control_get_shared(phy_np, "utmi-pads");
phy_np             85 drivers/usb/host/ehci-tegra.c 	of_node_put(phy_np);
phy_np             16 include/linux/of_mdio.h extern struct phy_device *of_phy_find_device(struct device_node *phy_np);
phy_np             18 include/linux/of_mdio.h 					 struct device_node *phy_np,
phy_np             25 include/linux/of_mdio.h 				 struct device_node *phy_np, u32 flags,
phy_np             67 include/linux/of_mdio.h static inline struct phy_device *of_phy_find_device(struct device_node *phy_np)
phy_np             73 include/linux/of_mdio.h 						struct device_node *phy_np,
phy_np             88 include/linux/of_mdio.h 					       struct device_node *phy_np,
phy_np            652 net/dsa/port.c 	struct device_node *phy_np;
phy_np            655 net/dsa/port.c 		phy_np = of_parse_phandle(dp->dn, "phy-handle", 0);
phy_np            656 net/dsa/port.c 		if (of_phy_is_fixed_link(dp->dn) || phy_np)