/external/u-boot/drivers/net/ |
D | mvgbe.c | 730 phy_interface_t phy_interface, in __mvgbe_phy_init() argument 735 phy_interface_t phy_interface, in __mvgbe_phy_init() 745 phydev = phy_connect(bus, phyid, dev, phy_interface); in __mvgbe_phy_init() 917 dmvgbe->phy_interface, in mvgbe_start() 999 pdata->phy_interface = -1; in mvgbe_ofdata_to_platdata() 1007 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in mvgbe_ofdata_to_platdata() 1009 pdata->phy_interface = PHY_INTERFACE_MODE_GMII; in mvgbe_ofdata_to_platdata() 1011 dmvgbe->phy_interface = pdata->phy_interface; in mvgbe_ofdata_to_platdata()
|
D | bcm6348-eth.c | 390 pdata->phy_interface); in bcm6348_phy_init() 426 pdata->phy_interface = PHY_INTERFACE_MODE_NONE; in bcm6348_eth_probe() 429 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in bcm6348_eth_probe() 430 if (pdata->phy_interface == PHY_INTERFACE_MODE_NONE) in bcm6348_eth_probe() 498 if (pdata->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcm6348_eth_probe()
|
D | ravb.c | 316 phydev = phy_find_by_mask(eth->bus, mask, pdata->phy_interface); in ravb_phy_config() 400 if ((pdata->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in ravb_dmac_init() 401 (pdata->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID)) in ravb_dmac_init() 651 pdata->phy_interface = -1; in ravb_ofdata_to_platdata() 655 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ravb_ofdata_to_platdata() 656 if (pdata->phy_interface == -1) { in ravb_ofdata_to_platdata()
|
D | macb.c | 132 phy_interface_t phy_interface; member 603 macb->phy_interface); in macb_phy_init() 831 if ((macb->phy_interface == PHY_INTERFACE_MODE_RMII) || in _macb_init() 832 (macb->phy_interface == PHY_INTERFACE_MODE_RGMII)) in _macb_init() 837 if (macb->phy_interface == PHY_INTERFACE_MODE_SGMII) { in _macb_init() 854 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) { in _macb_init() 861 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) in _macb_init() 1233 macb->phy_interface = phy_get_interface_by_name(phy_mode); in macb_eth_probe() 1234 if (macb->phy_interface == -1) { in macb_eth_probe()
|
D | ftgmac100.c | 515 pdata->phy_interface = -1; in ftgmac100_ofdata_to_platdata() 518 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ftgmac100_ofdata_to_platdata() 519 if (pdata->phy_interface == -1) { in ftgmac100_ofdata_to_platdata() 544 priv->phy_mode = pdata->phy_interface; in ftgmac100_probe()
|
D | mvneta.c | 271 phy_interface_t phy_interface; member 1404 err = mvneta_port_power_up(pp, pp->phy_interface); in mvneta_init() 1535 mvneta_port_power_up(pp, pp->phy_interface); in mvneta_start() 1565 pp->phy_interface); in mvneta_start() 1725 pp->phy_interface = pdata->phy_interface; in mvneta_probe() 1795 pdata->phy_interface = -1; in mvneta_ofdata_to_platdata() 1799 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in mvneta_ofdata_to_platdata() 1800 if (pdata->phy_interface == -1) { in mvneta_ofdata_to_platdata()
|
D | pic32_eth.c | 549 pdata->phy_interface = -1; in pic32_eth_probe() 553 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in pic32_eth_probe() 554 if (pdata->phy_interface == -1) { in pic32_eth_probe() 569 priv->phyif = pdata->phy_interface; in pic32_eth_probe()
|
D | designware.c | 744 pdata->phy_interface = PHY_INTERFACE_MODE_RMII; in designware_eth_probe() 752 priv->interface = pdata->phy_interface; in designware_eth_probe() 821 pdata->phy_interface = -1; in designware_eth_ofdata_to_platdata() 824 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in designware_eth_ofdata_to_platdata() 825 if (pdata->phy_interface == -1) { in designware_eth_ofdata_to_platdata()
|
D | bcm-sf2-eth.h | 48 phy_interface_t phy_interface; member
|
D | mtk_eth.c | 169 int phy_interface; member 616 mt7530_pad_clk_setup(priv, priv->phy_interface); in mt7530_setup() 740 priv->phy_interface); in mtk_phy_probe() 758 switch (priv->phy_interface) { in mtk_mac_init() 1086 pdata->phy_interface = phy_get_interface_by_name(str); in mtk_eth_ofdata_to_platdata() 1087 priv->phy_interface = pdata->phy_interface; in mtk_eth_ofdata_to_platdata()
|
D | altera_tse.c | 665 priv->interface = pdata->phy_interface; in altera_tse_probe() 679 pdata->phy_interface = -1; in altera_tse_ofdata_to_platdata() 683 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in altera_tse_ofdata_to_platdata() 684 if (pdata->phy_interface == -1) { in altera_tse_ofdata_to_platdata()
|
D | sun8i_emac.c | 957 pdata->phy_interface = -1; in sun8i_emac_eth_ofdata_to_platdata() 971 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in sun8i_emac_eth_ofdata_to_platdata() 972 printf("phy interface%d\n", pdata->phy_interface); in sun8i_emac_eth_ofdata_to_platdata() 974 if (pdata->phy_interface == -1) { in sun8i_emac_eth_ofdata_to_platdata() 985 priv->interface = pdata->phy_interface; in sun8i_emac_eth_ofdata_to_platdata()
|
D | dwmac_socfpga.c | 74 switch (edata->phy_interface) { in dwmac_socfpga_probe()
|
D | zynq_gem.c | 735 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in zynq_gem_ofdata_to_platdata() 736 if (pdata->phy_interface == -1) { in zynq_gem_ofdata_to_platdata() 740 priv->interface = pdata->phy_interface; in zynq_gem_ofdata_to_platdata()
|
D | xilinx_axi_emac.c | 750 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in axi_emac_ofdata_to_platdata() 751 if (pdata->phy_interface == -1) { in axi_emac_ofdata_to_platdata() 755 priv->interface = pdata->phy_interface; in axi_emac_ofdata_to_platdata()
|
D | sni_ave.c | 743 pdata->phy_interface = -1; in ave_ofdata_to_platdata() 747 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ave_ofdata_to_platdata() 748 if (pdata->phy_interface == -1) { in ave_ofdata_to_platdata() 831 priv->phy_mode = pdata->phy_interface; in ave_probe()
|
D | sh_eth.c | 761 phydev = phy_find_by_mask(priv->bus, mask, pdata->phy_interface); in sh_eth_phy_config() 915 pdata->phy_interface = -1; in sh_ether_ofdata_to_platdata() 919 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in sh_ether_ofdata_to_platdata() 920 if (pdata->phy_interface == -1) { in sh_ether_ofdata_to_platdata()
|
D | pch_gbe.c | 416 phydev = phy_find_by_mask(priv->bus, mask, plat->phy_interface); in pch_gbe_phy_init() 457 plat->phy_interface = PHY_INTERFACE_MODE_RGMII; in pch_gbe_probe()
|
D | ag7xxx.c | 1212 priv->interface = pdata->phy_interface; in ag7xxx_eth_probe() 1254 pdata->phy_interface = -1; in ag7xxx_eth_ofdata_to_platdata() 1263 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ag7xxx_eth_ofdata_to_platdata() 1264 if (pdata->phy_interface == -1) { in ag7xxx_eth_ofdata_to_platdata()
|
/external/u-boot/board/freescale/ls1012ardb/ |
D | eth.c | 105 .phy_interface = 0, 117 .phy_interface = 1,
|
/external/u-boot/board/freescale/ls1012afrdm/ |
D | eth.c | 94 .phy_interface = 0, 106 .phy_interface = 1,
|
/external/u-boot/drivers/net/pfe_eth/ |
D | pfe_eth.c | 241 priv->gemac_port = pdata->pfe_eth_pdata_mac.phy_interface; in pfe_eth_probe() 262 ret = pfe_phy_configure(priv, pdata->pfe_eth_pdata_mac.phy_interface, in pfe_eth_probe() 273 sprintf(name, "pfe_eth%u", pdata->pfe_eth_pdata_mac.phy_interface); in pfe_eth_bind()
|
/external/u-boot/board/freescale/ls1012aqds/ |
D | eth.c | 279 .phy_interface = 0, 291 .phy_interface = 1,
|
/external/u-boot/drivers/net/ti/ |
D | am65-cpsw-nuss.c | 560 pdata->phy_interface); in am65_cpsw_phy_init() 596 pdata->phy_interface = in am65_cpsw_ofdata_parse_phy() 598 if (pdata->phy_interface == -1) { in am65_cpsw_ofdata_parse_phy() 752 am65_cpsw_gmii_sel_k3(priv, pdata->phy_interface, priv->port_id); in am65_cpsw_probe_cpsw()
|
D | cpsw.c | 1176 pdata->phy_interface); in cpsw_eth_probe() 1239 pdata->phy_interface = -1; in cpsw_eth_ofdata_to_platdata() 1340 pdata->phy_interface = data->slave_data[data->active_slave].phy_if; in cpsw_eth_ofdata_to_platdata() 1341 if (pdata->phy_interface == -1) { in cpsw_eth_ofdata_to_platdata() 1343 phy_string_for_interface(pdata->phy_interface)); in cpsw_eth_ofdata_to_platdata()
|