Home
last modified time | relevance | path

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

12

/openbmc/u-boot/board/freescale/ls1012afrdm/
H A Deth.c94 .phy_interface = 0,
106 .phy_interface = 1,
/openbmc/u-boot/board/freescale/ls1012ardb/
H A Deth.c105 .phy_interface = 0,
117 .phy_interface = 1,
/openbmc/u-boot/drivers/net/
H A 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()
H A 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()
H A Dbcm-sf2-eth.h48 phy_interface_t phy_interface; member
H A Dmacb.c137 phy_interface_t phy_interface; member
532 macb->phy_interface); in macb_phy_init()
712 if ((macb->phy_interface == PHY_INTERFACE_MODE_RMII) || in _macb_init()
713 (macb->phy_interface == PHY_INTERFACE_MODE_RGMII)) in _macb_init()
728 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) { in _macb_init()
735 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) in _macb_init()
1092 macb->phy_interface = phy_get_interface_by_name(phy_mode); in macb_eth_probe()
1093 if (macb->phy_interface == -1) { in macb_eth_probe()
H A Dpic32_eth.c546 pdata->phy_interface = -1; in pic32_eth_probe()
550 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in pic32_eth_probe()
551 if (pdata->phy_interface == -1) { in pic32_eth_probe()
566 priv->phyif = pdata->phy_interface; in pic32_eth_probe()
H A Dmvneta.c270 phy_interface_t phy_interface; member
1403 err = mvneta_port_power_up(pp, pp->phy_interface); in mvneta_init()
1534 mvneta_port_power_up(pp, pp->phy_interface); in mvneta_start()
1564 pp->phy_interface); in mvneta_start()
1724 pp->phy_interface = pdata->phy_interface; in mvneta_probe()
1794 pdata->phy_interface = -1; in mvneta_ofdata_to_platdata()
1798 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in mvneta_ofdata_to_platdata()
1799 if (pdata->phy_interface == -1) { in mvneta_ofdata_to_platdata()
H A Dftgmac100.c543 pdata->phy_interface = -1; in ftgmac100_ofdata_to_platdata()
547 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ftgmac100_ofdata_to_platdata()
548 if (pdata->phy_interface == -1) { in ftgmac100_ofdata_to_platdata()
592 priv->phy_mode = pdata->phy_interface; in ftgmac100_probe()
H A Ddwmac_socfpga.c74 switch (edata->phy_interface) { in dwmac_socfpga_probe()
H A Ddesignware.c745 pdata->phy_interface = PHY_INTERFACE_MODE_RMII; in designware_eth_probe()
753 priv->interface = pdata->phy_interface; in designware_eth_probe()
812 pdata->phy_interface = -1; in designware_eth_ofdata_to_platdata()
815 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in designware_eth_ofdata_to_platdata()
816 if (pdata->phy_interface == -1) { in designware_eth_ofdata_to_platdata()
H A Daltera_tse.c664 priv->interface = pdata->phy_interface; in altera_tse_probe()
678 pdata->phy_interface = -1; in altera_tse_ofdata_to_platdata()
682 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in altera_tse_ofdata_to_platdata()
683 if (pdata->phy_interface == -1) { in altera_tse_ofdata_to_platdata()
H A Dravb.c313 phydev = phy_find_by_mask(eth->bus, mask, pdata->phy_interface); in ravb_phy_config()
643 pdata->phy_interface = -1; in ravb_ofdata_to_platdata()
647 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ravb_ofdata_to_platdata()
648 if (pdata->phy_interface == -1) { in ravb_ofdata_to_platdata()
H A Dmtk_eth.c168 int phy_interface; member
615 mt7530_pad_clk_setup(priv, priv->phy_interface); in mt7530_setup()
739 priv->phy_interface); in mtk_phy_probe()
757 switch (priv->phy_interface) { in mtk_mac_init()
1085 pdata->phy_interface = phy_get_interface_by_name(str); in mtk_eth_ofdata_to_platdata()
1086 priv->phy_interface = pdata->phy_interface; in mtk_eth_ofdata_to_platdata()
H A Dsun8i_emac.c874 pdata->phy_interface = -1; in sun8i_emac_eth_ofdata_to_platdata()
888 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in sun8i_emac_eth_ofdata_to_platdata()
889 printf("phy interface%d\n", pdata->phy_interface); in sun8i_emac_eth_ofdata_to_platdata()
891 if (pdata->phy_interface == -1) { in sun8i_emac_eth_ofdata_to_platdata()
905 priv->interface = pdata->phy_interface; in sun8i_emac_eth_ofdata_to_platdata()
H A Dxilinx_axi_emac.c744 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in axi_emac_ofdata_to_platdata()
745 if (pdata->phy_interface == -1) { in axi_emac_ofdata_to_platdata()
749 priv->interface = pdata->phy_interface; in axi_emac_ofdata_to_platdata()
H A Dag7xxx.c937 priv->interface = pdata->phy_interface; in ag7xxx_eth_probe()
979 pdata->phy_interface = -1; in ag7xxx_eth_ofdata_to_platdata()
988 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ag7xxx_eth_ofdata_to_platdata()
989 if (pdata->phy_interface == -1) { in ag7xxx_eth_ofdata_to_platdata()
H A Dsni_ave.c742 pdata->phy_interface = -1; in ave_ofdata_to_platdata()
746 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ave_ofdata_to_platdata()
747 if (pdata->phy_interface == -1) { in ave_ofdata_to_platdata()
830 priv->phy_mode = pdata->phy_interface; in ave_probe()
H A Dsh_eth.c753 phydev = phy_find_by_mask(priv->bus, mask, pdata->phy_interface); in sh_eth_phy_config()
896 pdata->phy_interface = -1; in sh_ether_ofdata_to_platdata()
900 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in sh_ether_ofdata_to_platdata()
901 if (pdata->phy_interface == -1) { in sh_ether_ofdata_to_platdata()
H A Dzynq_gem.c787 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in zynq_gem_ofdata_to_platdata()
788 if (pdata->phy_interface == -1) { in zynq_gem_ofdata_to_platdata()
792 priv->interface = pdata->phy_interface; in zynq_gem_ofdata_to_platdata()
H A Dpch_gbe.c415 phydev = phy_find_by_mask(priv->bus, mask, plat->phy_interface); in pch_gbe_phy_init()
456 plat->phy_interface = PHY_INTERFACE_MODE_RGMII; in pch_gbe_probe()
H A Dbcm-sf2-eth.c53 0, dev, eth->phy_interface); in bcm_sf2_eth_init()
H A Dtsec.c839 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in tsec_probe()
840 if (pdata->phy_interface == -1) { in tsec_probe()
844 priv->interface = pdata->phy_interface; in tsec_probe()
/openbmc/u-boot/drivers/net/pfe_eth/
H A 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()
/openbmc/u-boot/board/freescale/ls1012aqds/
H A Deth.c279 .phy_interface = 0,
291 .phy_interface = 1,

12