/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 …]
|
H A D | preconditions.hpp | 16 * subscribe/unsubscribe a set speed event group 18 * that when each entry's property value matches the given value, the set speed 20 * longer matches, the set speed event is removed from being active and fans 21 * are set to full speed. 24 * @param[in] sse - Set speed event definition 28 * and either subscribe or unsubscribe a set speed event group. 35 * of the services for the group to init/remove a set speed event 41 * @param[in] sse - Set speed event definitions 45 * that are not owned to either initialize or remove set speed events.
|
H A D | fan.hpp | 42 * Sets the speed value on all contained sensors 44 * @param[in] speed - the value to set 46 void setSpeed(uint64_t speed); 49 * @brief Get the current fan target speed 51 * @return - The target speed of the fan 80 * Target speed for this fan
|
/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/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/openbmc-test-automation/redfish/extended/ |
H A D | test_fan_operation.robot | 44 Check Fans Running At Target Speed 45 [Documentation] Verify fans are running at or near target speed. 48 # Set the speed tolerance criteria. 49 # A tolerance value of .30 means that the fan's speed should be 50 # within 30% of its set target speed. Fans may be accelerating 55 Verify Fan Speed ${tolerance} ${fan_names} 62 # The maximum target speed. 65 # Speed criteria for passing, which is 85% of max_speed. 69 # the fans to normal speed. 77 Check Fan Speed Increase When One Disabled [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/u-boot/drivers/i2c/ |
H A D | stm32f7_i2c.c | 131 * @rate: I2C bus speed (Hz) 132 * @rate_min: 80% of I2C bus speed (Hz) 133 * @rate_max: 120% of I2C bus speed (Hz) 158 * @speed: I2C speed mode (standard, Fast Plus) 159 * @speed_freq: I2C speed frequency (Hz) 167 enum stm32_i2c_speed speed; member 197 int speed; member 503 sdadel_min = setup->fall_time - i2c_specs[setup->speed].hddat_min - in stm32_i2c_compute_solutions() 506 sdadel_max = i2c_specs[setup->speed].vddat_max - setup->rise_time - in stm32_i2c_compute_solutions() 509 scldel_min = setup->rise_time + i2c_specs[setup->speed].sudat_min; in stm32_i2c_compute_solutions() [all …]
|
H A D | Kconfig | 12 write and speed, is implemented with the bus drivers operations, 163 SoCs. The controller supports programmable bus speed including 164 standard (100kbits/s) and fast (400kbit/s) speed and allows the 228 int "I2C Channel 1 speed" 232 MXC I2C Channel 1 speed 243 int "I2C Channel 2 speed" 247 MXC I2C Channel 2 speed 258 int "I2C Channel 3 speed" 261 MXC I2C Channel 3 speed 272 int "I2C Channel 4 speed" [all …]
|
H A D | fsl_i2c.c | 54 /* I2C speed map for a DFSR value of 1 */ 61 * frequency divider (I2C clock rate divided by I2C bus speed) to a value to be 109 * Set the I2C bus speed for a given I2C device 113 * @speed: the desired speed of the bus 117 * The return value is the actual bus speed that is set. 120 uint i2c_clk, uint speed) in set_i2c_bus_speed() argument 122 ushort divider = min(i2c_clk / speed, (uint)USHRT_MAX); in set_i2c_bus_speed() 125 * We want to choose an FDR/DFSR that generates an I2C bus speed that in set_i2c_bus_speed() 126 * is equal to or lower than the requested speed. That means that we in set_i2c_bus_speed() 144 speed = i2c_clk / divider; /* Fake something */ in set_i2c_bus_speed() [all …]
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | lxt.c | 24 int speed; in lxt971_parse_status() local 27 speed = mii_reg & MIIM_LXT971_SR2_SPEED_MASK; in lxt971_parse_status() 29 switch (speed) { in lxt971_parse_status() 31 phydev->speed = SPEED_10; in lxt971_parse_status() 35 phydev->speed = SPEED_10; in lxt971_parse_status() 39 phydev->speed = SPEED_100; in lxt971_parse_status() 43 phydev->speed = SPEED_100; in lxt971_parse_status()
|
H A D | xilinx_phy.c | 57 phydev->speed = SPEED_1000; in xilinxphy_startup() 61 phydev->speed = SPEED_100; in xilinxphy_startup() 65 phydev->speed = SPEED_10; in xilinxphy_startup() 80 phydev->speed = SPEED_1000; in xilinxphy_startup() 82 phydev->speed = SPEED_100; in xilinxphy_startup() 84 phydev->speed = SPEED_10; in xilinxphy_startup() 88 * For 1000BASE-X Phy Mode the speed/duplex will always be in xilinxphy_startup() 93 phydev->speed = SPEED_1000; in xilinxphy_startup()
|
/openbmc/u-boot/drivers/spi/ |
H A D | spi-uclass.c | 20 static int spi_set_speed_mode(struct udevice *bus, int speed, int mode) in spi_set_speed_mode() argument 27 ret = ops->set_speed(bus, speed); in spi_set_speed_mode() 31 printf("Cannot set speed (err=%d)\n", ret); in spi_set_speed_mode() 53 int speed; in dm_spi_claim_bus() local 55 speed = slave->max_hz; in dm_spi_claim_bus() 57 if (speed) in dm_spi_claim_bus() 58 speed = min(speed, (int)spi->max_hz); in dm_spi_claim_bus() 60 speed = spi->max_hz; in dm_spi_claim_bus() 62 if (!speed) in dm_spi_claim_bus() 63 speed = SPI_DEFAULT_SPEED_HZ; in dm_spi_claim_bus() [all …]
|
/openbmc/u-boot/drivers/qe/ |
H A D | uec_phy.c | 55 * speed and duplex should be for the port. 66 * #define CONFIG_SYS_FIXED_PHY_PORT(name,speed,duplex) \ 67 * {name, speed, duplex}, 84 unsigned int speed; /* specified speed 10,100 or 1000 */ member 265 switch (mii_info->speed) { in genmii_setup_forced() 272 mii_info->speed = SPEED_100; in genmii_setup_forced() 279 mii_info->speed = SPEED_10; in genmii_setup_forced() 284 default: /* Unsupported speed! */ in genmii_setup_forced() 285 ugphy_err ("%s: Bad speed!", mii_info->dev->name); in genmii_setup_forced() 350 /* Speed up the common case, if link is already up, speed and in genmii_config_aneg() [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | OperatingConfig.v1_0_4.json | 36 "description": "The clock speed for a set of cores.", 37 "longDescription": "This type shall specify the clock speed for a set of cores.", 54 "description": "The clock speed to configure the set of cores in MHz.", 55 …"longDescription": "This property shall contain the clock speed to configure the set of cores in M… 65 "description": "The number of cores to configure with a specified speed.", 66 …": "This property shall contain the number of cores to configure with the speed specified by the `… 75 … "description": "The identifier of the cores to configure with the specified speed.", 82 …operty shall contain an array identifying the cores to configure with the speed specified by the `… 147 "description": "The base (nominal) clock speed of the processor in MHz.", 148 …"longDescription": "This property shall contain the base (nominal) clock speed of the processor in… [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | OperatingConfig.v1_0_4.json | 36 "description": "The clock speed for a set of cores.", 37 "longDescription": "This type shall specify the clock speed for a set of cores.", 54 "description": "The clock speed to configure the set of cores in MHz.", 55 …"longDescription": "This property shall contain the clock speed to configure the set of cores in M… 65 "description": "The number of cores to configure with a specified speed.", 66 …": "This property shall contain the number of cores to configure with the speed specified by the `… 75 … "description": "The identifier of the cores to configure with the specified speed.", 82 …operty shall contain an array identifying the cores to configure with the speed specified by the `… 147 "description": "The base (nominal) clock speed of the processor in MHz.", 148 …"longDescription": "This property shall contain the base (nominal) clock speed of the processor in… [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/Cpu/ |
H A D | OperatingConfig.interface.yaml | 7 description: The base clock speed of the processor in MHz. 15 members, first is the base clock speed in MHz, and second is an array 16 identifying the set of core IDs to configure at that base speed. 27 The maximum clock speed to which the processor can be configured in 48 clock speed in MHz, and second is number of cores which can run at 49 that speed.
|
/openbmc/phosphor-fan-presence/control/example/ |
H A D | zones.yaml | 22 # should delay after setting fans to full speed on 33 # full_speed: [Full speed for the zone.] 34 # default_floor: [Default floor speed for the zone that fan speeds can 36 # increase_delay: [Number of seconds to delay additional speed increases 37 # that are less than the speed increase that's currently 40 # requested speed decreases may occur when no speed
|
/openbmc/u-boot/test/py/tests/ |
H A D | test_sf.py | 26 # If set as a number, specifies the speed of the SPI Flash. 27 # If set as an array of 2, specifies a range for a random speed. 29 'speed': 1000000, 63 speed = env__sf_config.get('speed', 0) 64 if isinstance(speed, int): 65 sf_params['speed'] = speed 67 assert len(speed) == 2, "If speed is a list, it must have 2 entries" 68 sf_params['speed'] = random.randint(speed[0], speed[1]) 70 cmd = 'sf probe %d %d' % (probe_id, sf_params['speed'])
|
/openbmc/openbmc-tools/pwmtachtool/src/ |
H A D | pwmtachtool.c | 4 * This application provides functions to get/set fan speed / PWM dutycycle. 46 printf( "\t--set-fan-speed: Set Fan's speed. Takes the RPM value as the last argument\n" ); in ShowUsage() 52 printf( "\t--get-fan-speed: Get Fan's speed\n" ); in ShowUsage() 76 if( strcmp( argv[ i ], "--set-fan-speed" ) == 0 ) in process_arguments() 120 else if( strcmp( argv[ i ], "--get-fan-speed" ) == 0 ) in process_arguments() 167 Verbose ("Inside Set Fan Speed \n"); in main() 171 printf ( "Set Fan Speed Failed \n"); in main() 174 printf ( "Fan Speed set Successfully\n"); in main() 177 Verbose ("Inside Get Fan Speed \n"); in main() 181 printf ( "Get Fan Speed Failed \n"); in main() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 218.out | 8 {"data": {"device": "mirror", "len": 1048576, "offset": 65536, "speed": 65536, "type": "mirror"}, "… 14 {"data": {"device": "mirror", "len": 1048576, "offset": 65536, "speed": 65536, "type": "mirror"}, "… 20 {"data": {"device": "mirror", "len": 1048576, "offset": 1048576, "speed": 0, "type": "mirror"}, "ev… 23 {"data": {"device": "mirror", "len": 1048576, "offset": 1048576, "speed": 0, "type": "mirror"}, "ev… 27 {"data": {"device": "mirror", "len": 1048576, "offset": 1048576, "speed": 0, "type": "mirror"}, "ev… 30 {"data": {"device": "mirror", "len": 1048576, "offset": 1048576, "speed": 0, "type": "mirror"}, "ev…
|
/openbmc/u-boot/drivers/usb/common/ |
H A D | common.c | 44 [USB_SPEED_LOW] = "low-speed", 45 [USB_SPEED_FULL] = "full-speed", 46 [USB_SPEED_HIGH] = "high-speed", 48 [USB_SPEED_SUPER] = "super-speed", 57 max_speed = fdt_getprop(fdt, node, "maximum-speed", NULL); in usb_get_maximum_speed() 59 pr_err("usb maximum-speed not found\n"); in usb_get_maximum_speed()
|
/openbmc/qemu/scripts/ |
H A D | mtest2make.py | 20 return [base if speed == 'quick' else f'{base}-{speed}' for speed in self.speeds] 24 SPEED = quick 26 .speed.quick = $(foreach s,$(sort $(filter-out %-slow %-thorough, $1)), --suite $s) 27 .speed.slow = $(foreach s,$(sort $(filter-out %-thorough, $1)), --suite $s) 28 .speed.thorough = $(foreach s,$(sort $1), --suite $s) 32 ifneq ($(SPEED), quick) 33 .mtestargs += --setup $(SPEED) 76 print(f'.{prefix}.mtestargs += $(call .speed.$(SPEED), $(.{prefix}.mtest-suites))')
|
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/fans/phosphor-fan-control-events-config/ |
H A D | events.yaml | 163 enable a set speed event otherwise fan speeds are set to full 185 Set fans to the given speed when any service within the group 188 - speed 191 Set the base request speed of a zone to the max value of a group for 192 calculating a new target speed 194 description: Set the speed when a number of properties at a state 198 - speed 200 description: Set floor speed from first entry with average less than key 204 description: Set ceiling speed based on key transition values with average 209 Set the speed increase delta based on a factor applied to [all …]
|