| /Linux-v6.1/Documentation/devicetree/bindings/phy/ |
| 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.
|
| /Linux-v6.1/drivers/net/dsa/mv88e6xxx/ |
| D | port.c | 234 case 2500: in mv88e6xxx_port_set_speed_duplex() 287 dev_dbg(chip->dev, "p%d: Speed set to %d Mbps\n", port, speed); in mv88e6xxx_port_set_speed_duplex() 297 /* Support 10, 100, 1000 Mbps (e.g. 88E6185 family) */ 308 /* Support 10, 100 Mbps (e.g. 88E6250 family) */ 319 /* Support 10, 100, 200, 1000, 2500 Mbps (e.g. 88E6341) */ 323 if (speed > 2500) in mv88e6341_port_set_speed_duplex() 329 if (speed == 2500 && port < 5) in mv88e6341_port_set_speed_duplex() 344 /* Support 10, 100, 200, 1000 Mbps (e.g. 88E6352 family) */ 358 /* Support 10, 100, 200, 1000, 2500 Mbps (e.g. 88E6390) */ 362 if (speed > 2500) in mv88e6390_port_set_speed_duplex() [all …]
|
| D | chip.h | 494 /* Port's MAC speed (in Mbps) and MAC duplex mode 496 * Depending on the chip, 10, 100, 200, 1000, 2500, 10000 are valid.
|
| /Linux-v6.1/include/uapi/linux/ |
| D | mdio.h | 419 #define MDIO_USXGMII_10 0x0000 /* 10Mbps */ 420 #define MDIO_USXGMII_10HALF 0x0000 /* 10Mbps half-duplex */ 421 #define MDIO_USXGMII_10FULL 0x1000 /* 10Mbps full-duplex */ 422 #define MDIO_USXGMII_100 0x0200 /* 100Mbps */ 423 #define MDIO_USXGMII_100HALF 0x0200 /* 100Mbps half-duplex */ 424 #define MDIO_USXGMII_100FULL 0x1200 /* 100Mbps full-duplex */ 425 #define MDIO_USXGMII_1000 0x0400 /* 1000Mbps */ 426 #define MDIO_USXGMII_1000HALF 0x0400 /* 1000Mbps half-duplex */ 427 #define MDIO_USXGMII_1000FULL 0x1400 /* 1000Mbps full-duplex */ 431 #define MDIO_USXGMII_2500 0x0800 /* 2500Mbps */ [all …]
|
| D | ethtool.h | 80 * The link speed in Mbps is split between @speed and @speed_hi. Use 1766 #define SUPPORTED_2500baseX_Full __ETHTOOL_LINK_MODE_LEGACY_MASK(2500baseX_Full) 1806 #define ADVERTISED_2500baseX_Full __ETHTOOL_LINK_MODE_LEGACY_MASK(2500baseX_Full) 1839 #define SPEED_2500 2500 2047 * @speed: Link speed (Mbps)
|
| /Linux-v6.1/Documentation/networking/dsa/ |
| 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
|
| /Linux-v6.1/include/linux/ |
| 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.
|
| /Linux-v6.1/drivers/net/pcs/ |
| D | pcs-lynx.c | 255 /* 2500Base-X is SerDes protocol 7 on Felix and 6 on ENETC. It is a SerDes lane 267 * AN, we call this PHY interface type 2500Base-X. In case a PHY negotiates a 269 * 2500 Mbps and we do rate adaptation through pause frames. 278 dev_err(&pcs->dev, "AN not supported for 2500BaseX\n"); in lynx_pcs_link_up_2500basex()
|
| /Linux-v6.1/drivers/media/platform/renesas/rcar-vin/ |
| D | rcar-csi2.c | 142 u16 mbps; member 147 { .mbps = 1500, .reg = 0xcc }, 148 { .mbps = 1550, .reg = 0x1d }, 149 { .mbps = 1600, .reg = 0x27 }, 150 { .mbps = 1650, .reg = 0x30 }, 151 { .mbps = 1700, .reg = 0x39 }, 152 { .mbps = 1750, .reg = 0x42 }, 153 { .mbps = 1800, .reg = 0x4b }, 154 { .mbps = 1850, .reg = 0x55 }, 155 { .mbps = 1900, .reg = 0x5e }, [all …]
|
| /Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
| 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()
|
| /Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
| 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()
|
| 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()
|
| /Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/ |
| 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() 982 return self->link_status.mbps; in aq_nic_get_link_speed() 1104 if (self->link_status.mbps) in aq_nic_get_link_ksettings() 1121 2500baseT_Full); in aq_nic_get_link_ksettings() 1176 2500baseT_Full); in aq_nic_get_link_ksettings() [all …]
|
| 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() 1047 ptp_offset[__idx].mbps = (__mbps); \ 1073 ptp_offset_init(i, 2500, in aq_ptp_offset_init_from_fw() 1317 if (aq_nic->aq_hw->aq_link_status.mbps) in aq_ptp_link_change()
|
| /Linux-v6.1/drivers/phy/freescale/ |
| 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()
|
| /Linux-v6.1/drivers/phy/cadence/ |
| D | cdns-dphy-rx.c | 55 /* Rates are in Mbps. */ 66 { 1500, 1750 }, { 1750, 2000 }, { 2000, 2250 }, { 2250, 2500 }
|
| /Linux-v6.1/drivers/net/phy/ |
| D | phy-core.c | 23 return "10Mbps"; in phy_speed_to_str() 25 return "100Mbps"; in phy_speed_to_str() 236 PHY_SETTING( 2500, FULL, 2500baseT_Full ), 237 PHY_SETTING( 2500, FULL, 2500baseX_Full ),
|
| D | mxl-gpy.c | 444 /* Automatically switch SERDES interface between SGMII and 2500-BaseX in gpy_update_interface() 445 * according to speed. Disable ANEG in 2500-BaseX mode. in gpy_update_interface() 463 /* Enable and restart SGMII ANEG for 10/100/1000Mbps link speed in gpy_update_interface() 464 * if ANEG is disabled (in 2500-BaseX mode). in gpy_update_interface()
|
| /Linux-v6.1/drivers/net/ethernet/amd/xgbe/ |
| D | xgbe-mdio.c | 616 !XGBE_ADV(lks, 2500baseX_Full)) in xgbe_an73_incompat_link() 1017 XGBE_ADV(&lks, 2500baseX_Full)) in xgbe_an73_init() 1078 return "100Mbps"; in xgbe_phy_speed_string() 1531 else if (XGBE_ADV(lks, 2500baseX_Full)) in xgbe_phy_best_advertised_speed() 1533 else if (XGBE_ADV(lks, 2500baseT_Full)) in xgbe_phy_best_advertised_speed()
|
| /Linux-v6.1/net/bridge/ |
| D | br_if.c | 66 return 2500; in port_cost() 68 return 100; /* assume old 10Mbps */ in port_cost()
|
| /Linux-v6.1/drivers/eisa/ |
| D | eisa.ids | 168 CPQ0551 "Compaq ProLiant 2500 Server" 169 CPQ0552 "Compaq ProLiant 2500 System Board" 300 CPQ925F "ProLiant 2500 Dual Pentium Pro Processor Board" 555 HWP18E0 "HP 100Mbps EISA ATM Card"
|
| /Linux-v6.1/drivers/gpu/drm/kmb/ |
| D | kmb_dsi.c | 173 {.default_bit_rate_mbps = 2500, .hsfreqrange_code = 0x49} 1050 /* lane_rate_mbps <= 1000 Mbps in set_slewrate_lt_1000() 1300 * c2. slewrate calibration (if data rate < = 1500 Mbps): in mipi_tx_init_dphy() 1379 * to convert to Mbps in kmb_dsi_mode_set()
|
| /Linux-v6.1/drivers/thunderbolt/ |
| D | usb4.c | 1464 USB4_SB_OPCODE_RUN_HW_LANE_MARGINING, 2500); in usb4_port_hw_margin() 1505 USB4_SB_OPCODE_RUN_SW_LANE_MARGINING, 2500); in usb4_port_sw_margin() 1957 static u32 mbps_to_usb3_bw(unsigned int mbps, u8 scale) in mbps_to_usb3_bw() argument 1962 uframes = ((unsigned long)mbps * 1000 * 1000) / 8000; in mbps_to_usb3_bw()
|
| /Linux-v6.1/drivers/usb/dwc3/ |
| D | dwc3-qcom.c | 48 /* Interconnect path bandwidths in MBps */ 52 #define USB_MEMORY_PEAK_SS_BW MBps_to_icc(2500)
|
| /Linux-v6.1/drivers/media/dvb-frontends/ |
| D | stb0899_algo.c | 503 /* 5 10 20 30MBps */ in stb0899_dvbs_algo() 1315 searchTime = 2500; /* 2500 ms max time to lock UWP and CSM, 2Mbs < SYMB <= 5Mbs */ in stb0899_dvbs2_algo()
|