/linux-master/drivers/net/ethernet/ti/ |
H A D | cpsw.c | 613 if (slave->data->phy_node) { 614 phy = of_phy_connect(priv->ndev, slave->data->phy_node, 618 slave->data->phy_node, 1313 slave_data->phy_node = of_parse_phandle(slave_node, 1316 if (slave_data->phy_node) { 1319 i, slave_data->phy_node); 1329 slave_data->phy_node = of_node_get(slave_node); 1415 of_node_put(slave_data->phy_node);
|
H A D | cpsw_new.c | 765 if (!slave->data->phy_node) 768 phy = of_phy_connect(priv->ndev, slave->data->phy_node, 772 slave->data->phy_node, 1299 slave_data->phy_node = of_node_get(port_np); 1301 slave_data->phy_node = 1305 if (!slave_data->phy_node) { 1354 struct device_node *port_np = slave_data->phy_node;
|
H A D | cpsw_priv.h | 284 struct device_node *phy_node; member in struct:cpsw_slave_data
|
H A D | netcp_ethss.c | 702 struct device_node *phy_node; member in struct:gbe_slave 2345 slave->phy_node, 3013 slave->phy_node = of_parse_phandle(node, "phy-handle", 0); 3189 slave->phy_node,
|
/linux-master/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_define.h | 263 struct device_node *phy_node; member in struct:spl2sw_mac
|
H A D | spl2sw_driver.c | 458 mac->phy_node = phy_np;
|
/linux-master/drivers/net/ethernet/xilinx/ |
H A D | ll_temac.h | 346 struct device_node *phy_node; member in struct:temac_local
|
/linux-master/drivers/net/ethernet/freescale/fs_enet/ |
H A D | fs_enet.h | 125 struct device_node *phy_node; member in struct:fs_platform_info
|
/linux-master/include/linux/ |
H A D | stmmac.h | 230 struct device_node *phy_node; member in struct:plat_stmmacenet_data
|
/linux-master/drivers/net/phy/ |
H A D | phy_device.c | 3418 * fwnode_get_phy_node - Get the phy_node using the named reference. 3419 * @fwnode: Pointer to fwnode from which phy_node has to be obtained. 3428 struct fwnode_handle *phy_node; local 3431 phy_node = fwnode_find_reference(fwnode, "phy-handle", 0); 3432 if (is_acpi_node(fwnode) || !IS_ERR(phy_node)) 3433 return phy_node; 3434 phy_node = fwnode_find_reference(fwnode, "phy", 0); 3435 if (IS_ERR(phy_node)) 3436 phy_node = fwnode_find_reference(fwnode, "phy-device", 0); 3437 return phy_node; [all...] |
/linux-master/drivers/net/dsa/ |
H A D | mt7530.c | 2323 struct device_node *phy_node; local 2483 phy_node = of_parse_phandle(mac_np, "phy-handle", 0); 2484 if (!phy_node) 2487 if (phy_node->parent == priv->dev->of_node->parent || 2488 phy_node->parent->parent == priv->dev->of_node) { 2492 of_node_put(phy_node); 2495 id = of_mdio_parse_addr(ds->dev, phy_node); 2502 of_node_put(phy_node);
|
/linux-master/drivers/net/ethernet/nxp/ |
H A D | lpc_eth.c | 395 struct device_node *phy_node; member in struct:netdata_local 762 if (pldat->phy_node) 763 phydev = of_phy_find_device(pldat->phy_node); 1347 pldat->phy_node = of_parse_phandle(np, "phy-handle", 0);
|
/linux-master/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_prueth.h | 150 struct device_node *phy_node; member in struct:prueth_emac
|
H A D | icssg_common.c | 1125 if (of_phy_is_fixed_link(emac->phy_node)) 1126 of_phy_deregister_fixed_link(emac->phy_node);
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_platform.c | 347 * This expects that plat->phy_node has already been searched for. 365 legacy_mdio = !of_phy_is_fixed_link(np) && !plat->phy_node; 420 of_node_put(plat->phy_node); 462 /* Some wrapper drivers still rely on phy_node. Let's save it while 464 plat->phy_node = of_parse_phandle(np, "phy-handle", 0);
|
H A D | dwmac-rk.c | 1531 if (plat->phy_node && bsp_priv->integrated_phy) { 1532 bsp_priv->clk_phy = of_clk_get(plat->phy_node, 0); 1681 if (plat->phy_node) { 1682 bsp_priv->integrated_phy = of_property_read_bool(plat->phy_node, 1685 bsp_priv->phy_reset = of_reset_control_get(plat->phy_node, NULL);
|
H A D | stmmac_mdio.c | 643 if (priv->plat->phy_node || mdio_node)
|
/linux-master/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 2291 } else if (fep->phy_node) { 2299 phy_dev = of_phy_find_device(fep->phy_node); 2403 if (fep->phy_node) { 2404 phy_dev = of_phy_connect(ndev, fep->phy_node, 4299 struct device_node *np = pdev->dev.of_node, *phy_node; local 4365 phy_node = of_parse_phandle(np, "phy-handle", 0); 4366 if (!phy_node && of_phy_is_fixed_link(np)) { 4373 phy_node = of_node_get(np); 4375 fep->phy_node = phy_node; [all...] |
H A D | ucc_geth.c | 1712 phydev = of_phy_connect(dev, ug_info->phy_node, &adjust_link, 0, 3614 ug_info->phy_node = of_parse_phandle(np, "phy-handle", 0); 3615 if (!ug_info->phy_node && of_phy_is_fixed_link(np)) { 3623 ug_info->phy_node = of_node_get(np); 3633 prop = of_get_property(ug_info->phy_node, "interface", NULL); 3750 of_node_put(ug_info->phy_node); 3768 of_node_put(ugeth->ug_info->phy_node);
|
H A D | fec.h | 632 struct device_node *phy_node; member in struct:fec_enet_private
|
H A D | gianfar.c | 796 priv->phy_node = of_parse_phandle(np, "phy-handle", 0); 801 if (!priv->phy_node && of_phy_is_fixed_link(np)) { 806 priv->phy_node = of_node_get(np); 1666 phydev = of_phy_connect(dev, priv->phy_node, &adjust_link, 0, 3361 of_node_put(priv->phy_node); 3372 of_node_put(priv->phy_node);
|
H A D | ucc_geth.h | 1128 struct device_node *phy_node; member in struct:ucc_geth_info
|
/linux-master/drivers/net/wan/ |
H A D | c101.c | 92 #define phy_node(port) (0) macro
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_star_emac.c | 270 struct device_node *phy_node; member in struct:mtk_star_priv 1013 priv->phydev = of_phy_connect(ndev, priv->phy_node, 1599 priv->phy_node = of_parse_phandle(of_node, "phy-handle", 0); 1600 if (!priv->phy_node) {
|
/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep_main.c | 2450 struct device_node *phy_node; local 2458 phy_node = of_parse_phandle(adapter->pdev->dev.of_node, "phy-handle", 2460 adapter->phydev = of_phy_find_device(phy_node); 2461 of_node_put(phy_node);
|