/linux-master/drivers/net/phy/ |
H A D | phy_led_triggers.c | 87 unsigned int speeds[50]; local 89 phy->phy_num_led_triggers = phy_supported_speeds(phy, speeds, 90 ARRAY_SIZE(speeds)); 117 speeds[i], 118 phy_speed_to_str(speeds[i]));
|
H A D | phy-core.c | 320 size_t phy_speeds(unsigned int *speeds, size_t size, argument 329 (count == 0 || speeds[count - 1] != settings[i].speed)) 330 speeds[count++] = settings[i].speed;
|
H A D | phy.c | 233 * phy_supported_speeds - return all speeds currently supported by a phy device 234 * @phy: The phy device to return supported speeds of. 235 * @speeds: buffer to store supported speeds in. 236 * @size: size of speeds buffer. 238 * Description: Returns the number of supported speeds, and fills the speeds 239 * buffer with the supported speeds. If speeds buffer is too small to contain 240 * all currently supported speeds, wil 242 phy_supported_speeds(struct phy_device *phy, unsigned int *speeds, unsigned int size) argument [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_common.h | 155 fw_port_cap32_t speeds, high_speeds; local 157 speeds = FW_PORT_CAP32_SPEED_V(FW_PORT_CAP32_SPEED_G(lc->pcaps)); 159 speeds & ~(FW_PORT_CAP32_SPEED_100M | FW_PORT_CAP32_SPEED_1G);
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | ethtool.sh | 55 # Check that when each of the reported speeds is forced, the links come 78 # Test that when we force different speeds, links are not up and ping 92 check_fail $? "ping with different speeds" 94 log_test "force of different speeds autoneg off" 182 # Test that when one device advertises a subset of speeds and another 191 log_test "advertise subset of speeds" 196 # Check only speeds that h1 advertised. Remove the first speed. 211 log_test "advertise subset of speeds" 221 # Test that when one device advertises a subset of speeds, the other 262 # Test that when we configure links to advertise different speeds, [all...] |
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_ct.c | 2784 u32 speeds = 0; local 2799 speeds |= HBA_PORTSPEED_256GFC; 2801 speeds |= HBA_PORTSPEED_128GFC; 2803 speeds |= HBA_PORTSPEED_64GFC; 2806 speeds |= HBA_PORTSPEED_256GFC; 2808 speeds |= HBA_PORTSPEED_128GFC; 2810 speeds |= HBA_PORTSPEED_64GFC; 2812 speeds |= HBA_PORTSPEED_32GFC; 2815 speeds |= HBA_PORTSPEED_256GFC; 2817 speeds | 2860 u32 speeds = 0; local [all...] |
/linux-master/drivers/cpufreq/ |
H A D | longhaul.c | 410 static const int speeds[] = { 666, 1000, 1333, 2000 }; local 413 for (i = 0; i < ARRAY_SIZE(speeds); i++) { 414 f_max = ((speeds[i] * mult) + 50) / 100; 418 return speeds[i] / 10;
|
/linux-master/drivers/net/usb/ |
H A D | cdc_ether.c | 397 static void speed_change(struct usbnet *dev, __le32 *speeds) argument 399 dev->tx_speed = __le32_to_cpu(speeds[0]); 400 dev->rx_speed = __le32_to_cpu(speeds[1]);
|
/linux-master/drivers/input/tablet/ |
H A D | aiptek.c | 1658 int speeds[] = { 0, local 1669 * delay is kept. We make it the first element of speeds[], 1674 speeds[0] = programmableDelay; 1819 for (i = 0; i < ARRAY_SIZE(speeds); ++i) { 1820 aiptek->curSetting.programmableDelay = speeds[i]; 1832 if (i == ARRAY_SIZE(speeds)) { 1834 "Aiptek tried all speeds, no sane response\n");
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_attr.c | 3354 qla2x00_get_host_supported_speeds(scsi_qla_host_t *vha, uint speeds) argument 3358 if (speeds & FDMI_PORT_SPEED_64GB) 3360 if (speeds & FDMI_PORT_SPEED_32GB) 3362 if (speeds & FDMI_PORT_SPEED_16GB) 3364 if (speeds & FDMI_PORT_SPEED_8GB) 3366 if (speeds & FDMI_PORT_SPEED_4GB) 3368 if (speeds & FDMI_PORT_SPEED_2GB) 3370 if (speeds & FDMI_PORT_SPEED_1GB) 3380 u32 speeds = 0, fdmi_speed = 0; local 3391 speeds [all...] |
H A D | qla_gs.c | 1507 uint speeds = 0; local 1514 speeds |= FDMI_PORT_SPEED_64GB; 1519 speeds |= FDMI_PORT_SPEED_32GB; 1525 speeds |= FDMI_PORT_SPEED_16GB; 1530 speeds |= FDMI_PORT_SPEED_8GB; 1534 speeds |= FDMI_PORT_SPEED_4GB; 1536 return speeds; 1542 speeds = FDMI_PORT_SPEED_16GB; 1544 speeds = FDMI_PORT_SPEED_16GB|FDMI_PORT_SPEED_8GB| 1547 return speeds; [all...] |
H A D | qla_def.h | 3262 __be16 speeds; member in struct:ct_sns_rsp::__anon206::__anon214
|
/linux-master/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_sriov.c | 859 static const u32 speeds[] = { local 892 if (max_tx_rate < 0 || max_tx_rate > speeds[port_cap.speed]) { 894 speeds[port_cap.speed]);
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 2297 const u16 *speeds; local 2303 speeds = bnxt_nrz_speeds2_masks; 2306 speeds = bnxt_nrz_speed_masks; 2312 speeds = bnxt_pam4_speeds2_masks; 2315 speeds = bnxt_pam4_speed_masks; 2320 speeds = bnxt_pam4_112_speeds2_masks; 2328 if (speeds[idx] == speed_msk) 2368 /* list speeds for all media if unknown */ 2439 static void bnxt_update_speed(u32 *delta, bool installed_media, u16 *speeds, argument 2448 /* enabled speeds fo [all...] |
/linux-master/drivers/pinctrl/stm32/ |
H A D | pinctrl-stm32.c | 1194 static const char * const speeds[] = { local 1235 speeds[speed], "speed"); 1250 speeds[speed], "speed");
|
/linux-master/include/linux/ |
H A D | phy.h | 209 * phy_supported_speeds - return all speeds currently supported by a PHY device 212 unsigned int *speeds, 951 * then that interface's rate can be adapted to all slower link speeds 1246 size_t phy_speeds(unsigned int *speeds, size_t size,
|
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_fcs_rport.c | 2222 struct fc_rpsc_speed_info_s speeds; local 2229 speeds.port_speed_cap = 2238 speeds.port_op_speed = fc_bfa_speed_to_rpsc_operspeed(pport_attr.speed); 2246 rx_fchs->ox_id, &speeds);
|
/linux-master/drivers/net/ethernet/natsemi/ |
H A D | ns83820.c | 601 static const char *speeds[] = { "10", "100", "1000", "1000(?)", "1000F" }; local 696 speeds[speed],
|
/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_if.h | 2683 * @speeds: supported speeds 2697 __le32 speeds[16]; member in struct:ionic_port_identity::__anon1816
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 5640 unsigned int speeds, high_speeds; local 5642 speeds = FW_PORT_CAP32_SPEED_V(FW_PORT_CAP32_SPEED_G(lc->pcaps)); 5643 high_speeds = speeds &
|