Home
last modified time | relevance | path

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

12345678910>>...133

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_sriov.c45 * @adv_link_support: determines the format of the returned link speed
48 * Convert link speed supported by HW to link speed supported by virtchnl.
49 * If adv_link_support is true, then return link speed in Mbps. Else return
50 * link speed as a VIRTCHNL_LINK_SPEED_* casted to a u32. Note that the caller
53 * expect the speed in Mbps.
57 u32 speed; in ice_conv_link_speed_to_virtchnl() local
62 speed = ICE_LINK_SPEED_10MBPS; in ice_conv_link_speed_to_virtchnl()
65 speed = ICE_LINK_SPEED_100MBPS; in ice_conv_link_speed_to_virtchnl()
68 speed = ICE_LINK_SPEED_1000MBPS; in ice_conv_link_speed_to_virtchnl()
71 speed = ICE_LINK_SPEED_2500MBPS; in ice_conv_link_speed_to_virtchnl()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dethtool.sh59 for speed in "${speeds_arr[@]}"; do
61 ethtool_set $h1 speed $speed autoneg off
62 ethtool_set $h2 speed $speed autoneg off
67 check_err $? "speed $speed autoneg off"
68 log_test "force of same speed autoneg off"
69 log_info "speed = $speed"
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
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
Dgk104.c33 gk104_pcie_set_cap_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_cap_speed() argument
37 switch (speed) { in gk104_pcie_set_cap_speed()
56 int speed = gf100_pcie_cap_speed(pci); in gk104_pcie_cap_speed() local
58 if (speed == 0) in gk104_pcie_cap_speed()
61 if (speed >= 1) { in gk104_pcie_cap_speed()
78 gk104_pcie_set_lnkctl_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_lnkctl_speed() argument
81 switch (speed) { in gk104_pcie_set_lnkctl_speed()
127 gk104_pcie_set_link_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_link_speed() argument
132 switch (speed) { in gk104_pcie_set_link_speed()
163 nvkm_trace(subdev, "adjusting cap to max speed\n"); in gk104_pcie_init()
[all …]
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
129 nvkm_trace(subdev, "requested %s\n", nvkm_pcie_speeds[speed]); in nvkm_pcie_set_link()
140 nvkm_trace(subdev, "current speed: %s\n", nvkm_pcie_speeds[cur_speed]); in nvkm_pcie_set_link()
142 if (speed > max_speed) { in nvkm_pcie_set_link()
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/pm/
Dintel-speed-select.rst4 Intel(R) Speed Select Technology User Guide
7 The Intel(R) Speed Select Technology (Intel(R) SST) provides a powerful new
14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic…
15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha…
21 and configure these features is by using the Intel Speed Select utility.
23 This document explains how to use the Intel Speed Select tool to enumerate and
29 intel-speed-select configuration tool
32 Most Linux distribution packages may include the "intel-speed-select" tool. If not,
38 # cd tools/power/x86/intel-speed-select/
47 # intel-speed-select --help
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c33 void (*set_rgmii_speed)(struct rk_priv_data *bsp_priv, int speed);
34 void (*set_rmii_speed)(struct rk_priv_data *bsp_priv, int speed);
99 static void px30_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in px30_set_rmii_speed() argument
109 if (speed == 10) { in px30_set_rmii_speed()
117 } else if (speed == 100) { in px30_set_rmii_speed()
127 dev_err(dev, "unknown speed value for RMII! speed=%d", speed); in px30_set_rmii_speed()
196 static void rk3128_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3128_set_rgmii_speed() argument
205 if (speed == 10) in rk3128_set_rgmii_speed()
208 else if (speed == 100) in rk3128_set_rgmii_speed()
211 else if (speed == 1000) in rk3128_set_rgmii_speed()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/tests/
Dspeedtest.c5 * Test read and write speed of a MTD device.
177 long speed; in mtd_speedtest_init() local
245 pr_info("testing eraseblock write speed\n"); in mtd_speedtest_init()
259 speed = calc_speed(); in mtd_speedtest_init()
260 pr_info("eraseblock write speed is %ld KiB/s\n", speed); in mtd_speedtest_init()
263 pr_info("testing eraseblock read speed\n"); in mtd_speedtest_init()
277 speed = calc_speed(); in mtd_speedtest_init()
278 pr_info("eraseblock read speed is %ld KiB/s\n", speed); in mtd_speedtest_init()
285 pr_info("testing page write speed\n"); in mtd_speedtest_init()
299 speed = calc_speed(); in mtd_speedtest_init()
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dgpd-pocket-fan.c32 "Millicelsius values above which the fan speed increases");
37 "Hysteresis in millicelsius before lowering the fan speed");
42 "minimum fan speed to allow when system is powered by AC");
54 static void gpd_pocket_fan_set_speed(struct gpd_pocket_fan_data *fan, int speed) in gpd_pocket_fan_set_speed() argument
56 if (speed == fan->last_speed) in gpd_pocket_fan_set_speed()
59 gpiod_direction_output(fan->gpio0, !!(speed & 1)); in gpd_pocket_fan_set_speed()
60 gpiod_direction_output(fan->gpio1, !!(speed & 2)); in gpd_pocket_fan_set_speed()
62 fan->last_speed = speed; in gpd_pocket_fan_set_speed()
77 int t0, t1, temp, speed, min_speed, i; in gpd_pocket_fan_worker() local
82 speed = MAX_SPEED; in gpd_pocket_fan_worker()
[all …]
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/
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 = USB_SPEED_SUPER,
[all …]
/kernel/linux/linux-5.10/Documentation/hwmon/
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 …]
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.
Dnct6775.rst100 There are 4 to 5 fan rotation speed sensors, 8 to 15 analog voltage sensors,
114 triggered if the rotation speed has dropped below a programmable limit. On
117 do not have a fan speed divider. The driver sets the most suitable fan divisor
118 itself; specifically, it increases the divider value each time a fan speed
119 reading returns an invalid value, and it reduces it if the fan speed reading
138 - this file stores PWM duty cycle or DC value (fan speed) in range:
140 0 (lowest speed) to 255 (full)
145 * 0 Fan control disabled (fans set to maximum speed)
148 * 3 "Fan Speed Cruise" mode
200 There are no changes to fan speed. Once the temperature leaves the interval, fan
[all …]
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 …]
/kernel/linux/linux-5.10/drivers/usb/common/
Dcommon.c70 [USB_SPEED_LOW] = "low-speed",
71 [USB_SPEED_FULL] = "full-speed",
72 [USB_SPEED_HIGH] = "high-speed",
74 [USB_SPEED_SUPER] = "super-speed",
75 [USB_SPEED_SUPER_PLUS] = "super-speed-plus",
80 [USB_SSP_GEN_2x1] = "super-speed-plus-gen2x1",
81 [USB_SSP_GEN_1x2] = "super-speed-plus-gen1x2",
82 [USB_SSP_GEN_2x2] = "super-speed-plus-gen2x2",
86 * usb_speed_string() - Returns human readable-name of the speed.
87 * @speed: The speed to return human-readable name for. If it's not
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
Dprestera_ethtool.c23 u32 speed; member
30 .speed = 10,
37 .speed = 10,
44 .speed = 100,
51 .speed = 100,
58 .speed = 1000,
65 .speed = 1000,
72 .speed = 1000,
79 .speed = 1000,
86 .speed = 2500,
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
DKconfig39 full speed USB Device Port with support for five configurable
62 USBA is the integrated high-speed USB Device controller on
85 high speed USB Device Port with support for four fixed endpoints
95 Some of Freescale PowerPC and i.MX processors have a High Speed
116 high speed or full speed USB device. This driver supppors
135 speed USB device controllers, with support for up to 30
150 an integrated full speed USB 1.1 device controller. The
175 supports both full and high speed USB 2.0 data transfers.
187 that supports both full and high speed USB 2.0 data transfers.
201 that supports super, high, and full speed USB 3.0 data transfers.
[all …]
/kernel/linux/linux-5.10/drivers/usb/misc/
Dtrancevibrator.c30 unsigned int speed; member
39 return sprintf(buf, "%d\n", tv->speed); in speed_show()
56 old = tv->speed; in speed_store()
57 tv->speed = temp; in speed_store()
59 dev_dbg(&tv->udev->dev, "speed = %d\n", tv->speed); in speed_store()
61 /* Set speed */ in speed_store()
63 0x01, /* vendor request: set speed */ in speed_store()
65 tv->speed, /* speed value */ in speed_store()
68 tv->speed = old; in speed_store()
74 static DEVICE_ATTR_RW(speed);
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
Dport.c63 * For port's MAC speed, ForceSpd (or SpdValue) bits 1:0 program the value.
166 int port, int speed, bool alt_bit, in mv88e6xxx_port_set_speed_duplex() argument
172 switch (speed) { in mv88e6xxx_port_set_speed_duplex()
232 if (speed != SPEED_UNFORCED) in mv88e6xxx_port_set_speed_duplex()
241 if (speed) 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()
244 dev_dbg(chip->dev, "p%d: Speed unforced\n", port); in mv88e6xxx_port_set_speed_duplex()
254 int speed, int duplex) in mv88e6065_port_set_speed_duplex() argument
256 if (speed == SPEED_MAX) in mv88e6065_port_set_speed_duplex()
257 speed = 200; in mv88e6065_port_set_speed_duplex()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_thermal.c55 uint32_t *speed) in smu7_fan_ctrl_get_fan_speed_percent() argument
75 *speed = (uint32_t)tmp64; in smu7_fan_ctrl_get_fan_speed_percent()
77 if (*speed > 100) in smu7_fan_ctrl_get_fan_speed_percent()
78 *speed = 100; in smu7_fan_ctrl_get_fan_speed_percent()
83 int smu7_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t *speed) in smu7_fan_ctrl_get_fan_speed_rpm() argument
100 *speed = 60 * crystal_clock_freq * 10000 / tach_period; in smu7_fan_ctrl_get_fan_speed_rpm()
106 * Set Fan Speed Control to static mode, so that the user can decide what speed to use.
132 * Reset Fan Speed Control to default mode.
191 * Set Fan Speed in percent.
193 * @param speed is the percentage value (0% - 100%) to be set.
[all …]
/kernel/linux/linux-5.10/Documentation/usb/
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 …]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Du_uvc.h32 * Control descriptors array pointers for full-/high-speed and
33 * super-speed. They point by default to the uvc_fs_control_cls and
41 * Streaming descriptors array pointers for full-speed, high-speed and
42 * super-speed. They will point to the uvc_[fhs]s_streaming_cls arrays
57 * Control descriptors pointers arrays for full-/high-speed and
58 * super-speed. The first element is a configurable control header
67 * Streaming descriptors for full-speed, high-speed and super-speed.
/kernel/linux/linux-5.10/drivers/net/phy/
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 …]
Dphy-core.c10 * phy_speed_to_str - Return a string representing the PHY link speed
12 * @speed: Speed of the link
14 const char *phy_speed_to_str(int speed) in phy_speed_to_str() argument
18 "If a speed or mode has been added please update phy_speed_to_str " in phy_speed_to_str()
21 switch (speed) { in phy_speed_to_str()
77 /* A mapping of all SUPPORTED settings to speed/duplex. This table
78 * must be grouped by speed and sorted in descending match priority
79 * - iow, descending speed. */
81 #define PHY_SETTING(s, d, b) { .speed = SPEED_ ## s, .duplex = DUPLEX_ ## d, \
183 * @speed: speed to match
[all …]
/kernel/linux/linux-5.10/drivers/tty/
Dtty_baudrate.c49 * Convert termios baud rate data into a speed. This should be called
52 * function but should use ->c_[io]speed directly as they are updated.
64 /* Magic token for arbitrary speed via c_ispeed/c_ospeed */ in tty_termios_baud_rate()
84 * Convert termios baud rate data into a speed. This should be called
87 * function but should use ->c_[io]speed directly as they are updated.
100 /* Magic token for arbitrary speed via c_ispeed*/ in tty_termios_input_baud_rate()
122 * @ibaud: input speed
123 * @obaud: output speed
127 * the actual speed selected when it differs from the speed requested
131 * desired speed. We allow small margins and preserve as much of possible
[all …]

12345678910>>...133