| /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 | 637 phy_interface_t phy_interface, in __mvgbe_phy_init() argument 649 phydev = phy_connect(bus, phyid, dev, phy_interface); in __mvgbe_phy_init() 711 dmvgbe->phy_interface, in mvgbe_start() 792 pdata->phy_interface = -1; in mvgbe_of_to_plat() 798 pdata->phy_interface = dev_read_phy_mode(dev); in mvgbe_of_to_plat() 799 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in mvgbe_of_to_plat() 800 pdata->phy_interface = PHY_INTERFACE_MODE_GMII; in mvgbe_of_to_plat() 802 dmvgbe->phy_interface = pdata->phy_interface; in mvgbe_of_to_plat()
|
| A D | dwmac_meson8b.c | 59 switch (edata->phy_interface) { in dwmac_setup_axg() 97 switch (edata->phy_interface) { in dwmac_setup_gx()
|
| A D | macb.c | 140 phy_interface_t phy_interface; member 683 macb->phy_interface); in macb_phy_init() 913 if (macb->phy_interface == PHY_INTERFACE_MODE_RGMII || in _macb_init() 914 macb->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in _macb_init() 918 else if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) in _macb_init() 920 else if (macb->phy_interface == PHY_INTERFACE_MODE_MII) in _macb_init() 928 if (macb->phy_interface == PHY_INTERFACE_MODE_SGMII) { in _macb_init() 937 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) { in _macb_init() 945 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) in _macb_init() 1204 macb->phy_interface = dev_read_phy_mode(dev); in macb_eth_probe() [all …]
|
| A D | ravb.c | 322 phydev = phy_connect(eth->bus, -1, dev, pdata->phy_interface); in ravb_phy_config() 424 if (pdata->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in ravb_dmac_init() 425 pdata->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) in ravb_dmac_init() 428 if (pdata->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in ravb_dmac_init() 429 pdata->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) in ravb_dmac_init() 679 pdata->phy_interface = dev_read_phy_mode(dev); in ravb_of_to_plat() 680 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in ravb_of_to_plat()
|
| A D | bcm-sf2-eth.h | 48 phy_interface_t phy_interface; member
|
| A D | bcm6348-eth.c | 392 pdata->phy_interface); in bcm6348_phy_init() 427 pdata->phy_interface = dev_read_phy_mode(dev); in bcm6348_eth_probe() 428 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in bcm6348_eth_probe() 492 if (pdata->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcm6348_eth_probe()
|
| A D | xilinx_axi_emac.c | 843 priv->interface = pdata->phy_interface; in axi_emac_probe() 866 priv->phyaddr, phy_string_for_interface(pdata->phy_interface)); in axi_emac_probe() 931 pdata->phy_interface = dev_read_phy_mode(dev); in axi_emac_of_to_plat() 932 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in axi_emac_of_to_plat() 938 if (pdata->phy_interface == PHY_INTERFACE_MODE_SGMII || in axi_emac_of_to_plat() 939 pdata->phy_interface == PHY_INTERFACE_MODE_1000BASEX) { in axi_emac_of_to_plat()
|
| A D | mtk_eth.c | 121 int phy_interface; member 683 mt7530_pad_clk_setup(priv, priv->phy_interface); in mt7530_setup() 863 switch (priv->phy_interface) { in mt7531_setup() 1035 priv->phy_interface); in mtk_phy_probe() 1077 switch (priv->phy_interface) { in mtk_mac_init() 1441 pdata->phy_interface = dev_read_phy_mode(dev); in mtk_eth_of_to_plat() 1442 priv->phy_interface = pdata->phy_interface; in mtk_eth_of_to_plat() 1443 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) { in mtk_eth_of_to_plat() 1462 if (priv->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mtk_eth_of_to_plat()
|
| A D | sun8i_emac.c | 832 pdata->phy_interface = -1; in sun8i_emac_eth_of_to_plat() 843 pdata->phy_interface = dev_read_phy_mode(dev); in sun8i_emac_eth_of_to_plat() 844 debug("phy interface %d\n", pdata->phy_interface); in sun8i_emac_eth_of_to_plat() 845 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in sun8i_emac_eth_of_to_plat() 854 priv->interface = pdata->phy_interface; in sun8i_emac_eth_of_to_plat()
|
| A D | dwmac_socfpga.c | 101 switch (edata->phy_interface) { in dwmac_socfpga_probe()
|
| A D | tsec.c | 700 pdata->phy_interface = dev_read_phy_mode(dev); in tsec_probe() 701 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in tsec_probe() 702 pdata->phy_interface = tsec_get_interface(priv); in tsec_probe() 704 priv->interface = pdata->phy_interface; in tsec_probe()
|
| A D | pic32_eth.c | 552 pdata->phy_interface = dev_read_phy_mode(dev); in pic32_eth_probe() 553 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in pic32_eth_probe() 566 priv->phyif = pdata->phy_interface; in pic32_eth_probe()
|
| A D | npcm750_eth.c | 665 priv->interface = pdata->phy_interface; in npcm750_eth_probe() 711 pdata->phy_interface = -1; in npcm750_eth_ofdata_to_platdata() 715 pdata->phy_interface = dev_read_phy_mode(dev); in npcm750_eth_ofdata_to_platdata() 717 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in npcm750_eth_ofdata_to_platdata()
|
| A D | designware.c | 739 pdata->phy_interface = PHY_INTERFACE_MODE_RMII; in designware_eth_probe() 746 priv->interface = pdata->phy_interface; in designware_eth_probe() 818 pdata->phy_interface = dev_read_phy_mode(dev); in designware_eth_of_to_plat() 819 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in designware_eth_of_to_plat()
|
| A D | ftgmac100.c | 557 pdata->phy_interface = dev_read_phy_mode(dev); in ftgmac100_of_to_plat() 558 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in ftgmac100_of_to_plat() 581 priv->phy_mode = pdata->phy_interface; in ftgmac100_probe()
|
| A D | altera_tse.c | 667 priv->interface = pdata->phy_interface; in altera_tse_probe() 680 pdata->phy_interface = dev_read_phy_mode(dev); in altera_tse_of_to_plat() 681 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in altera_tse_of_to_plat()
|
| A D | bcmgenet.c | 629 priv->interface = pdata->phy_interface; in bcmgenet_eth_probe() 696 pdata->phy_interface = dev_read_phy_mode(dev); in bcmgenet_eth_of_to_plat() 697 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in bcmgenet_eth_of_to_plat()
|
| A D | fec_mxc.c | 1235 ret = board_interface_eth_init(dev, pdata->phy_interface); in fecmxc_probe() 1288 pdata->phy_interface); in fecmxc_probe() 1369 priv->interface = pdata->phy_interface; in fecmxc_probe() 1433 pdata->phy_interface = dev_read_phy_mode(dev); in fecmxc_of_to_plat() 1434 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in fecmxc_of_to_plat()
|
| A D | mvneta.c | 276 phy_interface_t phy_interface; member 1432 err = mvneta_port_power_up(pp, pp->phy_interface); in mvneta_init() 1451 mvneta_port_power_up(pp, pp->phy_interface); in mvneta_start() 1604 pp->phy_interface = dev_read_phy_mode(dev); in mvneta_probe() 1605 if (pp->phy_interface == PHY_INTERFACE_MODE_NA) in mvneta_probe()
|
| /u-boot/drivers/phy/renesas/ |
| A D | r8a779f0-ether-serdes.c | 36 phy_interface_t phy_interface; member 102 switch (channel->phy_interface) { in r8a779f0_eth_serdes_common_setting() 120 switch (channel->phy_interface) { in r8a779f0_eth_serdes_chan_setting() 177 switch (channel->phy_interface) { in r8a779f0_eth_serdes_chan_speed() 306 channel->phy_interface = submode; in r8a779f0_eth_serdes_set_mode()
|
| /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 | 592 pdata->phy_interface); in am65_cpsw_phy_init() 627 pdata->phy_interface = dev_read_phy_mode(dev); in am65_cpsw_ofdata_parse_phy() 628 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) { in am65_cpsw_ofdata_parse_phy() 686 am65_cpsw_gmii_sel_k3(priv, pdata->phy_interface, priv->port_id); in am65_cpsw_port_probe()
|