Home
last modified time | relevance | path

Searched +full:2500 +full:mbps (Results 1 – 25 of 69) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
Dport.c189 case 2500: in mv88e6xxx_port_set_speed_duplex()
242 dev_dbg(chip->dev, "p%d: Speed set to %d Mbps\n", port, speed); in mv88e6xxx_port_set_speed_duplex()
252 /* Support 10, 100, 200 Mbps (e.g. 88E6065 family) */
262 /* Setting 200 Mbps on port 0 to 3 selects 100 Mbps */ in mv88e6065_port_set_speed_duplex()
267 /* Support 10, 100, 1000 Mbps (e.g. 88E6185 family) */
281 /* Support 10, 100 Mbps (e.g. 88E6250 family) */
295 /* Support 10, 100, 200, 1000, 2500 Mbps (e.g. 88E6341) */
300 speed = port < 5 ? 1000 : 2500; in mv88e6341_port_set_speed_duplex()
302 if (speed > 2500) in mv88e6341_port_set_speed_duplex()
308 if (speed == 2500 && port < 5) in mv88e6341_port_set_speed_duplex()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dphy-ocelot-serdes.txt12 There are two kinds of SerDes: SERDES1G supports 10/100Mbps in
13 half/full-duplex and 1000Mbps in full-duplex mode while SERDES6G supports
14 10/100Mbps in half/full-duplex and 1000/2500Mbps in full-duplex mode.
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/
Dmscc,vsc7514-serdes.yaml22 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.
/kernel/linux/linux-5.10/include/uapi/linux/
Dmdio.h333 #define MDIO_USXGMII_10 0x0000 /* 10Mbps */
334 #define MDIO_USXGMII_10HALF 0x0000 /* 10Mbps half-duplex */
335 #define MDIO_USXGMII_10FULL 0x1000 /* 10Mbps full-duplex */
336 #define MDIO_USXGMII_100 0x0200 /* 100Mbps */
337 #define MDIO_USXGMII_100HALF 0x0200 /* 100Mbps half-duplex */
338 #define MDIO_USXGMII_100FULL 0x1200 /* 100Mbps full-duplex */
339 #define MDIO_USXGMII_1000 0x0400 /* 1000Mbps */
340 #define MDIO_USXGMII_1000HALF 0x0400 /* 1000Mbps half-duplex */
341 #define MDIO_USXGMII_1000FULL 0x1400 /* 1000Mbps full-duplex */
345 #define MDIO_USXGMII_2500 0x0800 /* 2500Mbps */
[all …]
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/
Dport.c243 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 …]
/kernel/linux/linux-6.6/include/uapi/linux/
Dmdio.h467 #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 …]
/kernel/linux/linux-6.6/Documentation/networking/dsa/
Dsja1105.rst370 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
/kernel/linux/linux-6.6/include/linux/
Dmii.h553 * 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.
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dmotorcomm,yt8xxx.yaml26 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.
/kernel/linux/linux-5.10/drivers/net/pcs/
Dpcs-lynx.c228 /* 2500Base-X is SerDes protocol 7 on Felix and 6 on ENETC. It is a SerDes lane
240 * AN, we call this PHY interface type 2500Base-X. In case a PHY negotiates a
242 * 2500 Mbps and we do rate adaptation through pause frames.
253 dev_err(&pcs->dev, "AN not supported for 2500BaseX\n"); in lynx_pcs_link_up_2500basex()
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rcar-vin/
Drcar-csi2.c226 …{ .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 …]
/kernel/linux/linux-6.6/drivers/net/pcs/
Dpcs-lynx.c249 /* 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()
Dpcs-mtk-lynxi.c122 * other words, 1000Mbps or 2500Mbps). in mtk_pcs_lynxi_config()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2_utils_fw.c293 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()
/kernel/linux/linux-5.10/drivers/phy/freescale/
Dphy-fsl-imx8-mipi-dphy.c36 #define MBPS(x) ((x) * 1000000) macro
38 #define DATA_RATE_MAX_SPEED MBPS(1500)
39 #define DATA_RATE_MIN_SPEED MBPS(80)
251 n = (34 * (dphy_opts->hs_clk_rate / 1000000) - 2500) / 1000; in mixel_dphy_config_from_opts()
264 if (dphy_opts->hs_clk_rate < MBPS(80)) in mixel_dphy_config_from_opts()
266 else if (dphy_opts->hs_clk_rate < MBPS(90)) in mixel_dphy_config_from_opts()
268 else if (dphy_opts->hs_clk_rate < MBPS(125)) in mixel_dphy_config_from_opts()
270 else if (dphy_opts->hs_clk_rate < MBPS(150)) in mixel_dphy_config_from_opts()
272 else if (dphy_opts->hs_clk_rate < MBPS(225)) in mixel_dphy_config_from_opts()
274 else if (dphy_opts->hs_clk_rate < MBPS(500)) in mixel_dphy_config_from_opts()
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2_utils_fw.c293 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.c709 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()
Dhw_atl_utils_fw2x.c260 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.c709 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()
Dhw_atl_utils_fw2x.c260 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_nic.c168 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()
840 return self->link_status.mbps; in aq_nic_get_link_speed()
962 if (self->link_status.mbps) in aq_nic_get_link_ksettings()
979 2500baseT_Full); in aq_nic_get_link_ksettings()
1034 2500baseT_Full); in aq_nic_get_link_ksettings()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/
Daq_nic.c168 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()
989 return self->link_status.mbps; in aq_nic_get_link_speed()
1111 if (self->link_status.mbps) in aq_nic_get_link_ksettings()
1128 2500baseT_Full); in aq_nic_get_link_ksettings()
1183 2500baseT_Full); in aq_nic_get_link_ksettings()
[all …]
/kernel/linux/linux-6.6/drivers/phy/freescale/
Dphy-fsl-imx8-mipi-dphy.c52 #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()
/kernel/linux/linux-5.10/drivers/net/phy/
Dphy-core.c23 return "10Mbps"; in phy_speed_to_str()
25 return "100Mbps"; in phy_speed_to_str()
161 PHY_SETTING( 2500, FULL, 2500baseT_Full ),
162 PHY_SETTING( 2500, FULL, 2500baseX_Full ),
/kernel/linux/linux-6.6/drivers/phy/cadence/
Dcdns-dphy-rx.c61 /* Rates are in Mbps. */
76 { 1500, 1750 }, { 1750, 2000 }, { 2000, 2250 }, { 2250, 2500 }

123