| /Linux-v6.1/tools/testing/selftests/net/forwarding/ |
| D | ethtool.sh | 59 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 …]
|
| /Linux-v6.1/Documentation/admin-guide/pm/ |
| D | intel-speed-select.rst | 4 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 …]
|
| /Linux-v6.1/tools/power/cpupower/utils/helpers/ |
| D | misc.c | 173 void print_speed(unsigned long speed, int no_rounding) in print_speed() argument 178 if (speed > 1000000) in print_speed() 179 printf("%u.%06u GHz", ((unsigned int)speed / 1000000), in print_speed() 180 ((unsigned int)speed % 1000000)); in print_speed() 181 else if (speed > 1000) in print_speed() 182 printf("%u.%03u MHz", ((unsigned int)speed / 1000), in print_speed() 183 (unsigned int)(speed % 1000)); in print_speed() 185 printf("%lu kHz", speed); in print_speed() 187 if (speed > 1000000) { in print_speed() 188 tmp = speed % 10000; in print_speed() [all …]
|
| /Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/ |
| D | dwmac-rk.c | 33 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); 105 static void px30_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in px30_set_rmii_speed() argument 115 if (speed == 10) { in px30_set_rmii_speed() 123 } else if (speed == 100) { in px30_set_rmii_speed() 133 dev_err(dev, "unknown speed value for RMII! speed=%d", speed); in px30_set_rmii_speed() 202 static void rk3128_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3128_set_rgmii_speed() argument 211 if (speed == 10) in rk3128_set_rgmii_speed() 214 else if (speed == 100) in rk3128_set_rgmii_speed() 217 else if (speed == 1000) in rk3128_set_rgmii_speed() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
| D | gk104.c | 33 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 …]
|
| D | pcie.c | 33 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 …]
|
| /Linux-v6.1/drivers/mtd/tests/ |
| D | speedtest.c | 5 * 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-v6.1/drivers/platform/x86/ |
| D | gpd-pocket-fan.c | 33 "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-v6.1/tools/usb/usbip/libsrc/ |
| D | usbip_device_driver.c | 33 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 …]
|
| /Linux-v6.1/Documentation/hwmon/ |
| D | g762.rst | 4 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 …]
|
| D | g760a.rst | 19 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.
|
| D | nct6775.rst | 100 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 …]
|
| D | adm9240.rst | 57 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 …]
|
| /Linux-v6.1/drivers/usb/common/ |
| D | common.c | 70 [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 …]
|
| /Linux-v6.1/include/dt-bindings/pinctrl/ |
| D | k210-fpioa.h | 32 #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-v6.1/Documentation/devicetree/bindings/usb/ |
| D | usb.yaml | 38 serial is specified and High-Speed Inter-Chip feature if HSIC is 44 maximum-speed: 46 Tells USB controllers we want to work up to a certain speed. In case this 51 - low-speed 52 - full-speed 53 - high-speed 54 - super-speed 55 - super-speed-plus 56 - super-speed-plus-gen2x1 57 - super-speed-plus-gen1x2 [all …]
|
| /Linux-v6.1/Documentation/ABI/testing/ |
| D | sysfs-bus-pci-drivers-ehci_hcd | 7 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 …]
|
| /Linux-v6.1/drivers/usb/gadget/udc/ |
| D | Kconfig | 39 full speed USB Device Port with support for five configurable 62 USBA is the integrated high-speed USB Device controller on some 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 …]
|
| /Linux-v6.1/drivers/net/ethernet/marvell/prestera/ |
| D | prestera_ethtool.c | 23 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 …]
|
| /Linux-v6.1/drivers/usb/misc/ |
| D | trancevibrator.c | 30 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);
|
| /Linux-v6.1/drivers/cpufreq/ |
| D | qcom-cpufreq-nvmem.c | 66 int *speed, int *pvs, int *pvs_ver, in get_krait_bin_format_a() argument 73 *speed = pte_efuse & 0xf; in get_krait_bin_format_a() 74 if (*speed == 0xf) in get_krait_bin_format_a() 75 *speed = (pte_efuse >> 4) & 0xf; in get_krait_bin_format_a() 77 if (*speed == 0xf) { in get_krait_bin_format_a() 78 *speed = 0; in get_krait_bin_format_a() 79 dev_warn(cpu_dev, "Speed bin: Defaulting to %d\n", *speed); in get_krait_bin_format_a() 81 dev_dbg(cpu_dev, "Speed bin: %d\n", *speed); in get_krait_bin_format_a() 97 int *speed, int *pvs, int *pvs_ver, in get_krait_bin_format_b() argument 110 *speed = (pte_efuse >> 27) & 0xf; in get_krait_bin_format_b() [all …]
|
| /Linux-v6.1/Documentation/usb/ |
| D | ehci.rst | 7 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-v6.1/drivers/net/ethernet/intel/ice/ |
| D | ice_vf_mbx.c | 44 * @adv_link_support: determines the format of the returned link speed 47 * Convert link speed supported by HW to link speed supported by virtchnl. 48 * If adv_link_support is true, then return link speed in Mbps. Else return 49 * link speed as a VIRTCHNL_LINK_SPEED_* casted to a u32. Note that the caller 52 * expect the speed in Mbps. 56 u32 speed; in ice_conv_link_speed_to_virtchnl() local 61 speed = ICE_LINK_SPEED_10MBPS; in ice_conv_link_speed_to_virtchnl() 64 speed = ICE_LINK_SPEED_100MBPS; in ice_conv_link_speed_to_virtchnl() 67 speed = ICE_LINK_SPEED_1000MBPS; in ice_conv_link_speed_to_virtchnl() 70 speed = ICE_LINK_SPEED_2500MBPS; in ice_conv_link_speed_to_virtchnl() [all …]
|
| /Linux-v6.1/drivers/usb/gadget/function/ |
| D | u_uvc.h | 33 * Control descriptors array pointers for full-/high-speed and 34 * super-speed. They point by default to the uvc_fs_control_cls and 42 * Streaming descriptors array pointers for full-speed, high-speed and 43 * super-speed. They will point to the uvc_[fhs]s_streaming_cls arrays 58 * Control descriptors pointers arrays for full-/high-speed and 59 * super-speed. The first element is a configurable control header 68 * Streaming descriptors for full-speed, high-speed and super-speed.
|
| /Linux-v6.1/drivers/net/phy/ |
| D | swphy.c | 38 * 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 …]
|