Home
last modified time | relevance | path

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

12

/u-boot/board/st/stm32f746-disco/
A Dstm32f746-disco.c128 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 Dls1012aqds.c204 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 Dls1012aqds_pfe.h43 char *phy_mode; member
/u-boot/drivers/net/pfe_eth/
A Dpfe_mdio.c164 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 Dpfe_eth.c26 .phy_mode = PHY_INTERFACE_MODE_SGMII,
36 .phy_mode = PHY_INTERFACE_MODE_RGMII_ID,
/u-boot/include/net/pfe_eth/
A Dpfe_eth.h76 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 Dftgmac100.c89 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 Dsni_ave.c154 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 Dbcmgenet.c605 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 Dpic32_eth.c537 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 Dbcm6348-eth.c418 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 Dravb.c649 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 Dxilinx_axi_emac.c736 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 Daltera_tse.c679 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 Dhigmacv300.c565 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 Dzynq_gem.c772 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 Ddesignware.c821 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 Dam65-cpsw-nuss.c230 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 Dcpsw.c1061 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 Dkeystone_net.c690 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 Dserval_switch.c142 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 Docelot_switch.c157 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 Dluton_switch.c174 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 Djr2_switch.c263 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 Dldpaa_eth.h121 int phy_mode; member

Completed in 77 milliseconds

12