Home
last modified time | relevance | path

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

12

/u-boot/board/freescale/ls1012afrdm/
A Deth.c96 .phy_interface = 0,
108 .phy_interface = 1,
/u-boot/board/freescale/ls1012ardb/
A Deth.c142 .phy_interface = 0,
154 .phy_interface = 1,
/u-boot/drivers/net/
A Dmvgbe.c733 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 Dbcm6348-eth.c392 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 Dmacb.c144 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 Dbcm-sf2-eth.h48 phy_interface_t phy_interface; member
A Dravb.c321 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 Dftgmac100.c551 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 Dpic32_eth.c553 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 Dmvneta.c279 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 Ddesignware.c751 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 Ddwmac_socfpga.c101 switch (edata->phy_interface) { in dwmac_socfpga_probe()
A Daltera_tse.c667 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 Dmtk_eth.c179 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 Dsun8i_emac.c933 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 Dbcmgenet.c631 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 Dxilinx_axi_emac.c766 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 Dsni_ave.c751 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 Dzynq_gem.c803 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 Dbcm-sf2-eth.c55 -1, dev, eth->phy_interface); in bcm_sf2_eth_init()
A Dpch_gbe.c419 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 Dsh_eth.c765 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 Dpfe_eth.c240 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 Deth.c280 .phy_interface = 0,
292 .phy_interface = 1,
/u-boot/drivers/net/ti/
A Dam65-cpsw-nuss.c574 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()

Completed in 42 milliseconds

12