/openbmc/u-boot/drivers/spi/ |
H A D | zynq_spi.c | 274 static int zynq_spi_set_speed(struct udevice *bus, uint speed) in zynq_spi_set_speed() argument 282 if (speed > plat->frequency) in zynq_spi_set_speed() 283 speed = plat->frequency; in zynq_spi_set_speed() 287 if (speed == 0) { in zynq_spi_set_speed() 290 } else if (plat->speed_hz != speed) { in zynq_spi_set_speed() 293 (2 << baud_rate_val)) > speed)) in zynq_spi_set_speed() 295 plat->speed_hz = speed / (2 << baud_rate_val); in zynq_spi_set_speed() 301 priv->freq = speed; in zynq_spi_set_speed()
|
H A D | rk_spi.c | 77 static void rkspi_set_clk(struct rockchip_spi_priv *priv, uint speed) in rkspi_set_clk() argument 83 uint clk_div = DIV_ROUND_UP(priv->input_rate, speed); in rkspi_set_clk() 95 __func__, speed, priv->input_rate / clk_div); in rkspi_set_clk() 101 debug("spi speed %u, div %u\n", speed, clk_div); in rkspi_set_clk() 104 priv->last_speed_hz = speed; in rkspi_set_clk() 415 static int rockchip_spi_set_speed(struct udevice *bus, uint speed) in rockchip_spi_set_speed() argument 420 if (speed > priv->max_freq) in rockchip_spi_set_speed() 421 speed = priv->max_freq; in rockchip_spi_set_speed() 423 priv->speed_hz = speed; in rockchip_spi_set_speed()
|
/openbmc/u-boot/board/ti/ks2_evm/ |
H A D | board_k2e.c | 74 int speed; in get_pll_init_data() local 79 speed = get_max_dev_speed(speeds); in get_pll_init_data() 80 data = &core_pll_config[speed]; in get_pll_init_data()
|
/openbmc/u-boot/drivers/dfu/ |
H A D | dfu_sf.c | 72 unsigned int speed = CONFIG_SF_DEFAULT_SPEED; in parse_dev() local 91 speed = simple_strtoul(s, &endp, 0); in parse_dev() 92 if (*endp || !speed) { in parse_dev() 107 dev = spi_flash_probe(bus, cs, speed, mode); in parse_dev() 110 bus, cs, speed, mode); in parse_dev()
|
/openbmc/qemu/include/block/ |
H A D | block_int-global-state.h | 68 int creation_flags, int64_t speed, 93 int creation_flags, int64_t speed, 117 int64_t speed, BlockdevOnError on_error, 153 int creation_flags, int64_t speed, 186 BlockDriverState *target, int64_t speed,
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | dummy_hcd.c | 542 switch (dum->gadget.speed) { in dummy_enable() 565 switch (dum->gadget.speed) { in dummy_enable() 588 switch (dum->gadget.speed) { in dummy_enable() 929 enum usb_device_speed speed) in dummy_udc_set_speed() argument 934 dum->gadget.speed = speed; in dummy_udc_set_speed() 998 switch (g->speed) { in dummy_udc_start() 1791 switch (dum->gadget.speed) { in dummy_timer() 2163 if (hcd->speed == HCD_USB3) in dummy_hub_control() 2407 switch (urb->dev->speed) { in show_urb() 2541 hcd->speed = HCD_USB2; in dummy_setup() [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | w83792d.rst | 44 The driver implements three temperature sensors, seven fan rotation speed 55 For all pwmX outputs, a value of 0 means minimum fan speed and a value of 56 255 means maximum fan speed. 64 triggered if the rotation speed has dropped below a programmable limit. Fan 105 of full speed rotation of corresponding fan. 136 Works as expected. You just need to specify desired PWM/DC value (fan speed) 143 fan speed to keep the temperatures of CPU and the system within specific 146 interval. The fan speed will be lowered as long as the current temperature 149 specific speed set by pwm# and automatically controlled its PWM duty cycle 156 limit (T-tolerance), the fan speed will be fixed at the current speed because [all …]
|
H A D | dell-smm-hwmon.rst | 18 automatically adjust fan speed (please notice that it currently uses 35 fan[1-3]_input RO Fan speed in RPM. 37 fan[1-3]_min RO Minimal Fan speed in RPM 38 fan[1-3]_max RO Maximal Fan speed in RPM 39 fan[1-3]_target RO Expected Fan speed in RPM 55 On some laptops the BIOS automatically sets fan speed every few 126 Factor to multiply fan speed with. (default: 130 Maximum configurable fan speed. (default: 237 ``0x01a3`` Set fan state Sets the fan speed: 243 ``0x02a3`` Get fan speed Returns the current fan speed in RPM: [all …]
|
H A D | pwm-fan.rst | 19 The fan rotation speed returned via the optional 'fan1_input' is extrapolated 25 fan1_input ro fan tachometer speed in RPM 31 pwm1 rw relative speed (0-255), 255=max. speed.
|
H A D | adm1026.rst | 45 16 general purpose digital I/O lines, eight (8) fan speed sensors (8-bit), 59 corresponds to a minimum fan speed. If the limit is exceeded, an interrupt 62 rounding is done. With a divider of 8, the slowest measurable speed of a 83 times a second. Fan speed measurement time depends on fan speed and 86 The ADM1026 has the ability to automatically control fan speed based on the 88 used to control fan speed. Usually only one of these two outputs will be 94 controlling fan speed with the PWM and DAC outputs. The fan speed sensors
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_pm112.c | 360 int speed; in backside_fan_tick() local 385 speed = wf_pid_run(&backside_pid, temp); in backside_fan_tick() 387 FIX32TOPRINT(temp), speed); in backside_fan_tick() 389 err = backside_fan->ops->set_value(backside_fan, speed); in backside_fan_tick() 410 int speed; in drive_bay_fan_tick() local 435 speed = wf_pid_run(&drive_bay_pid, temp); in drive_bay_fan_tick() 437 FIX32TOPRINT(temp), speed); in drive_bay_fan_tick() 462 int speed; in slots_fan_tick() local 482 speed = wf_pid_run(&slots_pid, power); in slots_fan_tick() 484 FIX32TOPRINT(power), speed); in slots_fan_tick() [all …]
|
/openbmc/linux/net/ethtool/ |
H A D | common.h | 12 #define ETHTOOL_LINK_MODE(speed, type, duplex) \ argument 13 ETHTOOL_LINK_MODE_ ## speed ## base ## type ## _ ## duplex ## _BIT 18 int speed; member
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | marvell-bluetooth.yaml | 22 max-speed: 36 max-speed: true 39 max-speed: false
|
/openbmc/linux/drivers/usb/usbip/ |
H A D | vhci_hcd.c | 169 switch (speed) { in rh_port_connect() 391 if (hcd->speed == HCD_USB3) in vhci_hub_control() 407 if (hcd->speed == HCD_USB3 && in vhci_hub_control() 413 if (hcd->speed == HCD_USB3) in vhci_hub_control() 419 if (hcd->speed != HCD_USB3) in vhci_hub_control() 474 if (hcd->speed < HCD_USB3) { in vhci_hub_control() 554 if (hcd->speed == HCD_USB3) in vhci_hub_control() 619 if (hcd->speed != HCD_USB3) { in vhci_hub_control() 1074 vdev->speed = 0; in vhci_device_reset() 1151 hcd->speed = HCD_USB2; in vhci_setup() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 218 | 41 def start_mirror(vm, speed=None, buf_size=None): argument 54 if speed is not None: 60 speed=speed,
|
/openbmc/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt7623a.dtsi | 25 speed = <1000>; 36 speed = <1000>; 100 speed = <1000>; 113 speed = <1000>;
|
/openbmc/u-boot/drivers/i2c/ |
H A D | i2c-uniphier.c | 175 static int uniphier_i2c_set_bus_speed(struct udevice *bus, unsigned int speed) in uniphier_i2c_set_bus_speed() argument 180 if (speed > 400000) in uniphier_i2c_set_bus_speed() 186 writel((priv->input_clk / speed / 2 << 16) | (priv->input_clk / speed), in uniphier_i2c_set_bus_speed() 195 priv->wait_us = 20000000 / speed; in uniphier_i2c_set_bus_speed()
|
H A D | tegra_i2c.c | 33 int speed; member 95 if (!i2c_bus->speed) in i2c_init_controller() 97 debug("%s: speed=%d\n", __func__, i2c_bus->speed); in i2c_init_controller() 103 i2c_init_clock(i2c_bus, i2c_bus->speed * 2 * 8); in i2c_init_controller() 119 (clk_div_stdfst_mode + 1) * i2c_bus->speed * 2; in i2c_init_controller() 346 static int tegra_i2c_set_bus_speed(struct udevice *dev, unsigned int speed) in tegra_i2c_set_bus_speed() argument 350 i2c_bus->speed = speed; in tegra_i2c_set_bus_speed() 408 is_dvc ? "dvc" : "i2c", dev->seq, i2c_bus->regs, i2c_bus->speed); in tegra_i2c_probe()
|
/openbmc/qemu/chardev/ |
H A D | char-serial.c | 58 static void tty_serial_init(int fd, int speed, in tty_serial_init() argument 66 speed, parity, data_bits, stop_bits); in tty_serial_init() 71 if (speed <= val) { \ in tty_serial_init() 76 speed = speed * 10 / 11; in tty_serial_init() 189 ssp->speed, ssp->parity, in tty_serial_ioctl()
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_proc.c | 96 u_int speed; in ahc_format_transinfo() local 100 speed = 3300; in ahc_format_transinfo() 104 speed = freq; in ahc_format_transinfo() 106 speed *= (0x01 << tinfo->width); in ahc_format_transinfo() 107 mb = speed / 1000; in ahc_format_transinfo() 109 seq_printf(m, "%d.%03dMB/s transfers", mb, speed % 1000); in ahc_format_transinfo() 111 seq_printf(m, "%dKB/s transfers", speed); in ahc_format_transinfo()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_i2c_hw.c | 265 uint32_t speed) in set_speed() argument 271 if (speed == 0) in set_speed() 285 prescale = (i2c_ref_clock / xtal_ref_div) / speed; in set_speed() 291 FN(DC_I2C_DDC1_SPEED, DC_I2C_DDC1_START_STOP_TIMING_CNTL), speed > 50 ? 2:1); in set_speed() 493 uint32_t speed) in get_transaction_timeout_hw() argument 498 if (!speed) in get_transaction_timeout_hw() 501 period_timeout = (1000 * TRANSACTION_TIMEOUT_IN_I2C_CLOCKS) / speed; in get_transaction_timeout_hw() 514 uint32_t speed) in dce_i2c_hw_engine_submit_payload() argument 552 dce_i2c_hw, payload->length + 1, speed); in dce_i2c_hw_engine_submit_payload() 588 set_speed(dce_i2c_hw, cmd->speed); in dce_i2c_submit_command_hw() [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | vsc7326.c | 459 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, in mac_set_speed_duplex_fc() argument 465 if (speed >= 0 && speed != SPEED_10 && speed != SPEED_100 && in mac_set_speed_duplex_fc() 466 speed != SPEED_1000) in mac_set_speed_duplex_fc() 471 if (speed >= 0) { in mac_set_speed_duplex_fc() 476 if (speed == SPEED_1000) in mac_set_speed_duplex_fc() 481 if (speed == SPEED_1000) in mac_set_speed_duplex_fc() 483 else if (speed == SPEED_100) in mac_set_speed_duplex_fc() 491 if (speed == SPEED_1000) in mac_set_speed_duplex_fc() 493 else if (speed == SPEED_100) in mac_set_speed_duplex_fc() 500 speed == SPEED_1000 ? 5 : 0x11); in mac_set_speed_duplex_fc() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | ratelimit.h | 85 static inline void ratelimit_set_speed(RateLimit *limit, uint64_t speed, in ratelimit_set_speed() argument 90 if (speed == 0) { in ratelimit_set_speed() 93 limit->slice_quota = MAX(((double)speed * slice_ns) / 1000000000ULL, 1); in ratelimit_set_speed()
|
/openbmc/phosphor-fan-presence/control/ |
H A D | fan.cpp | 58 void Fan::setSpeed(uint64_t speed) in setSpeed() argument 62 auto value = speed; in setSpeed() 77 _targetSpeed = speed; in setSpeed()
|
/openbmc/linux/usr/ |
H A D | Kconfig | 118 decompression speed. Compression speed is only relevant 119 when building a kernel. Decompression speed is relevant at 140 a good balance between compression ratio and decompression speed and 141 has a reasonable compression speed. It is also more likely to be 149 It's compression ratio and speed is intermediate. Decompression speed 164 Decompression speed is between the other choices. Compression is 177 30% smaller with XZ in comparison to gzip. Decompression speed is 190 decompression speed is the second fastest and it's compression speed 201 size is about 15% bigger than gzip; however its decompression speed 212 with fast decompression speed. It will compress better than GZIP and [all …]
|