phy_node 20 drivers/gpu/drm/msm/dsi/dsi.c struct device_node *phy_node; phy_node 22 drivers/gpu/drm/msm/dsi/dsi.c phy_node = of_parse_phandle(pdev->dev.of_node, "phys", 0); phy_node 23 drivers/gpu/drm/msm/dsi/dsi.c if (!phy_node) { phy_node 28 drivers/gpu/drm/msm/dsi/dsi.c phy_pdev = of_find_device_by_node(phy_node); phy_node 32 drivers/gpu/drm/msm/dsi/dsi.c of_node_put(phy_node); phy_node 86 drivers/gpu/drm/msm/hdmi/hdmi.c struct device_node *phy_node; phy_node 88 drivers/gpu/drm/msm/hdmi/hdmi.c phy_node = of_parse_phandle(pdev->dev.of_node, "phys", 0); phy_node 89 drivers/gpu/drm/msm/hdmi/hdmi.c if (!phy_node) { phy_node 94 drivers/gpu/drm/msm/hdmi/hdmi.c phy_pdev = of_find_device_by_node(phy_node); phy_node 98 drivers/gpu/drm/msm/hdmi/hdmi.c of_node_put(phy_node); phy_node 130 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c struct device_node *phy_node; phy_node 209 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c phy_node = of_parse_phandle(dev->of_node, "phys", 0); phy_node 210 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c if (!phy_node) { phy_node 215 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c ret = sun8i_hdmi_phy_probe(hdmi, phy_node); phy_node 216 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c of_node_put(phy_node); phy_node 1174 drivers/net/dsa/mt7530.c struct device_node *phy_node; phy_node 1284 drivers/net/dsa/mt7530.c phy_node = of_parse_phandle(mac_np, "phy-handle", 0); phy_node 1285 drivers/net/dsa/mt7530.c if (!phy_node) phy_node 1288 drivers/net/dsa/mt7530.c if (phy_node->parent == priv->dev->of_node->parent) { phy_node 1290 drivers/net/dsa/mt7530.c id = of_mdio_parse_addr(ds->dev, phy_node); phy_node 1296 drivers/net/dsa/mt7530.c of_node_put(phy_node); phy_node 623 drivers/net/dsa/sja1105/sja1105_main.c struct device_node *phy_node; phy_node 646 drivers/net/dsa/sja1105/sja1105_main.c phy_node = of_parse_phandle(child, "phy-handle", 0); phy_node 647 drivers/net/dsa/sja1105/sja1105_main.c if (!phy_node) { phy_node 661 drivers/net/dsa/sja1105/sja1105_main.c of_node_put(phy_node); phy_node 85 drivers/net/ethernet/allwinner/sun4i-emac.c struct device_node *phy_node; phy_node 166 drivers/net/ethernet/allwinner/sun4i-emac.c phydev = of_phy_connect(db->ndev, db->phy_node, phy_node 863 drivers/net/ethernet/allwinner/sun4i-emac.c db->phy_node = of_parse_phandle(np, "phy-handle", 0); phy_node 864 drivers/net/ethernet/allwinner/sun4i-emac.c if (!db->phy_node) phy_node 865 drivers/net/ethernet/allwinner/sun4i-emac.c db->phy_node = of_parse_phandle(np, "phy", 0); phy_node 866 drivers/net/ethernet/allwinner/sun4i-emac.c if (!db->phy_node) { phy_node 225 drivers/net/ethernet/amd/xgbe/xgbe-platform.c struct device_node *phy_node; phy_node 228 drivers/net/ethernet/amd/xgbe/xgbe-platform.c phy_node = of_parse_phandle(dev->of_node, "phy-handle", 0); phy_node 229 drivers/net/ethernet/amd/xgbe/xgbe-platform.c if (phy_node) { phy_node 233 drivers/net/ethernet/amd/xgbe/xgbe-platform.c phy_pdev = of_find_device_by_node(phy_node); phy_node 234 drivers/net/ethernet/amd/xgbe/xgbe-platform.c of_node_put(phy_node); phy_node 870 drivers/net/ethernet/arc/emac_main.c struct device_node *phy_node; phy_node 878 drivers/net/ethernet/arc/emac_main.c phy_node = of_parse_phandle(dev->of_node, "phy", 0); phy_node 879 drivers/net/ethernet/arc/emac_main.c if (!phy_node) { phy_node 990 drivers/net/ethernet/arc/emac_main.c phydev = of_phy_connect(ndev, phy_node, arc_emac_adjust_link, 0, phy_node 1009 drivers/net/ethernet/arc/emac_main.c of_node_put(phy_node); phy_node 1021 drivers/net/ethernet/arc/emac_main.c of_node_put(phy_node); phy_node 918 drivers/net/ethernet/atheros/ag71xx.c struct device_node *phy_node; phy_node 930 drivers/net/ethernet/atheros/ag71xx.c phy_node = of_node_get(np); phy_node 932 drivers/net/ethernet/atheros/ag71xx.c phy_node = of_parse_phandle(np, "phy-handle", 0); phy_node 935 drivers/net/ethernet/atheros/ag71xx.c if (!phy_node) { phy_node 940 drivers/net/ethernet/atheros/ag71xx.c phydev = of_phy_connect(ag->ndev, phy_node, ag71xx_phy_link_adjust, phy_node 943 drivers/net/ethernet/atheros/ag71xx.c of_node_put(phy_node); phy_node 958 drivers/net/ethernet/aurora/nb8800.c phydev = of_phy_connect(dev, priv->phy_node, phy_node 1423 drivers/net/ethernet/aurora/nb8800.c priv->phy_node = of_node_get(pdev->dev.of_node); phy_node 1426 drivers/net/ethernet/aurora/nb8800.c if (!priv->phy_node) phy_node 1427 drivers/net/ethernet/aurora/nb8800.c priv->phy_node = of_parse_phandle(pdev->dev.of_node, phy_node 1430 drivers/net/ethernet/aurora/nb8800.c if (!priv->phy_node) { phy_node 1482 drivers/net/ethernet/aurora/nb8800.c of_node_put(priv->phy_node); phy_node 1500 drivers/net/ethernet/aurora/nb8800.c of_node_put(priv->phy_node); phy_node 287 drivers/net/ethernet/aurora/nb8800.h struct device_node *phy_node; phy_node 1188 drivers/net/ethernet/cadence/macb.h struct device_node *phy_node; phy_node 522 drivers/net/ethernet/cadence/macb_main.c bp->phy_node = of_node_get(np); phy_node 524 drivers/net/ethernet/cadence/macb_main.c bp->phy_node = of_parse_phandle(np, "phy-handle", 0); phy_node 529 drivers/net/ethernet/cadence/macb_main.c if (!bp->phy_node && !phy_find_first(bp->mii_bus)) { phy_node 545 drivers/net/ethernet/cadence/macb_main.c if (bp->phy_node) { phy_node 546 drivers/net/ethernet/cadence/macb_main.c phydev = of_phy_connect(dev, bp->phy_node, phy_node 636 drivers/net/ethernet/cadence/macb_main.c of_node_put(bp->phy_node); phy_node 4360 drivers/net/ethernet/cadence/macb_main.c of_node_put(bp->phy_node); phy_node 4411 drivers/net/ethernet/cadence/macb_main.c of_node_put(bp->phy_node); phy_node 2499 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c phy_dev = of_phy_connect(net_dev, mac_dev->phy_node, phy_node 1327 drivers/net/ethernet/freescale/enetc/enetc.c if (!priv->phy_node) phy_node 1330 drivers/net/ethernet/freescale/enetc/enetc.c phydev = of_phy_connect(ndev, priv->phy_node, &adjust_link, phy_node 196 drivers/net/ethernet/freescale/enetc/enetc.h struct device_node *phy_node; phy_node 761 drivers/net/ethernet/freescale/enetc/enetc_pf.c priv->phy_node = of_parse_phandle(np, "phy-handle", 0); phy_node 762 drivers/net/ethernet/freescale/enetc/enetc_pf.c if (!priv->phy_node) { phy_node 774 drivers/net/ethernet/freescale/enetc/enetc_pf.c priv->phy_node = of_node_get(np); phy_node 782 drivers/net/ethernet/freescale/enetc/enetc_pf.c of_node_put(priv->phy_node); phy_node 790 drivers/net/ethernet/freescale/enetc/enetc_pf.c of_node_put(priv->phy_node); phy_node 808 drivers/net/ethernet/freescale/enetc/enetc_pf.c if (priv->phy_node) phy_node 809 drivers/net/ethernet/freescale/enetc/enetc_pf.c of_node_put(priv->phy_node); phy_node 542 drivers/net/ethernet/freescale/fec.h struct device_node *phy_node; phy_node 2007 drivers/net/ethernet/freescale/fec_main.c if (fep->phy_node) { phy_node 2008 drivers/net/ethernet/freescale/fec_main.c phy_dev = of_phy_connect(ndev, fep->phy_node, phy_node 3494 drivers/net/ethernet/freescale/fec_main.c struct device_node *np = pdev->dev.of_node, *phy_node; phy_node 3557 drivers/net/ethernet/freescale/fec_main.c phy_node = of_parse_phandle(np, "phy-handle", 0); phy_node 3558 drivers/net/ethernet/freescale/fec_main.c if (!phy_node && of_phy_is_fixed_link(np)) { phy_node 3565 drivers/net/ethernet/freescale/fec_main.c phy_node = of_node_get(np); phy_node 3567 drivers/net/ethernet/freescale/fec_main.c fep->phy_node = phy_node; phy_node 3724 drivers/net/ethernet/freescale/fec_main.c of_node_put(phy_node); phy_node 3755 drivers/net/ethernet/freescale/fec_main.c of_node_put(fep->phy_node); phy_node 68 drivers/net/ethernet/freescale/fec_mpc52xx.c struct device_node *phy_node; phy_node 220 drivers/net/ethernet/freescale/fec_mpc52xx.c if (priv->phy_node) { phy_node 221 drivers/net/ethernet/freescale/fec_mpc52xx.c phydev = of_phy_connect(priv->ndev, priv->phy_node, phy_node 946 drivers/net/ethernet/freescale/fec_mpc52xx.c priv->phy_node = of_parse_phandle(np, "phy-handle", 0); phy_node 970 drivers/net/ethernet/freescale/fec_mpc52xx.c of_node_put(priv->phy_node); phy_node 997 drivers/net/ethernet/freescale/fec_mpc52xx.c of_node_put(priv->phy_node); phy_node 998 drivers/net/ethernet/freescale/fec_mpc52xx.c priv->phy_node = NULL; phy_node 805 drivers/net/ethernet/freescale/fman/mac.c mac_dev->phy_node = of_parse_phandle(mac_node, "phy-handle", 0); phy_node 806 drivers/net/ethernet/freescale/fman/mac.c if (!mac_dev->phy_node && of_phy_is_fixed_link(mac_node)) { phy_node 820 drivers/net/ethernet/freescale/fman/mac.c mac_dev->phy_node = of_node_get(mac_node); phy_node 821 drivers/net/ethernet/freescale/fman/mac.c phy = of_phy_find_device(mac_dev->phy_node); phy_node 824 drivers/net/ethernet/freescale/fman/mac.c of_node_put(mac_dev->phy_node); phy_node 840 drivers/net/ethernet/freescale/fman/mac.c of_node_put(mac_dev->phy_node); phy_node 54 drivers/net/ethernet/freescale/fman/mac.h struct device_node *phy_node; phy_node 719 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c phydev = of_phy_connect(dev, fep->fpi->phy_node, &fs_adjust_link, 0, phy_node 952 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c fpi->phy_node = of_parse_phandle(ofdev->dev.of_node, "phy-handle", 0); phy_node 953 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c if (!fpi->phy_node && of_phy_is_fixed_link(ofdev->dev.of_node)) { phy_node 961 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c fpi->phy_node = of_node_get(ofdev->dev.of_node); phy_node 1059 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c of_node_put(fpi->phy_node); phy_node 1077 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c of_node_put(fep->fpi->phy_node); phy_node 820 drivers/net/ethernet/freescale/gianfar.c priv->phy_node = of_parse_phandle(np, "phy-handle", 0); phy_node 825 drivers/net/ethernet/freescale/gianfar.c if (!priv->phy_node && of_phy_is_fixed_link(np)) { phy_node 830 drivers/net/ethernet/freescale/gianfar.c priv->phy_node = of_node_get(np); phy_node 1690 drivers/net/ethernet/freescale/gianfar.c phydev = of_phy_connect(dev, priv->phy_node, &adjust_link, 0, phy_node 3465 drivers/net/ethernet/freescale/gianfar.c of_node_put(priv->phy_node); phy_node 3476 drivers/net/ethernet/freescale/gianfar.c of_node_put(priv->phy_node); phy_node 1120 drivers/net/ethernet/freescale/gianfar.h struct device_node *phy_node; phy_node 1733 drivers/net/ethernet/freescale/ucc_geth.c phydev = of_phy_connect(dev, ug_info->phy_node, &adjust_link, 0, phy_node 3789 drivers/net/ethernet/freescale/ucc_geth.c ug_info->phy_node = of_parse_phandle(np, "phy-handle", 0); phy_node 3790 drivers/net/ethernet/freescale/ucc_geth.c if (!ug_info->phy_node && of_phy_is_fixed_link(np)) { phy_node 3798 drivers/net/ethernet/freescale/ucc_geth.c ug_info->phy_node = of_node_get(np); phy_node 3808 drivers/net/ethernet/freescale/ucc_geth.c prop = of_get_property(ug_info->phy_node, "interface", NULL); phy_node 3926 drivers/net/ethernet/freescale/ucc_geth.c of_node_put(ug_info->phy_node); phy_node 3943 drivers/net/ethernet/freescale/ucc_geth.c of_node_put(ugeth->ug_info->phy_node); phy_node 1125 drivers/net/ethernet/freescale/ucc_geth.h struct device_node *phy_node; phy_node 242 drivers/net/ethernet/hisilicon/hip04_eth.c struct device_node *phy_node; phy_node 984 drivers/net/ethernet/hisilicon/hip04_eth.c priv->phy_node = of_parse_phandle(node, "phy-handle", 0); phy_node 985 drivers/net/ethernet/hisilicon/hip04_eth.c if (priv->phy_node) { phy_node 986 drivers/net/ethernet/hisilicon/hip04_eth.c priv->phy = of_phy_connect(ndev, priv->phy_node, phy_node 1028 drivers/net/ethernet/hisilicon/hip04_eth.c of_node_put(priv->phy_node); phy_node 1044 drivers/net/ethernet/hisilicon/hip04_eth.c of_node_put(priv->phy_node); phy_node 257 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c struct device_node *phy_node; phy_node 844 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c phy = of_phy_connect(dev, priv->phy_node, phy_node 1203 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c priv->phy_node = of_parse_phandle(node, "phy-handle", 0); phy_node 1204 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c if (!priv->phy_node) { phy_node 1275 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c of_node_put(priv->phy_node); phy_node 1303 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c of_node_put(priv->phy_node); phy_node 2750 drivers/net/ethernet/marvell/mv643xx_eth.c ppd.phy_node = of_parse_phandle(pnp, "phy-handle", 0); phy_node 2751 drivers/net/ethernet/marvell/mv643xx_eth.c if (!ppd.phy_node) { phy_node 3139 drivers/net/ethernet/marvell/mv643xx_eth.c if (pd->phy_node) { phy_node 3140 drivers/net/ethernet/marvell/mv643xx_eth.c phydev = of_phy_connect(mp->dev, pd->phy_node, phy_node 374 drivers/net/ethernet/mscc/ocelot_board.c struct device_node *phy_node; phy_node 394 drivers/net/ethernet/mscc/ocelot_board.c phy_node = of_parse_phandle(portnp, "phy-handle", 0); phy_node 395 drivers/net/ethernet/mscc/ocelot_board.c if (!phy_node) phy_node 398 drivers/net/ethernet/mscc/ocelot_board.c phy = of_phy_find_device(phy_node); phy_node 399 drivers/net/ethernet/mscc/ocelot_board.c of_node_put(phy_node); phy_node 174 drivers/net/ethernet/ni/nixge.c struct device_node *phy_node; phy_node 873 drivers/net/ethernet/ni/nixge.c phy = of_phy_connect(ndev, priv->phy_node, phy_node 1285 drivers/net/ethernet/ni/nixge.c struct device_node *mn, *phy_node; phy_node 1356 drivers/net/ethernet/ni/nixge.c phy_node = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0); phy_node 1357 drivers/net/ethernet/ni/nixge.c if (!phy_node && of_phy_is_fixed_link(pdev->dev.of_node)) { phy_node 1363 drivers/net/ethernet/ni/nixge.c phy_node = of_node_get(pdev->dev.of_node); phy_node 1365 drivers/net/ethernet/ni/nixge.c priv->phy_node = phy_node; phy_node 1378 drivers/net/ethernet/ni/nixge.c of_node_put(phy_node); phy_node 1399 drivers/net/ethernet/ni/nixge.c of_node_put(priv->phy_node); phy_node 1106 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c if (plat->phy_node && bsp_priv->integrated_phy) { phy_node 1107 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c bsp_priv->clk_phy = of_clk_get(plat->phy_node, 0); phy_node 1278 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c if (plat->phy_node) { phy_node 1279 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c bsp_priv->integrated_phy = of_property_read_bool(plat->phy_node, phy_node 1282 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c bsp_priv->phy_reset = of_reset_control_get(plat->phy_node, NULL); phy_node 898 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c ret = of_mdio_parse_addr(priv->device, priv->plat->phy_node); phy_node 366 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (priv->plat->phy_node || mdio_node) phy_node 425 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c plat->phy_node = of_parse_phandle(np, "phy-handle", 0); phy_node 627 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c of_node_put(plat->phy_node); phy_node 1253 drivers/net/ethernet/ti/cpsw.c if (slave->data->phy_node) { phy_node 1254 drivers/net/ethernet/ti/cpsw.c phy = of_phy_connect(priv->ndev, slave->data->phy_node, phy_node 1258 drivers/net/ethernet/ti/cpsw.c slave->data->phy_node, phy_node 2577 drivers/net/ethernet/ti/cpsw.c slave_data->phy_node = of_parse_phandle(slave_node, phy_node 2580 drivers/net/ethernet/ti/cpsw.c if (slave_data->phy_node) { phy_node 2583 drivers/net/ethernet/ti/cpsw.c i, slave_data->phy_node); phy_node 2594 drivers/net/ethernet/ti/cpsw.c slave_data->phy_node = of_node_get(slave_node); phy_node 2683 drivers/net/ethernet/ti/cpsw.c of_node_put(slave_data->phy_node); phy_node 276 drivers/net/ethernet/ti/cpsw_priv.h struct device_node *phy_node; phy_node 336 drivers/net/ethernet/ti/davinci_emac.c struct device_node *phy_node; phy_node 1469 drivers/net/ethernet/ti/davinci_emac.c if (priv->phy_node) { phy_node 1470 drivers/net/ethernet/ti/davinci_emac.c phydev = of_phy_connect(ndev, priv->phy_node, phy_node 1474 drivers/net/ethernet/ti/davinci_emac.c priv->phy_node); phy_node 1723 drivers/net/ethernet/ti/davinci_emac.c priv->phy_node = of_parse_phandle(np, "phy-handle", 0); phy_node 1724 drivers/net/ethernet/ti/davinci_emac.c if (!priv->phy_node) { phy_node 1728 drivers/net/ethernet/ti/davinci_emac.c priv->phy_node = of_node_get(np); phy_node 1952 drivers/net/ethernet/ti/davinci_emac.c of_node_put(priv->phy_node); phy_node 1980 drivers/net/ethernet/ti/davinci_emac.c of_node_put(priv->phy_node); phy_node 704 drivers/net/ethernet/ti/netcp_ethss.c struct device_node *phy_node; phy_node 2347 drivers/net/ethernet/ti/netcp_ethss.c slave->phy_node, phy_node 3021 drivers/net/ethernet/ti/netcp_ethss.c slave->phy_node = of_parse_phandle(node, "phy-handle", 0); phy_node 3197 drivers/net/ethernet/ti/netcp_ethss.c slave->phy_node, phy_node 336 drivers/net/ethernet/xilinx/ll_temac.h struct device_node *phy_node; phy_node 1136 drivers/net/ethernet/xilinx/ll_temac_main.c if (lp->phy_node) { phy_node 1137 drivers/net/ethernet/xilinx/ll_temac_main.c phydev = of_phy_connect(lp->ndev, lp->phy_node, phy_node 1493 drivers/net/ethernet/xilinx/ll_temac_main.c lp->phy_node = of_parse_phandle(temac_np, "phy-handle", 0); phy_node 1494 drivers/net/ethernet/xilinx/ll_temac_main.c if (lp->phy_node) phy_node 1520 drivers/net/ethernet/xilinx/ll_temac_main.c if (lp->phy_node) phy_node 1521 drivers/net/ethernet/xilinx/ll_temac_main.c of_node_put(lp->phy_node); phy_node 1533 drivers/net/ethernet/xilinx/ll_temac_main.c if (lp->phy_node) phy_node 1534 drivers/net/ethernet/xilinx/ll_temac_main.c of_node_put(lp->phy_node); phy_node 422 drivers/net/ethernet/xilinx/xilinx_axienet.h struct device_node *phy_node; phy_node 1825 drivers/net/ethernet/xilinx/xilinx_axienet_main.c lp->phy_node = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0); phy_node 1826 drivers/net/ethernet/xilinx/xilinx_axienet_main.c if (lp->phy_node) { phy_node 1888 drivers/net/ethernet/xilinx/xilinx_axienet_main.c of_node_put(lp->phy_node); phy_node 1889 drivers/net/ethernet/xilinx/xilinx_axienet_main.c lp->phy_node = NULL; phy_node 140 drivers/net/ethernet/xilinx/xilinx_emaclite.c struct device_node *phy_node; phy_node 825 drivers/net/ethernet/xilinx/xilinx_emaclite.c struct device_node *np = of_get_parent(lp->phy_node); phy_node 840 drivers/net/ethernet/xilinx/xilinx_emaclite.c phydev = of_phy_find_device(lp->phy_node); phy_node 925 drivers/net/ethernet/xilinx/xilinx_emaclite.c if (lp->phy_node) { phy_node 928 drivers/net/ethernet/xilinx/xilinx_emaclite.c lp->phy_dev = of_phy_connect(lp->ndev, lp->phy_node, phy_node 1175 drivers/net/ethernet/xilinx/xilinx_emaclite.c lp->phy_node = of_parse_phandle(ofdev->dev.of_node, "phy-handle", 0); phy_node 1229 drivers/net/ethernet/xilinx/xilinx_emaclite.c of_node_put(lp->phy_node); phy_node 1230 drivers/net/ethernet/xilinx/xilinx_emaclite.c lp->phy_node = NULL; phy_node 844 drivers/net/phy/phylink.c struct device_node *phy_node; phy_node 854 drivers/net/phy/phylink.c phy_node = of_parse_phandle(dn, "phy-handle", 0); phy_node 855 drivers/net/phy/phylink.c if (!phy_node) phy_node 856 drivers/net/phy/phylink.c phy_node = of_parse_phandle(dn, "phy", 0); phy_node 857 drivers/net/phy/phylink.c if (!phy_node) phy_node 858 drivers/net/phy/phylink.c phy_node = of_parse_phandle(dn, "phy-device", 0); phy_node 860 drivers/net/phy/phylink.c if (!phy_node) { phy_node 866 drivers/net/phy/phylink.c phy_dev = of_phy_attach(pl->netdev, phy_node, flags, phy_node 869 drivers/net/phy/phylink.c of_node_put(phy_node); phy_node 63 drivers/net/phy/xilinx_gmii2rgmii.c struct device_node *np = dev->of_node, *phy_node; phy_node 70 drivers/net/phy/xilinx_gmii2rgmii.c phy_node = of_parse_phandle(np, "phy-handle", 0); phy_node 71 drivers/net/phy/xilinx_gmii2rgmii.c if (!phy_node) { phy_node 76 drivers/net/phy/xilinx_gmii2rgmii.c priv->phy_dev = of_phy_find_device(phy_node); phy_node 77 drivers/net/phy/xilinx_gmii2rgmii.c of_node_put(phy_node); phy_node 42 drivers/net/wan/hd64570.c #define get_msci(port) (phy_node(port) ? MSCI1_OFFSET : MSCI0_OFFSET) phy_node 43 drivers/net/wan/hd64570.c #define get_dmac_rx(port) (phy_node(port) ? DMAC1RX_OFFSET : DMAC0RX_OFFSET) phy_node 44 drivers/net/wan/hd64570.c #define get_dmac_tx(port) (phy_node(port) ? DMAC1TX_OFFSET : DMAC0TX_OFFSET) phy_node 177 drivers/net/wan/hd64570.c sca_out(0, transmit ? DSR_TX(phy_node(port)) : phy_node 178 drivers/net/wan/hd64570.c DSR_RX(phy_node(port)), card); phy_node 180 drivers/net/wan/hd64570.c sca_out(DCR_ABORT, transmit ? DCR_TX(phy_node(port)) : phy_node 181 drivers/net/wan/hd64570.c DCR_RX(phy_node(port)), card); phy_node 194 drivers/net/wan/hd64570.c sca_out(DCR_CLEAR_EOF, transmit ? DCR_TX(phy_node(port)) : phy_node 195 drivers/net/wan/hd64570.c DCR_RX(phy_node(port)), card); phy_node 201 drivers/net/wan/hd64570.c sca_out(0x14, DMR_RX(phy_node(port)), card); phy_node 202 drivers/net/wan/hd64570.c sca_out(DIR_EOME | DIR_BOFE, DIR_RX(phy_node(port)), phy_node 205 drivers/net/wan/hd64570.c sca_out(DSR_DE, DSR_RX(phy_node(port)), card); phy_node 208 drivers/net/wan/hd64570.c sca_out(0x14, DMR_TX(phy_node(port)), card); phy_node 210 drivers/net/wan/hd64570.c sca_out(DIR_BOFE, DIR_TX(phy_node(port)), card); phy_node 292 drivers/net/wan/hd64570.c u8 stat = sca_in(DSR_RX(phy_node(port)), card); /* read DMA Status */ phy_node 296 drivers/net/wan/hd64570.c DSR_RX(phy_node(port)), card); phy_node 334 drivers/net/wan/hd64570.c sca_out(DSR_DE, DSR_RX(phy_node(port)), card); phy_node 348 drivers/net/wan/hd64570.c stat = sca_in(DSR_TX(phy_node(port)), card); /* read DMA Status */ phy_node 352 drivers/net/wan/hd64570.c DSR_TX(phy_node(port)), card); phy_node 505 drivers/net/wan/hd64570.c sca_out(sca_in(IER0, card) | (phy_node(port) ? 0xC0 : 0x0C), phy_node 508 drivers/net/wan/hd64570.c sca_out(sca_in(IER1, card) | (phy_node(port) ? 0xF0 : 0x0F), phy_node 529 drivers/net/wan/hd64570.c sca_out(sca_in(IER0, card) & (phy_node(port) ? 0x0F : 0xF0), phy_node 532 drivers/net/wan/hd64570.c sca_out(sca_in(IER1, card) & (phy_node(port) ? 0x0F : 0xF0), phy_node 577 drivers/net/wan/hd64570.c sca_in(DSR_RX(phy_node(port)), card), port->rxin, phy_node 578 drivers/net/wan/hd64570.c sca_in(DSR_RX(phy_node(port)), card) & DSR_DE ? "" : "in"); phy_node 587 drivers/net/wan/hd64570.c sca_in(DSR_TX(phy_node(port)), card), port->txin, port->txlast, phy_node 588 drivers/net/wan/hd64570.c sca_in(DSR_TX(phy_node(port)), card) & DSR_DE ? "" : "in"); phy_node 661 drivers/net/wan/hd64570.c sca_out(DSR_DE, DSR_TX(phy_node(port)), card); /* Enable TX DMA */ phy_node 107 drivers/net/wan/n2.c u8 phy_node; /* physical port # - 0 or 1 */ phy_node 141 drivers/net/wan/n2.c #define phy_node(port) ((port)->phy_node) phy_node 175 drivers/net/wan/n2.c mcr |= port->phy_node ? CLOCK_OUT_PORT1 : CLOCK_OUT_PORT0; phy_node 181 drivers/net/wan/n2.c mcr |= port->phy_node ? CLOCK_OUT_PORT1 : CLOCK_OUT_PORT0; phy_node 187 drivers/net/wan/n2.c mcr |= port->phy_node ? CLOCK_OUT_PORT1 : CLOCK_OUT_PORT0; phy_node 193 drivers/net/wan/n2.c mcr &= port->phy_node ? ~CLOCK_OUT_PORT1 : ~CLOCK_OUT_PORT0; phy_node 212 drivers/net/wan/n2.c u8 mcr = inb(io + N2_MCR) | (port->phy_node ? TX422_PORT1:TX422_PORT0); phy_node 219 drivers/net/wan/n2.c mcr &= port->phy_node ? ~DTR_PORT1 : ~DTR_PORT0; /* set DTR ON */ phy_node 235 drivers/net/wan/n2.c u8 mcr = inb(io+N2_MCR) | (port->phy_node ? TX422_PORT1 : TX422_PORT0); phy_node 238 drivers/net/wan/n2.c mcr |= port->phy_node ? DTR_PORT1 : DTR_PORT0; /* set DTR OFF */ phy_node 455 drivers/net/wan/n2.c port->phy_node = cnt; phy_node 480 drivers/net/wan/n2.c netdev_info(dev, "RISCom/N2 node %d\n", port->phy_node); phy_node 142 drivers/staging/octeon/ethernet-mdio.c struct device_node *phy_node; phy_node 148 drivers/staging/octeon/ethernet-mdio.c phy_node = of_parse_phandle(priv->of_node, "phy-handle", 0); phy_node 149 drivers/staging/octeon/ethernet-mdio.c if (!phy_node && of_phy_is_fixed_link(priv->of_node)) { phy_node 156 drivers/staging/octeon/ethernet-mdio.c phy_node = of_node_get(priv->of_node); phy_node 158 drivers/staging/octeon/ethernet-mdio.c if (!phy_node) phy_node 161 drivers/staging/octeon/ethernet-mdio.c phydev = of_phy_connect(dev, phy_node, cvm_oct_adjust_link, 0, phy_node 163 drivers/staging/octeon/ethernet-mdio.c of_node_put(phy_node); phy_node 179 drivers/usb/chipidea/ci_hdrc_msm.c struct device_node *ulpi_node, *phy_node; phy_node 247 drivers/usb/chipidea/ci_hdrc_msm.c phy_node = of_get_next_available_child(ulpi_node, NULL); phy_node 248 drivers/usb/chipidea/ci_hdrc_msm.c ci->hsic = of_device_is_compatible(phy_node, "qcom,usb-hsic-phy"); phy_node 249 drivers/usb/chipidea/ci_hdrc_msm.c of_node_put(phy_node); phy_node 136 include/linux/fs_enet_pd.h struct device_node *phy_node; phy_node 47 include/linux/mv643xx_eth.h struct device_node *phy_node; phy_node 136 include/linux/stmmac.h struct device_node *phy_node;