/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | mscc,vsc7514-serdes.yaml | 22 There are two kinds of SerDes: SERDES1G supports 10/100Mbps in 23 half/full-duplex and 1000Mbps in full-duplex mode while SERDES6G supports 24 10/100Mbps in half/full-duplex and 1000/2500Mbps in full-duplex mode.
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | port.c | 243 case 2500: in mv88e6xxx_port_set_speed_duplex() 296 dev_dbg(chip->dev, "p%d: Speed set to %d Mbps\n", port, speed); in mv88e6xxx_port_set_speed_duplex() 306 /* Support 10, 100, 1000 Mbps (e.g. 88E6185 family) */ 317 /* Support 10, 100 Mbps (e.g. 88E6250 family) */ 328 /* Support 10, 100, 200, 1000, 2500 Mbps (e.g. 88E6341) */ 332 if (speed > 2500) in mv88e6341_port_set_speed_duplex() 338 if (speed == 2500 && port < 5) in mv88e6341_port_set_speed_duplex() 354 /* Support 10, 100, 200, 1000 Mbps (e.g. 88E6352 family) */ 368 /* Support 10, 100, 200, 1000, 2500 Mbps (e.g. 88E6390) */ 372 if (speed > 2500) in mv88e6390_port_set_speed_duplex() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | mdio.h | 467 #define MDIO_USXGMII_10 0x0000 /* 10Mbps */ 468 #define MDIO_USXGMII_10HALF 0x0000 /* 10Mbps half-duplex */ 469 #define MDIO_USXGMII_10FULL 0x1000 /* 10Mbps full-duplex */ 470 #define MDIO_USXGMII_100 0x0200 /* 100Mbps */ 471 #define MDIO_USXGMII_100HALF 0x0200 /* 100Mbps half-duplex */ 472 #define MDIO_USXGMII_100FULL 0x1200 /* 100Mbps full-duplex */ 473 #define MDIO_USXGMII_1000 0x0400 /* 1000Mbps */ 474 #define MDIO_USXGMII_1000HALF 0x0400 /* 1000Mbps half-duplex */ 475 #define MDIO_USXGMII_1000FULL 0x1400 /* 1000Mbps full-duplex */ 479 #define MDIO_USXGMII_2500 0x0800 /* 2500Mbps */ [all …]
|
/openbmc/linux/Documentation/networking/dsa/ |
H A D | sja1105.rst | 370 In RGMII the clock frequency changes with link speed (125 MHz at 1000 Mbps, 25 371 MHz at 100 Mbps and 2.5 MHz at 10 Mbps), and link speed might change during the 382 Ethernet controllers out there which come out of reset in 100 Mbps mode, and 436 or 2500base-X or 2500base-X or 2500base-X 438 or 2500base-X or 2500base-X or 2500base-X or 2500base-X
|
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/doc/ |
H A D | README.soc | 34 - Up to 4 x SGMII supporting 1000Mbps 35 - Up to 2 x SGMII supporting 2500Mbps 36 - Up to 2 x RGMII supporting 1000Mbps 193 - Up to 4 x SGMII supporting 1000Mbps (MAC 5, 6, 9, 10) 194 - Up to 3 x SGMII supporting 2500Mbps (MAC 5, 9, 10) 195 - Up to 2 x RGMII supporting 1000Mbps (MAC 3, 4)
|
/openbmc/linux/include/linux/ |
H A D | mii.h | 553 * Encode the speed and duplex to a BMCR value. 2500, 1000, 100 and 10 Mbps are 554 * supported. 2500Mbps is encoded to 1000Mbps. Other speeds are encoded as 10 555 * Mbps. Unknown duplex values are encoded to half-duplex.
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | motorcomm,yt8xxx.yaml | 26 1800, 1900, 1950, 2050, 2100, 2200, 2250, 2350, 2500, 2650, 2800, 98 Transmit PHY Clock delay train configuration when speed is 10Mbps. 104 Transmit PHY Clock delay train configuration when speed is 100Mbps. 110 Transmit PHY Clock delay train configuration when speed is 1000Mbps.
|
/openbmc/linux/drivers/media/platform/renesas/rcar-vin/ |
H A D | rcar-csi2.c | 226 …{ .msps = 2500, .rx2 = 0x9c, .trio0 = 0x064a, .trio1 = 0x0003, .trio2 = 0x05, .lane27 = 0x1c00, .l… 246 u16 mbps; member 251 { .mbps = 1500, .reg = 0xcc }, 252 { .mbps = 1550, .reg = 0x1d }, 253 { .mbps = 1600, .reg = 0x27 }, 254 { .mbps = 1650, .reg = 0x30 }, 255 { .mbps = 1700, .reg = 0x39 }, 256 { .mbps = 1750, .reg = 0x42 }, 257 { .mbps = 1800, .reg = 0x4b }, 258 { .mbps = 1850, .reg = 0x55 }, [all …]
|
/openbmc/u-boot/board/freescale/t1040qds/ |
H A D | README | 36 - Upto six SGMII interface supporting 1000 Mbps 37 - One SGMII interface supporting upto 2500 Mbps
|
/openbmc/linux/drivers/net/pcs/ |
H A D | pcs-lynx.c | 249 /* 2500Base-X is SerDes protocol 7 on Felix and 6 on ENETC. It is a SerDes lane 261 * AN, we call this PHY interface type 2500Base-X. In case a PHY negotiates a 263 * 2500 Mbps and we do rate adaptation through pause frames. 272 dev_err(&pcs->dev, "AN not supported for 2500BaseX\n"); in lynx_pcs_link_up_2500basex()
|
H A D | pcs-mtk-lynxi.c | 122 * other words, 1000Mbps or 2500Mbps). in mtk_pcs_lynxi_config()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2_utils_fw.c | 293 self->aq_link_status.mbps = 10000; in aq_a2_fw_update_link_status() 296 self->aq_link_status.mbps = 5000; in aq_a2_fw_update_link_status() 299 self->aq_link_status.mbps = 2500; in aq_a2_fw_update_link_status() 302 self->aq_link_status.mbps = 1000; in aq_a2_fw_update_link_status() 305 self->aq_link_status.mbps = 100; in aq_a2_fw_update_link_status() 308 self->aq_link_status.mbps = 10; in aq_a2_fw_update_link_status() 311 self->aq_link_status.mbps = 0; in aq_a2_fw_update_link_status() 353 if (self->aq_link_status.mbps) { in aq_a2_fill_a0_stats() 395 if (self->aq_link_status.mbps) { in aq_a2_fill_b0_stats()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_utils.c | 709 link_status->mbps = 0U; in hw_atl_utils_mpi_get_link_status() 713 link_status->mbps = 10000U; in hw_atl_utils_mpi_get_link_status() 718 link_status->mbps = 5000U; in hw_atl_utils_mpi_get_link_status() 722 link_status->mbps = 2500U; in hw_atl_utils_mpi_get_link_status() 726 link_status->mbps = 1000U; in hw_atl_utils_mpi_get_link_status() 730 link_status->mbps = 100U; in hw_atl_utils_mpi_get_link_status() 798 unsigned int hw_atl_utils_mbps_2_speed_index(unsigned int mbps) in hw_atl_utils_mbps_2_speed_index() argument 802 switch (mbps) { in hw_atl_utils_mbps_2_speed_index() 811 case 2500U: in hw_atl_utils_mbps_2_speed_index() 885 if (self->aq_link_status.mbps) { in hw_atl_utils_update_stats()
|
H A D | hw_atl_utils_fw2x.c | 260 link_status->mbps = 10000; in aq_fw2x_update_link_status() 262 link_status->mbps = 5000; in aq_fw2x_update_link_status() 264 link_status->mbps = 2500; in aq_fw2x_update_link_status() 266 link_status->mbps = 1000; in aq_fw2x_update_link_status() 268 link_status->mbps = 100; in aq_fw2x_update_link_status() 270 link_status->mbps = 10000; in aq_fw2x_update_link_status() 272 link_status->mbps = 0; in aq_fw2x_update_link_status()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_nic.c | 168 if (self->link_status.mbps != self->aq_hw->aq_link_status.mbps) { in aq_nic_update_link_status() 170 AQ_CFG_DRV_NAME, self->link_status.mbps, in aq_nic_update_link_status() 171 self->aq_hw->aq_link_status.mbps); in aq_nic_update_link_status() 177 self->aq_hw->aq_link_status.mbps); in aq_nic_update_link_status() 190 if (!netif_carrier_ok(self->ndev) && self->link_status.mbps) { in aq_nic_update_link_status() 204 if (netif_carrier_ok(self->ndev) && !self->link_status.mbps) { in aq_nic_update_link_status() 987 return self->link_status.mbps; in aq_nic_get_link_speed() 1109 if (self->link_status.mbps) in aq_nic_get_link_ksettings() 1126 2500baseT_Full); in aq_nic_get_link_ksettings() 1181 2500baseT_Full); in aq_nic_get_link_ksettings() [all …]
|
H A D | aq_ptp.c | 89 unsigned int mbps; member 96 void aq_ptp_tm_offset_set(struct aq_nic_s *aq_nic, unsigned int mbps) in aq_ptp_tm_offset_set() argument 108 if (mbps == ptp_offset[i].mbps) { in aq_ptp_tm_offset_set() 1039 ptp_offset[__idx].mbps = (__mbps); \ 1065 ptp_offset_init(i, 2500, in aq_ptp_offset_init_from_fw() 1309 if (aq_nic->aq_hw->aq_link_status.mbps) in aq_ptp_link_change()
|
/openbmc/linux/drivers/phy/freescale/ |
H A D | phy-fsl-imx8-mipi-dphy.c | 52 #define MBPS(x) ((x) * 1000000) macro 54 #define DATA_RATE_MAX_SPEED MBPS(1500) 55 #define DATA_RATE_MIN_SPEED MBPS(80) 283 n = (34 * (dphy_opts->hs_clk_rate / 1000000) - 2500) / 1000; in mixel_dphy_config_from_opts() 296 if (dphy_opts->hs_clk_rate < MBPS(80)) in mixel_dphy_config_from_opts() 298 else if (dphy_opts->hs_clk_rate < MBPS(90)) in mixel_dphy_config_from_opts() 300 else if (dphy_opts->hs_clk_rate < MBPS(125)) in mixel_dphy_config_from_opts() 302 else if (dphy_opts->hs_clk_rate < MBPS(150)) in mixel_dphy_config_from_opts() 304 else if (dphy_opts->hs_clk_rate < MBPS(225)) in mixel_dphy_config_from_opts() 306 else if (dphy_opts->hs_clk_rate < MBPS(500)) in mixel_dphy_config_from_opts()
|
/openbmc/linux/drivers/phy/cadence/ |
H A D | cdns-dphy-rx.c | 61 /* Rates are in Mbps. */ 76 { 1500, 1750 }, { 1750, 2000 }, { 2000, 2250 }, { 2250, 2500 }
|
/openbmc/linux/drivers/net/phy/ |
H A D | phy-core.c | 23 return "10Mbps"; in phy_speed_to_str() 25 return "100Mbps"; in phy_speed_to_str() 247 PHY_SETTING( 2500, FULL, 2500baseT_Full ), 248 PHY_SETTING( 2500, FULL, 2500baseX_Full ),
|
H A D | mxl-gpy.c | 520 /* Automatically switch SERDES interface between SGMII and 2500-BaseX in gpy_update_interface() 521 * according to speed. Disable ANEG in 2500-BaseX mode. in gpy_update_interface() 541 /* Enable and restart SGMII ANEG for 10/100/1000Mbps link speed in gpy_update_interface() 542 * if ANEG is disabled (in 2500-BaseX mode). in gpy_update_interface()
|
/openbmc/u-boot/board/freescale/t104xrdb/ |
H A D | README | 67 - Upto six SGMII interface supporting 1000 Mbps 68 - One SGMII interface supporting upto 2500 Mbps
|
/openbmc/u-boot/board/freescale/t102xrdb/ |
H A D | README | 40 - Four SGMII interface supporting 1000 Mbps 41 - Three SGMII interfaces supporting up to 2500 Mbps
|
/openbmc/u-boot/board/freescale/t102xqds/ |
H A D | README | 40 - Four SGMII interface supporting 1000 Mbps 41 - Three SGMII interfaces supporting up to 2500 Mbps
|
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-mdio.c | 629 !XGBE_ADV(lks, 2500baseX_Full)) in xgbe_an73_incompat_link() 1032 XGBE_ADV(&lks, 2500baseX_Full)) in xgbe_an73_init() 1093 return "10Mbps"; in xgbe_phy_speed_string() 1095 return "100Mbps"; in xgbe_phy_speed_string() 1597 else if (XGBE_ADV(lks, 2500baseX_Full)) in xgbe_phy_best_advertised_speed() 1599 else if (XGBE_ADV(lks, 2500baseT_Full)) in xgbe_phy_best_advertised_speed()
|
/openbmc/u-boot/cmd/aspeed/nettest/ |
H A D | phy.c | 481 …phy_write( eng, 1, 0x0003 ); //01h[1:0]00 = 10 Mbps, 01 = 100 Mbps, 10 = 1000 Mbps, 11 = Speed is… in recov_phy_marvell1() 504 …ite( eng, 1, (PHY_01h & 0xfffc) | 0x0002 );//[1:0]00 = 10 Mbps, 01 = 100 Mbps, 10 = 1000 Mbps, 11… in phy_marvell1() 505 …ite( eng, 1, (PHY_01h & 0xfffc) | 0x0001 );//[1:0]00 = 10 Mbps, 01 = 100 Mbps, 10 = 1000 Mbps, 11… in phy_marvell1() 506 …ite( eng, 1, (PHY_01h & 0xfffc) );//[1:0]00 = 10 Mbps, 01 = 100 Mbps, 10 = 1000 Mbps, 11… in phy_marvell1() 507 …_sel[ 0 ] ) phy_write( eng, 1, 0x0002 );//01h[1:0]00 = 10 Mbps, 01 = 100 Mbps, 10 = 1000 Mbps, 11… in phy_marvell1() 508 …_sel[ 1 ] ) phy_write( eng, 1, 0x0001 );//01h[1:0]00 = 10 Mbps, 01 = 100 Mbps, 10 = 1000 Mbps, 11… in phy_marvell1() 509 … phy_write( eng, 1, 0x0000 );//01h[1:0]00 = 10 Mbps, 01 = 100 Mbps, 10 = 1000 Mbps, 11… in phy_marvell1() 592 //Internal loopback at 100Mbps need delay 400~500 ms in phy_marvell2() 593 // DELAY( 400 );//Still fail at 100Mbps in phy_marvell2() 1829 // phy_delay(2500);//2.5 sec in phy_micrel0()
|