/u-boot/board/st/stm32f746-disco/ |
A D | stm32f746-disco.c | 128 const char *phy_mode; in board_init() local 135 phy_mode = fdt_getprop(gd->fdt_blob, node, "phy-mode", NULL); in board_init() 137 switch (phy_get_interface_by_name(phy_mode)) { in board_init() 145 printf("PHY interface %s not supported !\n", phy_mode); in board_init()
|
/u-boot/board/freescale/ls1012aqds/ |
A D | ls1012aqds.c | 204 prop_val.phy_mode, strlen(prop_val.phy_mode) + 1, 1); in pfe_set_properties() 233 prop_val.phy_mode = "sgmii"; in fdt_fsl_fixup_of_pfe() 245 prop_val.phy_mode = "rgmii"; in fdt_fsl_fixup_of_pfe() 260 prop_val.phy_mode = "sgmii-2500"; in fdt_fsl_fixup_of_pfe() 272 prop_val.phy_mode = "sgmii-2500"; in fdt_fsl_fixup_of_pfe()
|
A D | ls1012aqds_pfe.h | 43 char *phy_mode; member
|
/u-boot/drivers/net/pfe_eth/ |
A D | pfe_mdio.c | 164 if (gem->phy_mode == PHY_INTERFACE_MODE_SGMII_2500) in pfe_configure_serdes() 222 if (gem->phy_mode == PHY_INTERFACE_MODE_SGMII || in pfe_phy_configure() 223 gem->phy_mode == PHY_INTERFACE_MODE_SGMII_2500) { in pfe_phy_configure() 235 phydev = phy_connect(gem->bus, phy_id, dev, gem->phy_mode); in pfe_phy_configure() 287 void pfe_set_phy_address_mode(int dev_id, int phy_id, int phy_mode) in pfe_set_phy_address_mode() argument 290 gem_info[dev_id].phy_mode = phy_mode; in pfe_set_phy_address_mode()
|
A D | pfe_eth.c | 26 .phy_mode = PHY_INTERFACE_MODE_SGMII, 36 .phy_mode = PHY_INTERFACE_MODE_RGMII_ID,
|
/u-boot/include/net/pfe_eth/ |
A D | pfe_eth.h | 76 int phy_mode; member 99 void pfe_set_phy_address_mode(int dev_id, int phy_id, int phy_mode);
|
/u-boot/drivers/net/ |
A D | ftgmac100.c | 89 u32 phy_mode; member 223 phydev = phy_connect(priv->bus, priv->phy_addr, dev, priv->phy_mode); in ftgmac100_phy_init() 548 const char *phy_mode; in ftgmac100_of_to_plat() local 552 phy_mode = dev_read_string(dev, "phy-mode"); in ftgmac100_of_to_plat() 553 if (phy_mode) in ftgmac100_of_to_plat() 554 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ftgmac100_of_to_plat() 556 dev_err(dev, "Invalid PHY interface '%s'\n", phy_mode); in ftgmac100_of_to_plat() 580 priv->phy_mode = pdata->phy_interface; in ftgmac100_probe()
|
A D | sni_ave.c | 154 int phy_mode; member 396 phydev = phy_find_by_mask(priv->bus, mask, priv->phy_mode); in ave_phy_init() 486 if (priv->phy_mode != PHY_INTERFACE_MODE_RGMII) in ave_start() 636 switch (priv->phy_mode) { in ave_pro4_get_pinmode() 664 switch (priv->phy_mode) { in ave_ld11_get_pinmode() 691 switch (priv->phy_mode) { in ave_ld20_get_pinmode() 718 switch (priv->phy_mode) { in ave_pxs3_get_pinmode() 741 const char *phy_mode; in ave_of_to_plat() local 754 if (phy_mode) in ave_of_to_plat() 757 dev_err(dev, "Invalid PHY interface '%s'\n", phy_mode); in ave_of_to_plat() [all …]
|
A D | bcmgenet.c | 605 phy_interface_t phy_mode = priv->interface; in bcmgenet_interface_set() local 607 switch (phy_mode) { in bcmgenet_interface_set() 693 const char *phy_mode; in bcmgenet_eth_of_to_plat() local 700 phy_mode = dev_read_string(dev, "phy-mode"); in bcmgenet_eth_of_to_plat() 701 if (phy_mode) in bcmgenet_eth_of_to_plat() 702 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in bcmgenet_eth_of_to_plat() 704 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in bcmgenet_eth_of_to_plat()
|
A D | pic32_eth.c | 537 const char *phy_mode; in pic32_eth_probe() local 554 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in pic32_eth_probe() 556 if (phy_mode) in pic32_eth_probe() 557 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in pic32_eth_probe() 559 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in pic32_eth_probe()
|
A D | bcm6348-eth.c | 418 const char *phy_mode; in bcm6348_eth_probe() local 429 phy_mode = dev_read_string(dev, "phy-mode"); in bcm6348_eth_probe() 430 if (phy_mode) in bcm6348_eth_probe() 431 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in bcm6348_eth_probe()
|
A D | ravb.c | 649 const char *phy_mode; in ravb_of_to_plat() local 655 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in ravb_of_to_plat() 657 if (phy_mode) in ravb_of_to_plat() 658 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ravb_of_to_plat() 660 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in ravb_of_to_plat()
|
A D | xilinx_axi_emac.c | 736 const char *phy_mode; in axi_emac_of_to_plat() local 764 phy_mode = fdt_getprop(gd->fdt_blob, node, "phy-mode", NULL); in axi_emac_of_to_plat() 765 if (phy_mode) in axi_emac_of_to_plat() 766 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in axi_emac_of_to_plat() 768 printf("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in axi_emac_of_to_plat()
|
A D | altera_tse.c | 679 const char *phy_mode; in altera_tse_of_to_plat() local 682 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in altera_tse_of_to_plat() 684 if (phy_mode) in altera_tse_of_to_plat() 685 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in altera_tse_of_to_plat() 687 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in altera_tse_of_to_plat()
|
A D | higmacv300.c | 565 const char *phy_mode; in higmac_of_to_plat() local 571 phy_mode = dev_read_string(dev, "phy-mode"); in higmac_of_to_plat() 572 if (phy_mode) in higmac_of_to_plat() 573 phyintf = phy_get_interface_by_name(phy_mode); in higmac_of_to_plat()
|
A D | zynq_gem.c | 772 const char *phy_mode; in zynq_gem_of_to_plat() local 801 phy_mode = dev_read_prop(dev, "phy-mode", NULL); in zynq_gem_of_to_plat() 802 if (phy_mode) in zynq_gem_of_to_plat() 803 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in zynq_gem_of_to_plat() 805 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in zynq_gem_of_to_plat()
|
A D | designware.c | 821 const char *phy_mode; in designware_eth_of_to_plat() local 829 phy_mode = dev_read_string(dev, "phy-mode"); in designware_eth_of_to_plat() 830 if (phy_mode) in designware_eth_of_to_plat() 831 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in designware_eth_of_to_plat() 833 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in designware_eth_of_to_plat()
|
/u-boot/drivers/net/ti/ |
A D | am65-cpsw-nuss.c | 230 phy_interface_t phy_mode, int slave) in am65_cpsw_gmii_sel_k3() argument 241 switch (phy_mode) { in am65_cpsw_gmii_sel_k3() 260 phy_mode); in am65_cpsw_gmii_sel_k3() 272 phy_mode, reg); in am65_cpsw_gmii_sel_k3() 605 const char *phy_mode; in am65_cpsw_ofdata_parse_phy() local 608 phy_mode = ofnode_read_string(port_np, "phy-mode"); in am65_cpsw_ofdata_parse_phy() 609 if (phy_mode) { in am65_cpsw_ofdata_parse_phy() 611 phy_get_interface_by_name(phy_mode); in am65_cpsw_ofdata_parse_phy() 614 phy_mode, priv->port_id); in am65_cpsw_ofdata_parse_phy()
|
A D | cpsw.c | 1061 phy_interface_t phy_mode) in cpsw_gmii_sel_am3352() argument 1071 switch (phy_mode) { in cpsw_gmii_sel_am3352() 1116 phy_interface_t phy_mode) in cpsw_gmii_sel_dra7xx() argument 1125 switch (phy_mode) { in cpsw_gmii_sel_dra7xx() 1166 phy_interface_t phy_mode) in cpsw_phy_sel() argument 1169 cpsw_gmii_sel_am3352(priv, phy_mode); in cpsw_phy_sel() 1171 cpsw_gmii_sel_am3352(priv, phy_mode); in cpsw_phy_sel() 1173 cpsw_gmii_sel_dra7xx(priv, phy_mode); in cpsw_phy_sel() 1197 const char *phy_mode; in cpsw_eth_of_parse_slave() local 1203 phy_mode = ofnode_read_string(subnode, "phy-mode"); in cpsw_eth_of_parse_slave() [all …]
|
A D | keystone_net.c | 690 const char *phy_mode; in ks2_eth_parse_slave_interface() local 731 phy_mode = fdt_getprop(fdt, slave, "phy-mode", NULL); in ks2_eth_parse_slave_interface() 732 if (phy_mode) { in ks2_eth_parse_slave_interface() 733 priv->phy_if = phy_get_interface_by_name(phy_mode); in ks2_eth_parse_slave_interface()
|
/u-boot/drivers/net/mscc_eswitch/ |
A D | serval_switch.c | 142 u8 phy_mode; member 322 priv->ports[i].phy_mode); in serdes_setup() 472 u8 serdes_index, u8 phy_mode) in add_port_entry() argument 477 priv->ports[index].phy_mode = phy_mode; in add_port_entry()
|
A D | ocelot_switch.c | 157 u8 phy_mode; member 362 priv->ports[i].phy_mode); in serdes_setup() 515 u8 serdes_index, u8 phy_mode) in add_port_entry() argument 520 priv->ports[index].phy_mode = phy_mode; in add_port_entry()
|
A D | luton_switch.c | 174 u8 phy_mode; member 429 serdes6g_setup(priv->regs[HSIO], mask, priv->ports[i].phy_mode); in serdes_setup() 578 u8 serdes_index, u8 phy_mode) in add_port_entry() argument 583 priv->ports[index].phy_mode = phy_mode; in add_port_entry()
|
A D | jr2_switch.c | 263 u8 phy_mode; member 746 priv->ports[i].phy_mode); in serdes_setup() 750 priv->ports[i].phy_mode); in serdes_setup() 831 u8 serdes_index, u8 phy_mode) in add_port_entry() argument 836 priv->ports[index].phy_mode = phy_mode; in add_port_entry()
|
/u-boot/drivers/net/ldpaa_eth/ |
A D | ldpaa_eth.h | 121 int phy_mode; member
|