/u-boot/board/freescale/ls1012afrdm/ |
A D | eth.c | 96 .phy_interface = 0, 108 .phy_interface = 1,
|
/u-boot/board/freescale/ls1012ardb/ |
A D | eth.c | 142 .phy_interface = 0, 154 .phy_interface = 1,
|
/u-boot/drivers/net/ |
A D | mvgbe.c | 733 phy_interface_t phy_interface, in __mvgbe_phy_init() argument 738 phy_interface_t phy_interface, in __mvgbe_phy_init() 748 phydev = phy_connect(bus, phyid, dev, phy_interface); in __mvgbe_phy_init() 920 dmvgbe->phy_interface, in mvgbe_start() 1002 pdata->phy_interface = -1; in mvgbe_of_to_plat() 1010 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in mvgbe_of_to_plat() 1012 pdata->phy_interface = PHY_INTERFACE_MODE_GMII; in mvgbe_of_to_plat() 1014 dmvgbe->phy_interface = pdata->phy_interface; in mvgbe_of_to_plat()
|
A D | bcm6348-eth.c | 392 pdata->phy_interface); in bcm6348_phy_init() 428 pdata->phy_interface = PHY_INTERFACE_MODE_NONE; in bcm6348_eth_probe() 431 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in bcm6348_eth_probe() 432 if (pdata->phy_interface == PHY_INTERFACE_MODE_NONE) in bcm6348_eth_probe() 500 if (pdata->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcm6348_eth_probe()
|
A D | macb.c | 144 phy_interface_t phy_interface; member 697 macb->phy_interface); in macb_phy_init() 951 if (macb->phy_interface == PHY_INTERFACE_MODE_RGMII || in _macb_init() 952 macb->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in _macb_init() 954 macb->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) in _macb_init() 956 else if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) in _macb_init() 958 else if (macb->phy_interface == PHY_INTERFACE_MODE_MII) in _macb_init() 966 if (macb->phy_interface == PHY_INTERFACE_MODE_SGMII) { in _macb_init() 983 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) { in _macb_init() 991 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) in _macb_init() [all …]
|
A D | bcm-sf2-eth.h | 48 phy_interface_t phy_interface; member
|
A D | ravb.c | 321 phydev = phy_find_by_mask(eth->bus, mask, pdata->phy_interface); in ravb_phy_config() 405 if ((pdata->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in ravb_dmac_init() 406 (pdata->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID)) in ravb_dmac_init() 654 pdata->phy_interface = -1; in ravb_of_to_plat() 658 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ravb_of_to_plat() 659 if (pdata->phy_interface == -1) { in ravb_of_to_plat()
|
A D | ftgmac100.c | 551 pdata->phy_interface = -1; in ftgmac100_of_to_plat() 554 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ftgmac100_of_to_plat() 555 if (pdata->phy_interface == -1) { in ftgmac100_of_to_plat() 580 priv->phy_mode = pdata->phy_interface; in ftgmac100_probe()
|
A D | pic32_eth.c | 553 pdata->phy_interface = -1; in pic32_eth_probe() 557 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in pic32_eth_probe() 558 if (pdata->phy_interface == -1) { in pic32_eth_probe() 573 priv->phyif = pdata->phy_interface; in pic32_eth_probe()
|
A D | mvneta.c | 279 phy_interface_t phy_interface; member 1416 err = mvneta_port_power_up(pp, pp->phy_interface); in mvneta_init() 1547 mvneta_port_power_up(pp, pp->phy_interface); in mvneta_start() 1577 pp->phy_interface); in mvneta_start() 1737 pp->phy_interface = pdata->phy_interface; in mvneta_probe() 1807 pdata->phy_interface = -1; in mvneta_of_to_plat() 1811 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in mvneta_of_to_plat() 1812 if (pdata->phy_interface == -1) { in mvneta_of_to_plat()
|
A D | designware.c | 751 pdata->phy_interface = PHY_INTERFACE_MODE_RMII; in designware_eth_probe() 759 priv->interface = pdata->phy_interface; in designware_eth_probe() 828 pdata->phy_interface = -1; in designware_eth_of_to_plat() 831 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in designware_eth_of_to_plat() 832 if (pdata->phy_interface == -1) { in designware_eth_of_to_plat()
|
A D | dwmac_socfpga.c | 101 switch (edata->phy_interface) { in dwmac_socfpga_probe()
|
A D | altera_tse.c | 667 priv->interface = pdata->phy_interface; in altera_tse_probe() 681 pdata->phy_interface = -1; in altera_tse_of_to_plat() 685 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in altera_tse_of_to_plat() 686 if (pdata->phy_interface == -1) { in altera_tse_of_to_plat()
|
A D | mtk_eth.c | 179 int phy_interface; member 730 mt7530_pad_clk_setup(priv, priv->phy_interface); in mt7530_setup() 909 switch (priv->phy_interface) { in mt7531_setup() 1081 priv->phy_interface); in mtk_phy_probe() 1118 switch (priv->phy_interface) { in mtk_mac_init() 1452 pdata->phy_interface = phy_get_interface_by_name(str); in mtk_eth_of_to_plat() 1453 priv->phy_interface = pdata->phy_interface; in mtk_eth_of_to_plat() 1473 if (priv->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mtk_eth_of_to_plat()
|
A D | sun8i_emac.c | 933 pdata->phy_interface = -1; in sun8i_emac_eth_of_to_plat() 947 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in sun8i_emac_eth_of_to_plat() 948 printf("phy interface%d\n", pdata->phy_interface); in sun8i_emac_eth_of_to_plat() 950 if (pdata->phy_interface == -1) { in sun8i_emac_eth_of_to_plat() 961 priv->interface = pdata->phy_interface; in sun8i_emac_eth_of_to_plat()
|
A D | bcmgenet.c | 631 priv->interface = pdata->phy_interface; in bcmgenet_eth_probe() 699 pdata->phy_interface = -1; in bcmgenet_eth_of_to_plat() 702 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in bcmgenet_eth_of_to_plat() 703 if (pdata->phy_interface == -1) { in bcmgenet_eth_of_to_plat()
|
A D | xilinx_axi_emac.c | 766 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in axi_emac_of_to_plat() 767 if (pdata->phy_interface == -1) { in axi_emac_of_to_plat() 771 priv->interface = pdata->phy_interface; in axi_emac_of_to_plat()
|
A D | sni_ave.c | 751 pdata->phy_interface = -1; in ave_of_to_plat() 755 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ave_of_to_plat() 756 if (pdata->phy_interface == -1) { in ave_of_to_plat() 839 priv->phy_mode = pdata->phy_interface; in ave_probe()
|
A D | zynq_gem.c | 803 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in zynq_gem_of_to_plat() 804 if (pdata->phy_interface == -1) { in zynq_gem_of_to_plat() 808 priv->interface = pdata->phy_interface; in zynq_gem_of_to_plat()
|
A D | bcm-sf2-eth.c | 55 -1, dev, eth->phy_interface); in bcm_sf2_eth_init()
|
A D | pch_gbe.c | 419 phydev = phy_find_by_mask(priv->bus, mask, plat->phy_interface); in pch_gbe_phy_init() 460 plat->phy_interface = PHY_INTERFACE_MODE_RGMII; in pch_gbe_probe()
|
A D | sh_eth.c | 765 phydev = phy_find_by_mask(priv->bus, mask, pdata->phy_interface); in sh_eth_phy_config() 923 pdata->phy_interface = -1; in sh_ether_of_to_plat() 927 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in sh_ether_of_to_plat() 928 if (pdata->phy_interface == -1) { in sh_ether_of_to_plat()
|
/u-boot/drivers/net/pfe_eth/ |
A D | pfe_eth.c | 240 priv->gemac_port = pdata->pfe_eth_pdata_mac.phy_interface; in pfe_eth_probe() 261 ret = pfe_phy_configure(priv, pdata->pfe_eth_pdata_mac.phy_interface, in pfe_eth_probe() 272 sprintf(name, "pfe_eth%u", pdata->pfe_eth_pdata_mac.phy_interface); in pfe_eth_bind()
|
/u-boot/board/freescale/ls1012aqds/ |
A D | eth.c | 280 .phy_interface = 0, 292 .phy_interface = 1,
|
/u-boot/drivers/net/ti/ |
A D | am65-cpsw-nuss.c | 574 pdata->phy_interface); in am65_cpsw_phy_init() 610 pdata->phy_interface = in am65_cpsw_ofdata_parse_phy() 612 if (pdata->phy_interface == -1) { in am65_cpsw_ofdata_parse_phy() 759 am65_cpsw_gmii_sel_k3(priv, pdata->phy_interface, priv->port_id); in am65_cpsw_probe_cpsw()
|