Home
last modified time | relevance | path

Searched refs:phy_interface (Results 1 – 25 of 36) sorted by relevance

12

/external/u-boot/drivers/net/
Dmvgbe.c730 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()
Dbcm6348-eth.c390 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()
Dravb.c316 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()
Dmacb.c132 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()
Dftgmac100.c515 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()
Dmvneta.c271 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()
Dpic32_eth.c549 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()
Ddesignware.c744 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()
Dbcm-sf2-eth.h48 phy_interface_t phy_interface; member
Dmtk_eth.c169 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()
Daltera_tse.c665 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()
Dsun8i_emac.c957 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()
Ddwmac_socfpga.c74 switch (edata->phy_interface) { in dwmac_socfpga_probe()
Dzynq_gem.c735 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()
Dxilinx_axi_emac.c750 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()
Dsni_ave.c743 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()
Dsh_eth.c761 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()
Dpch_gbe.c416 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()
Dag7xxx.c1212 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/
Deth.c105 .phy_interface = 0,
117 .phy_interface = 1,
/external/u-boot/board/freescale/ls1012afrdm/
Deth.c94 .phy_interface = 0,
106 .phy_interface = 1,
/external/u-boot/drivers/net/pfe_eth/
Dpfe_eth.c241 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/
Deth.c279 .phy_interface = 0,
291 .phy_interface = 1,
/external/u-boot/drivers/net/ti/
Dam65-cpsw-nuss.c560 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()
Dcpsw.c1176 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()

12