Home
last modified time | relevance | path

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

12

/external/u-boot/board/freescale/ls1012aqds/
Dls1012aqds.c185 prop_val.phy_mode, strlen(prop_val.phy_mode) + 1, 1); in pfe_set_properties()
214 prop_val.phy_mode = "sgmii"; in fdt_fsl_fixup_of_pfe()
226 prop_val.phy_mode = "rgmii"; in fdt_fsl_fixup_of_pfe()
241 prop_val.phy_mode = "sgmii-2500"; in fdt_fsl_fixup_of_pfe()
253 prop_val.phy_mode = "sgmii-2500"; in fdt_fsl_fixup_of_pfe()
Dls1012aqds_pfe.h43 char *phy_mode; member
/external/u-boot/drivers/net/pfe_eth/
Dpfe_mdio.c161 if (gem->phy_mode == PHY_INTERFACE_MODE_SGMII_2500) in pfe_configure_serdes()
219 if (gem->phy_mode == PHY_INTERFACE_MODE_SGMII || in pfe_phy_configure()
220 gem->phy_mode == PHY_INTERFACE_MODE_SGMII_2500) { in pfe_phy_configure()
232 phydev = phy_connect(gem->bus, phy_id, dev, gem->phy_mode); in pfe_phy_configure()
284 void pfe_set_phy_address_mode(int dev_id, int phy_id, int phy_mode) in pfe_set_phy_address_mode() argument
287 gem_info[dev_id].phy_mode = phy_mode; in pfe_set_phy_address_mode()
Dpfe_eth.c23 .phy_mode = PHY_INTERFACE_MODE_SGMII,
33 .phy_mode = PHY_INTERFACE_MODE_RGMII_TXID,
/external/u-boot/board/st/stm32f746-disco/
Dstm32f746-disco.c130 const char *phy_mode; in board_init() local
137 phy_mode = fdt_getprop(gd->fdt_blob, node, "phy-mode", NULL); in board_init()
139 switch (phy_get_interface_by_name(phy_mode)) { in board_init()
147 printf("PHY interface %s not supported !\n", phy_mode); in board_init()
/external/u-boot/arch/arm/mach-socfpga/
Dmisc_s10.c82 const char *phy_mode; in socfpga_set_phymode() local
106 phy_mode = fdt_getprop(fdt, node, "phy-mode", NULL); in socfpga_set_phymode()
107 ret = socfpga_phymode_setup(gmac_index, phy_mode); in socfpga_set_phymode()
/external/u-boot/drivers/net/
Dftgmac100.c83 u32 phy_mode; member
217 phydev = phy_connect(priv->bus, priv->phy_addr, dev, priv->phy_mode); in ftgmac100_phy_init()
512 const char *phy_mode; in ftgmac100_ofdata_to_platdata() local
516 phy_mode = dev_read_string(dev, "phy-mode"); in ftgmac100_ofdata_to_platdata()
517 if (phy_mode) in ftgmac100_ofdata_to_platdata()
518 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ftgmac100_ofdata_to_platdata()
520 dev_err(dev, "Invalid PHY interface '%s'\n", phy_mode); in ftgmac100_ofdata_to_platdata()
544 priv->phy_mode = pdata->phy_interface; in ftgmac100_probe()
Dsni_ave.c146 int phy_mode; member
388 phydev = phy_find_by_mask(priv->bus, mask, priv->phy_mode); in ave_phy_init()
478 if (priv->phy_mode != PHY_INTERFACE_MODE_RGMII) in ave_start()
628 switch (priv->phy_mode) { in ave_pro4_get_pinmode()
656 switch (priv->phy_mode) { in ave_ld11_get_pinmode()
683 switch (priv->phy_mode) { in ave_ld20_get_pinmode()
710 switch (priv->phy_mode) { in ave_pxs3_get_pinmode()
733 const char *phy_mode; in ave_ofdata_to_platdata() local
744 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in ave_ofdata_to_platdata()
746 if (phy_mode) in ave_ofdata_to_platdata()
[all …]
Dpic32_eth.c533 const char *phy_mode; in pic32_eth_probe() local
550 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in pic32_eth_probe()
552 if (phy_mode) in pic32_eth_probe()
553 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in pic32_eth_probe()
555 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in pic32_eth_probe()
Dbcm6348-eth.c416 const char *phy_mode; in bcm6348_eth_probe() local
427 phy_mode = dev_read_string(dev, "phy-mode"); in bcm6348_eth_probe()
428 if (phy_mode) in bcm6348_eth_probe()
429 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in bcm6348_eth_probe()
Dzynq_gem.c715 const char *phy_mode; in zynq_gem_ofdata_to_platdata() local
733 phy_mode = dev_read_prop(dev, "phy-mode", NULL); in zynq_gem_ofdata_to_platdata()
734 if (phy_mode) in zynq_gem_ofdata_to_platdata()
735 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in zynq_gem_ofdata_to_platdata()
737 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in zynq_gem_ofdata_to_platdata()
Daltera_tse.c677 const char *phy_mode; in altera_tse_ofdata_to_platdata() local
680 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in altera_tse_ofdata_to_platdata()
682 if (phy_mode) in altera_tse_ofdata_to_platdata()
683 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in altera_tse_ofdata_to_platdata()
685 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in altera_tse_ofdata_to_platdata()
Dravb.c646 const char *phy_mode; in ravb_ofdata_to_platdata() local
652 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in ravb_ofdata_to_platdata()
654 if (phy_mode) in ravb_ofdata_to_platdata()
655 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ravb_ofdata_to_platdata()
657 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in ravb_ofdata_to_platdata()
Dxilinx_axi_emac.c720 const char *phy_mode; in axi_emac_ofdata_to_platdata() local
748 phy_mode = fdt_getprop(gd->fdt_blob, node, "phy-mode", NULL); in axi_emac_ofdata_to_platdata()
749 if (phy_mode) in axi_emac_ofdata_to_platdata()
750 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in axi_emac_ofdata_to_platdata()
752 printf("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in axi_emac_ofdata_to_platdata()
Dhigmacv300.c560 const char *phy_mode; in higmac_ofdata_to_platdata() local
566 phy_mode = dev_read_string(dev, "phy-mode"); in higmac_ofdata_to_platdata()
567 if (phy_mode) in higmac_ofdata_to_platdata()
568 phyintf = phy_get_interface_by_name(phy_mode); in higmac_ofdata_to_platdata()
Ddesignware.c814 const char *phy_mode; in designware_eth_ofdata_to_platdata() local
822 phy_mode = dev_read_string(dev, "phy-mode"); in designware_eth_ofdata_to_platdata()
823 if (phy_mode) in designware_eth_ofdata_to_platdata()
824 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in designware_eth_ofdata_to_platdata()
826 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in designware_eth_ofdata_to_platdata()
Dtsec.c795 const char *phy_mode; in tsec_probe() local
830 phy_mode = dev_read_prop(dev, "phy-connection-type", NULL); in tsec_probe()
831 if (phy_mode) in tsec_probe()
832 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in tsec_probe()
834 printf("Invalid PHY interface '%s'\n", phy_mode); in tsec_probe()
/external/u-boot/drivers/net/ti/
Dam65-cpsw-nuss.c219 phy_interface_t phy_mode, int slave) in am65_cpsw_gmii_sel_k3() argument
230 switch (phy_mode) { in am65_cpsw_gmii_sel_k3()
249 phy_mode); in am65_cpsw_gmii_sel_k3()
261 phy_mode, reg); in am65_cpsw_gmii_sel_k3()
591 const char *phy_mode; in am65_cpsw_ofdata_parse_phy() local
594 phy_mode = ofnode_read_string(port_np, "phy-mode"); in am65_cpsw_ofdata_parse_phy()
595 if (phy_mode) { in am65_cpsw_ofdata_parse_phy()
597 phy_get_interface_by_name(phy_mode); in am65_cpsw_ofdata_parse_phy()
600 phy_mode, priv->port_id); in am65_cpsw_ofdata_parse_phy()
Dcpsw.c1051 phy_interface_t phy_mode) in cpsw_gmii_sel_am3352() argument
1061 switch (phy_mode) { in cpsw_gmii_sel_am3352()
1106 phy_interface_t phy_mode) in cpsw_gmii_sel_dra7xx() argument
1115 switch (phy_mode) { in cpsw_gmii_sel_dra7xx()
1156 phy_interface_t phy_mode) in cpsw_phy_sel() argument
1159 cpsw_gmii_sel_am3352(priv, phy_mode); in cpsw_phy_sel()
1161 cpsw_gmii_sel_am3352(priv, phy_mode); in cpsw_phy_sel()
1163 cpsw_gmii_sel_dra7xx(priv, phy_mode); in cpsw_phy_sel()
1187 const char *phy_mode; in cpsw_eth_of_parse_slave() local
1193 phy_mode = ofnode_read_string(subnode, "phy-mode"); in cpsw_eth_of_parse_slave()
[all …]
Dkeystone_net.c687 const char *phy_mode; in ks2_eth_parse_slave_interface() local
728 phy_mode = fdt_getprop(fdt, slave, "phy-mode", NULL); in ks2_eth_parse_slave_interface()
729 if (phy_mode) { in ks2_eth_parse_slave_interface()
730 priv->phy_if = phy_get_interface_by_name(phy_mode); in ks2_eth_parse_slave_interface()
/external/u-boot/include/net/pfe_eth/
Dpfe_eth.h75 int phy_mode; member
98 void pfe_set_phy_address_mode(int dev_id, int phy_id, int phy_mode);
/external/u-boot/drivers/net/mscc_eswitch/
Dserval_switch.c139 u8 phy_mode; member
319 priv->ports[i].phy_mode); in serdes_setup()
469 u8 serdes_index, u8 phy_mode) in add_port_entry() argument
474 priv->ports[index].phy_mode = phy_mode; in add_port_entry()
Docelot_switch.c154 u8 phy_mode; member
359 priv->ports[i].phy_mode); in serdes_setup()
512 u8 serdes_index, u8 phy_mode) in add_port_entry() argument
517 priv->ports[index].phy_mode = phy_mode; in add_port_entry()
Dluton_switch.c172 u8 phy_mode; member
427 serdes6g_setup(priv->regs[HSIO], mask, priv->ports[i].phy_mode); in serdes_setup()
576 u8 serdes_index, u8 phy_mode) in add_port_entry() argument
581 priv->ports[index].phy_mode = phy_mode; in add_port_entry()
Djr2_switch.c260 u8 phy_mode; member
743 priv->ports[i].phy_mode); in serdes_setup()
747 priv->ports[i].phy_mode); in serdes_setup()
828 u8 serdes_index, u8 phy_mode) in add_port_entry() argument
833 priv->ports[index].phy_mode = phy_mode; in add_port_entry()

12