Home
last modified time | relevance | path

Searched full:speed (Results 1 – 25 of 2062) sorted by relevance

12345678910>>...83

/linux/tools/testing/selftests/drivers/net/hw/
H A Dethtool.sh60 for speed in "${speeds_arr[@]}"; do
62 ethtool_set $h1 speed $speed autoneg off
63 ethtool_set $h2 speed $speed autoneg off
68 check_err $? "ping with speed $speed autoneg off"
69 log_test "force speed $speed on both ends"
86 ethtool_set $h1 speed $speed1 autoneg off
87 ethtool_set $h2 speed $speed2 autoneg off
102 # Test that when one device is forced to a speed supported by both
107 for speed in "${speeds_arr[@]}"; do
109 ethtool_set $h1 speed $speed autoneg off
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/lan969x/
H A Dlan969x_calendar.c20 /* Each entry in the following struct defines properties for a given speed
24 /* Number of devices that requires this speed. */
27 /* Array of devices that requires this speed. */
30 /* Number of slots required for one device running this speed. */
33 /* Gap between two slots for one device running this speed. */
61 static enum lan969x_dsm_cal_dev lan969x_dsm_cal_get_dev(int speed) in lan969x_dsm_cal_get_dev() argument
63 return (speed == 10000 ? DSM_CAL_DEV_10G : in lan969x_dsm_cal_get_dev()
64 speed == 5000 ? DSM_CAL_DEV_5G : in lan969x_dsm_cal_get_dev()
65 speed == 2500 ? DSM_CAL_DEV_2G5 : in lan969x_dsm_cal_get_dev()
82 struct lan969x_dsm_cal_dev_speed *speed; in lan969x_dsm_calendar_calc() local
[all …]
/linux/drivers/mtd/tests/
H A Dspeedtest.c5 * Test read and write speed of a MTD device.
176 long speed; in mtd_speedtest_init() local
244 pr_info("testing eraseblock write speed\n"); in mtd_speedtest_init()
258 speed = calc_speed(); in mtd_speedtest_init()
259 pr_info("eraseblock write speed is %ld KiB/s\n", speed); in mtd_speedtest_init()
262 pr_info("testing eraseblock read speed\n"); in mtd_speedtest_init()
276 speed = calc_speed(); in mtd_speedtest_init()
277 pr_info("eraseblock read speed is %ld KiB/s\n", speed); in mtd_speedtest_init()
284 pr_info("testing page write speed\n"); in mtd_speedtest_init()
298 speed = calc_speed(); in mtd_speedtest_init()
[all …]
/linux/drivers/platform/x86/
H A Dgpd-pocket-fan.c33 "Millicelsius values above which the fan speed increases");
38 "Hysteresis in millicelsius before lowering the fan speed");
43 "minimum fan speed to allow when system is powered by AC");
55 static void gpd_pocket_fan_set_speed(struct gpd_pocket_fan_data *fan, int speed) in gpd_pocket_fan_set_speed() argument
57 if (speed == fan->last_speed) in gpd_pocket_fan_set_speed()
60 gpiod_direction_output(fan->gpio0, !!(speed & 1)); in gpd_pocket_fan_set_speed()
61 gpiod_direction_output(fan->gpio1, !!(speed & 2)); in gpd_pocket_fan_set_speed()
63 fan->last_speed = speed; in gpd_pocket_fan_set_speed()
78 int t0, t1, temp, speed, min_speed, i; in gpd_pocket_fan_worker() local
83 speed = MAX_SPEED; in gpd_pocket_fan_worker()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
H A Dpcie.c33 nvkm_pcie_speed(enum pci_bus_speed speed) in nvkm_pcie_speed() argument
35 switch (speed) { in nvkm_pcie_speed()
44 if (speed == 0x17) in nvkm_pcie_speed()
83 nvkm_debug(&pci->subdev, "pcie max speed: %s\n", in nvkm_pcie_oneinit()
108 if (pci->pcie.speed != -1) in nvkm_pcie_init()
109 nvkm_pcie_set_link(pci, pci->pcie.speed, pci->pcie.width); in nvkm_pcie_init()
115 nvkm_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) in nvkm_pcie_set_link() argument
128 nvkm_trace(subdev, "requested %s\n", nvkm_pcie_speeds[speed]); in nvkm_pcie_set_link()
139 nvkm_trace(subdev, "current speed: %s\n", nvkm_pcie_speeds[cur_speed]); in nvkm_pcie_set_link()
141 if (speed > max_speed) { in nvkm_pcie_set_link()
[all …]
/linux/tools/usb/usbip/libsrc/
H A Dusbip_device_driver.c33 enum usb_device_speed speed; member
37 .speed = USB_SPEED_UNKNOWN,
41 .speed = USB_SPEED_LOW,
42 .name = "low-speed",
45 .speed = USB_SPEED_FULL,
46 .name = "full-speed",
49 .speed = USB_SPEED_HIGH,
50 .name = "high-speed",
53 .speed = USB_SPEED_WIRELESS,
57 .speed
71 const char *speed; read_usb_vudc_device() local
[all...]
H A Dusbip_common.c21 char *speed; member
26 { USB_SPEED_UNKNOWN, "unknown", "Unknown Speed"},
27 { USB_SPEED_LOW, "1.5", "Low Speed(1.5Mbps)" },
28 { USB_SPEED_FULL, "12", "Full Speed(12Mbps)" },
29 { USB_SPEED_HIGH, "480", "High Speed(480Mbps)" },
31 { USB_SPEED_SUPER, "5000", "Super Speed(5000Mbps)" },
62 for (int i = 0; speed_strings[i].speed != NULL; i++) in usbip_speed_string()
66 return "Unknown Speed"; in usbip_speed_string()
133 dbg("%-20s = %s", "speed", in dump_usb_device()
134 usbip_speed_string(udev->speed)); in dump_usb_device()
[all …]
/linux/Documentation/hwmon/
H A Dg762.rst4 The GMT G762 Fan Speed PWM Controller is connected directly to a fan
5 and performs closed-loop or open-loop control of the fan speed. Two
25 set desired fan speed. This only makes sense in closed-loop
26 fan speed control (i.e. when pwm1_enable is set to 2).
49 set current fan speed control mode i.e. 1 for manual fan
50 speed control (open-loop) via pwm1 described below, 2 for
51 automatic fan speed control (closed-loop) via fan1_target
60 it run at full speed.
63 when current fan speed control mode is open-loop ('pwm1_enable' set to 1),
64 the fan speed is programmed by setting a value between 0 and 255 via 'pwm1'
[all …]
H A Dnct6775.rst106 There are 4 to 5 fan rotation speed sensors, 8 to 15 analog voltage sensors,
120 triggered if the rotation speed has dropped below a programmable limit. On
123 do not have a fan speed divider. The driver sets the most suitable fan divisor
124 itself; specifically, it increases the divider value each time a fan speed
125 reading returns an invalid value, and it reduces it if the fan speed reading
144 - this file stores PWM duty cycle or DC value (fan speed) in range:
146 0 (lowest speed) to 255 (full)
151 * 0 Fan control disabled (fans set to maximum speed)
154 * 3 "Fan Speed Cruise" mode
206 There are no changes to fan speed. Once the temperature leaves the interval, fan
[all …]
H A Dg760a.rst19 The GMT G760A Fan Speed PWM Controller is connected directly to a fan
20 and performs closed-loop control of the fan speed.
22 The fan speed is programmed by setting the period via 'pwm1' of two
23 consecutive speed pulses. The period is defined in terms of clock
27 fan to maximum speed.
29 The measured fan rotation speed returned via 'fan1_input' is derived
30 from the measured speed pulse period by assuming again a 32kHz clock
35 speed differs more than 20% with respect to the programmed fan speed;
36 bit 1 is set when fan speed is below 1920 RPM.
H A Dadm9240.rst57 high speed successive approximation ADC allows frequent sampling of all
76 with independent fan speed measurement cycles counting alternating rising
79 DS1780 measurement cycle is about once per second including fan speed.
81 LM81 measurement cycle is about once per 400ms including fan speed.
93 Fan Speed
96 clock via a divider to an 8-bit counter. Fan speed (rpm) is calculated by:
104 - low speed alarm is disabled
106 - auto fan clock adjuster enabled for valid fan speed reading
110 - low speed alarm is enabled
114 - low speed alarm will be asserted if fan speed is
[all …]
H A Ddme1737.rst178 manual mode, the fan speed is set by writing the duty-cycle value to the
198 pwm[1-3]_auto_point2_pwm full-speed duty-cycle (255, i.e., 100%)
199 pwm[1-3]_auto_point1_pwm low-speed duty-cycle
200 pwm[1-3]_auto_pwm_min min-speed duty-cycle
202 zone[1-3]_auto_point3_temp full-speed temp (all outputs)
203 zone[1-3]_auto_point2_temp full-speed temp
204 zone[1-3]_auto_point1_temp low-speed temp
205 zone[1-3]_auto_point1_temp_hyst min-speed temp
213 fan either turns completely off or keeps spinning with the low-speed
224 full-speed full-speed full-speed
[all …]
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_aml.c122 static int txgbe_set_phy_link_hostif(struct wx *wx, int speed, int autoneg, int duplex) in txgbe_set_phy_link_hostif() argument
131 switch (speed) { in txgbe_set_phy_link_hostif()
133 buffer.speed = TXGBE_LINK_SPEED_40GB_FULL; in txgbe_set_phy_link_hostif()
136 buffer.speed = TXGBE_LINK_SPEED_25GB_FULL; in txgbe_set_phy_link_hostif()
139 buffer.speed = TXGBE_LINK_SPEED_10GB_FULL; in txgbe_set_phy_link_hostif()
142 buffer.speed = TXGBE_LINK_SPEED_UNKNOWN; in txgbe_set_phy_link_hostif()
154 static void txgbe_get_link_capabilities(struct wx *wx, int *speed, in txgbe_get_link_capabilities() argument
160 *speed = SPEED_40000; in txgbe_get_link_capabilities()
162 *speed = SPEED_25000; in txgbe_get_link_capabilities()
164 *speed = SPEED_10000; in txgbe_get_link_capabilities()
[all …]
/linux/include/dt-bindings/pinctrl/
H A Dk210-fpioa.h32 #define K210_PCF_UARTHS_RX 18 /* UART High speed Receiver */
33 #define K210_PCF_UARTHS_TX 19 /* UART High speed Transmitter */
38 #define K210_PCF_GPIOHS0 24 /* GPIO High speed 0 */
39 #define K210_PCF_GPIOHS1 25 /* GPIO High speed 1 */
40 #define K210_PCF_GPIOHS2 26 /* GPIO High speed 2 */
41 #define K210_PCF_GPIOHS3 27 /* GPIO High speed 3 */
42 #define K210_PCF_GPIOHS4 28 /* GPIO High speed 4 */
43 #define K210_PCF_GPIOHS5 29 /* GPIO High speed 5 */
44 #define K210_PCF_GPIOHS6 30 /* GPIO High speed 6 */
45 #define K210_PCF_GPIOHS7 31 /* GPIO High speed 7 */
[all …]
/linux/tools/power/cpupower/utils/helpers/
H A Dmisc.c279 void print_speed(unsigned long speed, int no_rounding) in print_speed() argument
284 if (speed > 1000000) in print_speed()
285 printf("%u.%06u GHz", ((unsigned int)speed / 1000000), in print_speed()
286 ((unsigned int)speed % 1000000)); in print_speed()
287 else if (speed > 1000) in print_speed()
288 printf("%u.%03u MHz", ((unsigned int)speed / 1000), in print_speed()
289 (unsigned int)(speed % 1000)); in print_speed()
291 printf("%lu kHz", speed); in print_speed()
293 if (speed > 1000000) { in print_speed()
294 tmp = speed % 10000; in print_speed()
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Dusb.yaml40 serial is specified and High-Speed Inter-Chip feature if HSIC is
46 maximum-speed:
48 Tells USB controllers we want to work up to a certain speed. In case this
53 - low-speed
54 - full-speed
55 - high-speed
56 - super-speed
57 - super-speed-plus
58 - super-speed-plus-gen2x1
59 - super-speed-plus-gen1x2
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-pci-drivers-ehci_hcd7 PCI-based EHCI USB controllers (i.e., high-speed USB-2.0
9 "companion" full/low-speed USB-1.1 controllers. When a
10 high-speed device is plugged in, the connection is routed
11 to the EHCI controller; when a full- or low-speed device
15 Sometimes you want to force a high-speed device to connect
16 at full speed, which can be accomplished by forcing the
23 For example: To force the high-speed device attached to
24 port 4 on bus 2 to run at full speed::
28 To return the port to high-speed operation::
39 cannot be used to force a port on a high-speed hub to
[all …]
H A Dsysfs-class-led-trigger-netdev83 Signal the link speed state of 10Mbps of the named network device.
88 speed of 10MBps of the named network device.
91 Present only if the named network device supports 10Mbps link speed.
98 Signal the link speed state of 100Mbps of the named network device.
103 speed of 100Mbps of the named network device.
106 Present only if the named network device supports 100Mbps link speed.
113 Signal the link speed state of 1000Mbps of the named network device.
118 speed of 1000Mbps of the named network device.
121 Present only if the named network device supports 1000Mbps link speed.
128 Signal the link speed state of 2500Mbps of the named network device.
[all …]
/linux/Documentation/usb/
H A Dehci.rst7 The EHCI driver is used to talk to high speed USB 2.0 devices using
11 - "High Speed" 480 Mbit/sec (60 MByte/sec)
12 - "Full Speed" 12 Mbit/sec (1.5 MByte/sec)
13 - "Low Speed" 1.5 Mbit/sec
15 USB 1.1 only addressed full speed and low speed. High speed devices
23 (TT) in the hub, which turns low or full speed transactions into
24 high speed "split transactions" that don't waste transfer bandwidth.
33 been available since late 2001, and other kinds of high speed devices
62 High Speed Isochronous (ISO) transfer support is also functional, but
65 Full Speed Isochronous transfer support, through transaction translators,
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dport.c1062 /* speed in units of 1Mb */
1064 [MLX5E_1000BASE_CX_SGMII] = {.speed = 1000, .lanes = 1},
1065 [MLX5E_1000BASE_KX] = {.speed = 1000, .lanes = 1},
1066 [MLX5E_10GBASE_CX4] = {.speed = 10000, .lanes = 4},
1067 [MLX5E_10GBASE_KX4] = {.speed = 10000, .lanes = 4},
1068 [MLX5E_10GBASE_KR] = {.speed = 10000, .lanes = 1},
1069 [MLX5E_20GBASE_KR2] = {.speed = 20000, .lanes = 2},
1070 [MLX5E_40GBASE_CR4] = {.speed = 40000, .lanes = 4},
1071 [MLX5E_40GBASE_KR4] = {.speed = 40000, .lanes = 4},
1072 [MLX5E_56GBASE_R4] = {.speed = 56000, .lanes = 4},
[all …]
/linux/tools/testing/selftests/drivers/net/hw/lib/py/
H A Dlinkconfig.py
/linux/drivers/net/phy/
H A Dswphy.c38 * This means the speed table must contain both duplex settings, and the
39 * duplex table must contain all speed settings.
41 static const struct swmii_regs speed[] = { variable
71 static int swphy_decode_speed(int speed) in swphy_decode_speed() argument
73 switch (speed) { in swphy_decode_speed()
98 err = swphy_decode_speed(state->speed); in swphy_validate_state()
100 pr_warn("swphy: unknown speed\n"); in swphy_validate_state()
126 speed_index = swphy_decode_speed(state->speed); in swphy_read_reg()
132 bmsr |= speed[speed_index].bmsr & duplex[duplex_index].bmsr; in swphy_read_reg()
133 estat |= speed[speed_index].estat & duplex[duplex_index].estat; in swphy_read_reg()
[all …]
/linux/drivers/tty/
H A Dtty_baudrate.c50 * Convert termios baud rate data into a speed. This should be called
53 * ->c_[io]speed directly as they are updated.
64 /* Magic token for arbitrary speed via c_ispeed/c_ospeed */ in tty_termios_baud_rate()
80 * Convert termios baud rate data into a speed. This should be called
83 * ->c_[io]speed directly as they are updated.
95 /* Magic token for arbitrary speed via c_ispeed */ in tty_termios_input_baud_rate()
110 * @ibaud: input speed
111 * @obaud: output speed
115 * the actual speed selected when it differs from the speed requested
119 * desired speed. We allow small margins and preserve as much of possible
[all …]
/linux/drivers/w1/slaves/
H A Dw1_ds28e17.c32 /* Default I2C speed to be set when a DS28E17 is detected. */
34 module_param_named(speed, i2c_speed, int, 0600);
35 MODULE_PARM_DESC(speed, "Default I2C speed to be set when a DS28E17 is detected");
78 u8 speed; member
98 * the I2C bytes at the given speed to be transferred. in w1_f19_i2c_busy_wait()
100 usleep_range(timebases[data->speed] * (data->stretch) * count, in w1_f19_i2c_busy_wait()
101 timebases[data->speed] * (data->stretch) * count in w1_f19_i2c_busy_wait()
112 udelay(timebases[data->speed]); in w1_f19_i2c_busy_wait()
499 /* Read I2C speed from DS28E17. */
520 /* Update speed in slave specific data. */ in w1_f19_get_i2c_speed()
[all …]
/linux/drivers/usb/gadget/function/
H A Du_uvc.h36 * Control descriptors array pointers for full-/high-speed and
37 * super-speed. They point by default to the uvc_fs_control_cls and
45 * Streaming descriptors array pointers for full-speed, high-speed and
46 * super-speed. They will point to the uvc_[fhs]s_streaming_cls arrays
60 * Control descriptors pointers arrays for full-/high-speed and
61 * super-speed. The first element is a configurable control header
76 * Streaming descriptors for full-speed, high-speed and super-speed.

12345678910>>...83