/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A 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 …]
|
/openbmc/phosphor-fan-presence/control/ |
H A D | actions.hpp | 34 * @brief An action that sets the floor to the default fan floor speed 35 * @details Sets the fan floor to the defined default fan floor speed when a 46 * @brief An action to set a speed when a service owner is missing 47 * @details Sets the fans to the given speed when any service owner associated 49 * the event data again, active fan speed changes are allowed. 51 * @param[in] speed - Speed to set the zone to 54 * An Action function that sets the zone to the given speed if any service 57 Action set_speed_on_missing_owner(uint64_t speed); 60 * @brief An action to set the request speed base 61 * @details A new target speed is determined using a speed delta being added [all …]
|
H A D | zone.hpp | 97 * Sets all fans in the zone to the speed 100 * @param[in] speed - the fan speed 102 void setSpeed(uint64_t speed); 105 * Sets the zone to full speed regardless of zone's active state 131 * @param[in] group - A group that affects speed decreases 329 * @brief Initialize a set speed event properties and actions 331 * @param[in] event - Set speed event 336 * @brief Removes all the set speed event properties and actions 338 * @param[in] event - Set speed event 343 * @brief Get the default floor speed [all …]
|
/openbmc/linux/Documentation/admin-guide/pm/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
H A 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 …]
|
H A 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 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 …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A 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); 117 static void px30_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in px30_set_rmii_speed() argument 128 if (speed == 10) { in px30_set_rmii_speed() 136 } else if (speed == 100) { in px30_set_rmii_speed() 146 dev_err(dev, "unknown speed value for RMII! speed=%d", speed); in px30_set_rmii_speed() 215 static void rk3128_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3128_set_rgmii_speed() argument 224 if (speed == 10) in rk3128_set_rgmii_speed() 227 else if (speed == 100) in rk3128_set_rgmii_speed() 230 else if (speed == 1000) in rk3128_set_rgmii_speed() [all …]
|
/openbmc/linux/drivers/mtd/tests/ |
H A 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 …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | fan_utils.robot | 15 # Criteria for a fan at maximum speed. 93 Set Fan Target Speed 94 [Documentation] Set the target speed of a fan. 99 # fan_speed The target speed to set (e.g. "9000"). 106 Get Target Speed Of Fans 107 [Documentation] Return the maximum target speed of the system fans. 121 [Documentation] Return the fan target speed setting, the speed of the 122 ... fan's clockwise blade, and the speed of the counter-clockwise blade. 125 # moving whenever the fan unit is transitioning to a new target speed. 131 # Get the fan target speed and the clockwise blade speed. [all …]
|
/openbmc/linux/drivers/platform/x86/ |
H A 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 …]
|
/openbmc/linux/tools/usb/usbip/libsrc/ |
H A 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 …]
|
/openbmc/u-boot/drivers/clk/ |
H A D | mpc83xx_clk.c | 21 * @speed: Array containing the speed values of all system clocks (initialized 25 u32 speed[MPC83XX_CLK_COUNT]; member 90 * The clock speed is read from the hardware's registers, and stored in the 123 priv->speed[clk] = 0; in init_single_clk() 126 priv->speed[clk] = csb_clk; in init_single_clk() 129 priv->speed[clk] = csb_clk / 2; in init_single_clk() 132 priv->speed[clk] = csb_clk / 3; in init_single_clk() 135 priv->speed[clk] = 0; in init_single_clk() 144 priv->speed[clk] = csb_clk * (1 + sccr_field(im, mask)); in init_single_clk() 149 priv->speed[clk] = csb_clk; /* i2c-2 clk is equal to csb clk */ in init_single_clk() [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A 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 …]
|
H A 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.
|
H A D | nct6775.rst | 106 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 …]
|
/openbmc/linux/tools/power/cpupower/utils/helpers/ |
H A D | misc.c | 228 void print_speed(unsigned long speed, int no_rounding) in print_speed() argument 233 if (speed > 1000000) in print_speed() 234 printf("%u.%06u GHz", ((unsigned int)speed / 1000000), in print_speed() 235 ((unsigned int)speed % 1000000)); in print_speed() 236 else if (speed > 1000) in print_speed() 237 printf("%u.%03u MHz", ((unsigned int)speed / 1000), in print_speed() 238 (unsigned int)(speed % 1000)); in print_speed() 240 printf("%lu kHz", speed); in print_speed() 242 if (speed > 1000000) { in print_speed() 243 tmp = speed % 10000; in print_speed() [all …]
|
/openbmc/linux/drivers/usb/common/ |
H A D | common.c | 71 [USB_SPEED_LOW] = "low-speed", 72 [USB_SPEED_FULL] = "full-speed", 73 [USB_SPEED_HIGH] = "high-speed", 75 [USB_SPEED_SUPER] = "super-speed", 76 [USB_SPEED_SUPER_PLUS] = "super-speed-plus", 81 [USB_SSP_GEN_2x1] = "super-speed-plus-gen2x1", 82 [USB_SSP_GEN_1x2] = "super-speed-plus-gen1x2", 83 [USB_SSP_GEN_2x2] = "super-speed-plus-gen2x2", 87 * usb_speed_string() - Returns human readable-name of the speed. 88 * @speed: The speed to return human-readable name for. If it's not [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A 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 …]
|
/openbmc/linux/include/dt-bindings/pinctrl/ |
H A 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 …]
|
/openbmc/openbmc-test-automation/redfish/extended/ |
H A D | test_fan_operation.robot | 43 Check Fans Running At Target Speed 44 [Documentation] Verify fans are running at or near target speed. 47 # Set the speed tolerance criteria. 48 # A tolerance value of .30 means that the fan's speed should be 49 # within 30% of its set target speed. Fans may be accelerating 54 Verify Fan Speed ${tolerance} ${fan_names} 61 # The maximum target speed. 64 # Speed criteria for passing, which is 85% of max_speed. 68 # the fans to normal speed. 76 Check Fan Speed Increase When One Disabled [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | nvidia,tegra194-xusb-padctl.yaml | 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 379 maximum-speed: 381 supported speed of a USB3 port. 384 - description: The USB3 port supports USB 3.1 Gen 2 speed. 386 const: super-speed-plus 387 - description: The USB3 port supports USB 3.1 Gen 1 speed 389 const: super-speed 399 number to map this super-speed USB port to. The range of [all …]
|
/openbmc/phosphor-fan-presence/monitor/example/ |
H A D | monitor.yaml | 18 # [Time (in secs) actual speed can be outside of deviation of 19 # target speed] 21 # [Percentage that actual speed must be within target speed] 25 # sensors: [array of speed sensors for the fan] 28 # setting a fan speed (otherwise just for reads)] 36 # fan speed. Default is 1 for fan speed target; 38 # offset [The offset to add to calculate the expected fan speed. 39 # Default is 0 for fan speed target; 55 # has a nonzero speed.] 62 # After a speed reading of a sensor is outside of the allowed deviation of [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A 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 …]
|
/openbmc/linux/drivers/usb/misc/ |
H A 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);
|