Home
last modified time | relevance | path

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

12

/external/u-boot/board/freescale/ls1012afrdm/
Deth.c94 .phy_interface = 0,
106 .phy_interface = 1,
/external/u-boot/board/freescale/ls1012ardb/
Deth.c105 .phy_interface = 0,
117 .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/drivers/net/
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()
1093 macb->phy_interface = phy_get_interface_by_name(phy_mode); in macb_eth_probe()
1094 if (macb->phy_interface == -1) { in macb_eth_probe()
Dmvneta.c277 phy_interface_t phy_interface; member
1407 err = mvneta_port_power_up(pp, pp->phy_interface); in mvneta_init()
1538 mvneta_port_power_up(pp, pp->phy_interface); in mvneta_start()
1568 pp->phy_interface); in mvneta_start()
1728 pp->phy_interface = pdata->phy_interface; in mvneta_probe()
1787 pdata->phy_interface = -1; in mvneta_ofdata_to_platdata()
1791 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in mvneta_ofdata_to_platdata()
1792 if (pdata->phy_interface == -1) { in mvneta_ofdata_to_platdata()
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()
Dsun8i_emac.c821 pdata->phy_interface = -1; in sun8i_emac_eth_ofdata_to_platdata()
835 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in sun8i_emac_eth_ofdata_to_platdata()
836 printf("phy interface%d\n", pdata->phy_interface); in sun8i_emac_eth_ofdata_to_platdata()
838 if (pdata->phy_interface == -1) { in sun8i_emac_eth_ofdata_to_platdata()
860 priv->interface = pdata->phy_interface; in sun8i_emac_eth_ofdata_to_platdata()
Ddesignware.c733 pdata->phy_interface = PHY_INTERFACE_MODE_RMII; in designware_eth_probe()
741 priv->interface = pdata->phy_interface; in designware_eth_probe()
800 pdata->phy_interface = -1; in designware_eth_ofdata_to_platdata()
803 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in designware_eth_ofdata_to_platdata()
804 if (pdata->phy_interface == -1) { in designware_eth_ofdata_to_platdata()
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()
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()
Dbcm-sf2-eth.h48 phy_interface_t phy_interface; member
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()
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()
Dzynq_gem.c712 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in zynq_gem_ofdata_to_platdata()
713 if (pdata->phy_interface == -1) { in zynq_gem_ofdata_to_platdata()
717 priv->interface = pdata->phy_interface; in zynq_gem_ofdata_to_platdata()
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()
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()
Dfec_mxc.c1287 priv->interface = pdata->phy_interface; in fecmxc_probe()
1324 pdata->phy_interface = -1; in fecmxc_ofdata_to_platdata()
1328 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in fecmxc_ofdata_to_platdata()
1329 if (pdata->phy_interface == -1) { in fecmxc_ofdata_to_platdata()
Dtsec.c818 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in tsec_probe()
819 if (pdata->phy_interface == -1) { in tsec_probe()
823 priv->interface = pdata->phy_interface; in tsec_probe()
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()
Dmvpp2.c990 phy_interface_t phy_interface; member
2897 switch (port->phy_interface) { in mvpp2_port_mii_set()
2961 if (port->phy_interface == PHY_INTERFACE_MODE_SGMII) in mvpp2_port_loopback_set()
3170 switch (port->phy_interface) { in gop_gmac_mode_cfg()
3373 switch (port->phy_interface) { in gop_port_init()
3424 __func__, port->phy_interface); in gop_port_init()
3449 switch (port->phy_interface) { in gop_port_enable()
3465 port->phy_interface); in gop_port_enable()
4480 switch (port->phy_interface) { in mvpp2_start_dev()
4517 port->phy_interface); in mvpp2_phy_connect()
[all …]
Dbcm-sf2-eth.c53 0, dev, eth->phy_interface); in bcm_sf2_eth_init()
Dcpsw.c1322 pdata->phy_interface = -1; in cpsw_eth_ofdata_to_platdata()
1449 pdata->phy_interface = priv->data.slave_data[active_slave].phy_if; in cpsw_eth_ofdata_to_platdata()
1450 if (pdata->phy_interface == -1) { in cpsw_eth_ofdata_to_platdata()
1456 cpsw_phy_sel(priv, phy_sel_compat, pdata->phy_interface); in cpsw_eth_ofdata_to_platdata()
Dkeystone_net.c1084 pdata->phy_interface = priv->phy_if; in ks2_eth_parse_slave_interface()
1089 pdata->phy_interface = priv->phy_if; in ks2_eth_parse_slave_interface()
Dgmac_rockchip.c452 switch (eth_pdata->phy_interface) { in gmac_rockchip_probe()
/external/u-boot/board/freescale/ls1012aqds/
Deth.c279 .phy_interface = 0,
291 .phy_interface = 1,

12