/external/u-boot/board/freescale/ls1012aqds/ |
D | ls1012aqds.c | 168 prop_val.phy_mode, strlen(prop_val.phy_mode) + 1, 1); in pfe_set_properties() 197 prop_val.phy_mode = "sgmii"; in fdt_fsl_fixup_of_pfe() 209 prop_val.phy_mode = "rgmii"; in fdt_fsl_fixup_of_pfe() 224 prop_val.phy_mode = "sgmii-2500"; in fdt_fsl_fixup_of_pfe() 236 prop_val.phy_mode = "sgmii-2500"; in fdt_fsl_fixup_of_pfe()
|
D | ls1012aqds_pfe.h | 43 char *phy_mode; member
|
/external/u-boot/drivers/net/pfe_eth/ |
D | pfe_mdio.c | 162 if (gem->phy_mode == PHY_INTERFACE_MODE_SGMII_2500) in pfe_configure_serdes() 221 if (gem->phy_mode == PHY_INTERFACE_MODE_SGMII || in pfe_phy_configure() 222 gem->phy_mode == PHY_INTERFACE_MODE_SGMII_2500) { in pfe_phy_configure() 234 phydev = phy_connect(gem->bus, phy_id, dev, gem->phy_mode); in pfe_phy_configure() 286 void pfe_set_phy_address_mode(int dev_id, int phy_id, int phy_mode) in pfe_set_phy_address_mode() argument 289 gem_info[dev_id].phy_mode = phy_mode; in pfe_set_phy_address_mode()
|
D | pfe_eth.c | 23 .phy_mode = PHY_INTERFACE_MODE_SGMII, 33 .phy_mode = PHY_INTERFACE_MODE_RGMII_TXID,
|
/external/u-boot/drivers/net/ |
D | sni_ave.c | 145 int phy_mode; member 387 phydev = phy_find_by_mask(priv->bus, mask, priv->phy_mode); in ave_phy_init() 477 if (priv->phy_mode != PHY_INTERFACE_MODE_RGMII) in ave_start() 627 switch (priv->phy_mode) { in ave_pro4_get_pinmode() 655 switch (priv->phy_mode) { in ave_ld11_get_pinmode() 682 switch (priv->phy_mode) { in ave_ld20_get_pinmode() 709 switch (priv->phy_mode) { in ave_pxs3_get_pinmode() 732 const char *phy_mode; in ave_ofdata_to_platdata() local 743 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in ave_ofdata_to_platdata() 745 if (phy_mode) in ave_ofdata_to_platdata() [all …]
|
D | cpsw.c | 1184 phy_interface_t phy_mode) in cpsw_gmii_sel_am3352() argument 1194 switch (phy_mode) { in cpsw_gmii_sel_am3352() 1239 phy_interface_t phy_mode) in cpsw_gmii_sel_dra7xx() argument 1248 switch (phy_mode) { in cpsw_gmii_sel_dra7xx() 1289 phy_interface_t phy_mode) in cpsw_phy_sel() argument 1292 cpsw_gmii_sel_am3352(priv, phy_mode); in cpsw_phy_sel() 1294 cpsw_gmii_sel_am3352(priv, phy_mode); in cpsw_phy_sel() 1296 cpsw_gmii_sel_dra7xx(priv, phy_mode); in cpsw_phy_sel() 1304 const char *phy_mode; in cpsw_eth_ofdata_to_platdata() local 1390 phy_mode = fdt_getprop(fdt, subnode, "phy-mode", NULL); in cpsw_eth_ofdata_to_platdata() [all …]
|
D | pic32_eth.c | 530 const char *phy_mode; in pic32_eth_probe() local 547 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in pic32_eth_probe() 549 if (phy_mode) in pic32_eth_probe() 550 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in pic32_eth_probe() 552 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in pic32_eth_probe()
|
D | xilinx_axi_emac.c | 716 const char *phy_mode; in axi_emac_ofdata_to_platdata() local 742 phy_mode = fdt_getprop(gd->fdt_blob, node, "phy-mode", NULL); in axi_emac_ofdata_to_platdata() 743 if (phy_mode) in axi_emac_ofdata_to_platdata() 744 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in axi_emac_ofdata_to_platdata() 746 printf("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in axi_emac_ofdata_to_platdata()
|
D | zynq_gem.c | 697 const char *phy_mode; in zynq_gem_ofdata_to_platdata() local 710 phy_mode = fdt_getprop(gd->fdt_blob, node, "phy-mode", NULL); in zynq_gem_ofdata_to_platdata() 711 if (phy_mode) in zynq_gem_ofdata_to_platdata() 712 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in zynq_gem_ofdata_to_platdata() 714 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in zynq_gem_ofdata_to_platdata()
|
D | altera_tse.c | 676 const char *phy_mode; in altera_tse_ofdata_to_platdata() local 679 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in altera_tse_ofdata_to_platdata() 681 if (phy_mode) in altera_tse_ofdata_to_platdata() 682 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in altera_tse_ofdata_to_platdata() 684 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in altera_tse_ofdata_to_platdata()
|
D | ravb.c | 638 const char *phy_mode; in ravb_ofdata_to_platdata() local 644 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in ravb_ofdata_to_platdata() 646 if (phy_mode) in ravb_ofdata_to_platdata() 647 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ravb_ofdata_to_platdata() 649 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in ravb_ofdata_to_platdata()
|
D | sun8i_emac.c | 788 const char *phy_mode; in sun8i_emac_eth_ofdata_to_platdata() local 832 phy_mode = fdt_getprop(gd->fdt_blob, node, "phy-mode", NULL); in sun8i_emac_eth_ofdata_to_platdata() 834 if (phy_mode) 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() 839 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in sun8i_emac_eth_ofdata_to_platdata()
|
D | designware.c | 793 const char *phy_mode; in designware_eth_ofdata_to_platdata() local 801 phy_mode = dev_read_string(dev, "phy-mode"); in designware_eth_ofdata_to_platdata() 802 if (phy_mode) in designware_eth_ofdata_to_platdata() 803 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in designware_eth_ofdata_to_platdata() 805 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in designware_eth_ofdata_to_platdata()
|
D | tsec.c | 781 const char *phy_mode; in tsec_probe() local 816 phy_mode = dev_read_prop(dev, "phy-connection-type", NULL); in tsec_probe() 817 if (phy_mode) in tsec_probe() 818 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in tsec_probe() 820 debug("Invalid PHY interface '%s'\n", phy_mode); in tsec_probe()
|
D | ag7xxx.c | 975 const char *phy_mode; in ag7xxx_eth_ofdata_to_platdata() local 986 phy_mode = fdt_getprop(gd->fdt_blob, ret, "phy-mode", NULL); in ag7xxx_eth_ofdata_to_platdata() 987 if (phy_mode) in ag7xxx_eth_ofdata_to_platdata() 988 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ag7xxx_eth_ofdata_to_platdata() 990 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in ag7xxx_eth_ofdata_to_platdata()
|
D | sh_eth.c | 891 const char *phy_mode; in sh_ether_ofdata_to_platdata() local 897 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in sh_ether_ofdata_to_platdata() 899 if (phy_mode) in sh_ether_ofdata_to_platdata() 900 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in sh_ether_ofdata_to_platdata() 902 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in sh_ether_ofdata_to_platdata()
|
D | mvneta.c | 1349 static int mvneta_port_power_up(struct mvneta_port *pp, int phy_mode) in mvneta_port_power_up() argument 1361 switch (phy_mode) { in mvneta_port_power_up() 1782 const char *phy_mode; in mvneta_ofdata_to_platdata() local 1788 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in mvneta_ofdata_to_platdata() 1790 if (phy_mode) in mvneta_ofdata_to_platdata() 1791 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in mvneta_ofdata_to_platdata() 1793 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in mvneta_ofdata_to_platdata()
|
D | macb.c | 1087 const char *phy_mode; in macb_eth_probe() local 1090 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in macb_eth_probe() 1092 if (phy_mode) in macb_eth_probe() 1093 macb->phy_interface = phy_get_interface_by_name(phy_mode); in macb_eth_probe() 1095 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in macb_eth_probe()
|
D | fec_mxc.c | 1319 const char *phy_mode; in fecmxc_ofdata_to_platdata() local 1325 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in fecmxc_ofdata_to_platdata() 1327 if (phy_mode) in fecmxc_ofdata_to_platdata() 1328 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in fecmxc_ofdata_to_platdata() 1330 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in fecmxc_ofdata_to_platdata()
|
D | mvpp2.c | 4724 int phy_mode = -1; in phy_info_parse() local 4763 phy_mode = phy_get_interface_by_name(phy_mode_str); in phy_info_parse() 4764 if (phy_mode == -1) { in phy_info_parse() 4797 port->phy_interface = phy_mode; in phy_info_parse()
|
/external/u-boot/arch/arm/mach-socfpga/ |
D | misc.c | 172 const char *phy_mode; in socfpga_eth_reset_common() local 194 phy_mode = fdt_getprop(fdt, node, "phy-mode", NULL); in socfpga_eth_reset_common() 195 ret = dwmac_phymode_to_modereg(phy_mode, &phy_modereg); in socfpga_eth_reset_common()
|
/external/u-boot/include/net/pfe_eth/ |
D | pfe_eth.h | 75 int phy_mode; member 98 void pfe_set_phy_address_mode(int dev_id, int phy_id, int phy_mode);
|