/openbmc/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-helper-rgmii.c | 108 gmx_cfg.s.speed = 1; in cvmx_helper_rgmii_internal_loopback() 277 result.s.speed = 1000; in __cvmx_helper_rgmii_link_get() 373 if (link_info.s.speed == 10) { in __cvmx_helper_rgmii_link_set() 375 new_gmx_cfg.s.speed = 0; in __cvmx_helper_rgmii_link_set() 376 } else if (link_info.s.speed == 100) { in __cvmx_helper_rgmii_link_set() 378 new_gmx_cfg.s.speed = 0; in __cvmx_helper_rgmii_link_set() 381 new_gmx_cfg.s.speed = 1; in __cvmx_helper_rgmii_link_set() 385 if (link_info.s.speed == 10) { in __cvmx_helper_rgmii_link_set() 389 } else if (link_info.s.speed == 100) { in __cvmx_helper_rgmii_link_set() 400 if ((link_info.s.speed == 10) || (link_info.s.speed == 100)) { in __cvmx_helper_rgmii_link_set()
|
H A D | cvmx-helper-board.c | 224 result.s.speed = 1000; in __cvmx_helper_board_link_get() 246 switch (inband_status.s.speed) { in __cvmx_helper_board_link_get() 248 result.s.speed = 10; in __cvmx_helper_board_link_get() 251 result.s.speed = 100; in __cvmx_helper_board_link_get() 254 result.s.speed = 1000; in __cvmx_helper_board_link_get()
|
/openbmc/linux/Documentation/hwmon/ |
H A D | aquacomputer_d5next.rst | 30 speed (in RPM), power, voltage and current. Temperature offsets and fan speeds 33 For the D5 Next pump, available sensors are pump and fan speed, power, voltage 47 eight PWM controllable fans, along with their speed (in RPM), power, voltage and 51 sensor and four PWM controllable fans, along with their speed (in RPM), power, 71 with speed, power, voltage and current of both the pump and optionally connected fan. 72 It also exposes pressure and flow speed readings. 91 fan[1-8]_input Pump/fan speed (in RPM) / Flow speed (in dL/h) 92 fan1_min Minimal fan speed (in RPM) 93 fan1_max Maximal fan speed (in RPM) 94 fan1_target Target fan speed (in RPM)
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ethtool.c | 298 u16 speed; member 302 .speed = NFP_SPEED_1G, 306 .speed = NFP_SPEED_1G, 310 .speed = NFP_SPEED_10G, 314 .speed = NFP_SPEED_10G, 490 unsigned int speed; in nfp_net_get_link_ksettings() local 523 cmd->base.speed = eth_port->speed; in nfp_net_get_link_ksettings() 534 if (!speed) in nfp_net_get_link_ksettings() 538 cmd->base.speed = speed; in nfp_net_get_link_ksettings() 580 u32 speed = cmd->base.speed / eth_port->lanes; in nfp_net_set_link_ksettings() local [all …]
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | natsemi.c | 73 phydev->speed = SPEED_1000; in dp83865_parse_status() 77 phydev->speed = SPEED_100; in dp83865_parse_status() 81 phydev->speed = SPEED_10; in dp83865_parse_status() 124 phydev->speed = SPEED_100; in dp83848_parse_status() 126 phydev->speed = SPEED_10; in dp83848_parse_status()
|
/openbmc/u-boot/cmd/ |
H A D | mmc_spi.c | 36 uint speed = CONFIG_MMC_SPI_SPEED; in do_mmc_spi() local 56 speed = simple_strtoul(argv[2], &endp, 0); in do_mmc_spi() 70 mmc = mmc_spi_init(bus, cs, speed, mode); in do_mmc_spi() 76 mmc->block_dev.devnum, bus, cs, speed, mode); in do_mmc_spi()
|
/openbmc/linux/tools/usb/usbip/libsrc/ |
H A D | vhci_driver.c | 52 int port, status, speed, devid; in parse_status() local 59 hub, &port, &status, &speed, in parse_status() 68 hub, port, status, speed, devid); in parse_status() 335 int usbip_vhci_get_free_port(uint32_t speed) in usbip_vhci_get_free_port() argument 339 switch (speed) { in usbip_vhci_get_free_port() 358 uint32_t speed) { in usbip_vhci_attach_device2() argument 366 port, sockfd, devid, speed); in usbip_vhci_attach_device2() 392 uint8_t devnum, uint32_t speed) in usbip_vhci_attach_device() argument 396 return usbip_vhci_attach_device2(port, sockfd, devid, speed); in usbip_vhci_attach_device() 447 usbip_speed_string(idev->udev.speed)); in usbip_vhci_imported_device_dump()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-mt7621.c | 59 unsigned int speed; member 102 static int mt7621_spi_prepare(struct spi_device *spi, unsigned int speed) in mt7621_spi_prepare() argument 108 dev_dbg(&spi->dev, "speed:%u\n", speed); in mt7621_spi_prepare() 110 rate = DIV_ROUND_UP(rs->sys_freq, speed); in mt7621_spi_prepare() 122 rs->speed = speed; in mt7621_spi_prepare() 253 unsigned int speed = spi->max_speed_hz; in mt7621_spi_transfer_one_message() local 260 if (t->speed_hz < speed) in mt7621_spi_transfer_one_message() 261 speed = t->speed_hz; in mt7621_spi_transfer_one_message() 263 if (mt7621_spi_prepare(spi, speed)) { in mt7621_spi_transfer_one_message()
|
/openbmc/linux/drivers/macintosh/ |
H A D | therm_adt746x.c | 145 write_fan_speed(th, speed, 0); in write_both_fan_speed() 147 write_fan_speed(th, speed, 1); in write_both_fan_speed() 154 if (speed > 0xff) in write_fan_speed() 155 speed = 0xff; in write_fan_speed() 156 else if (speed < -1) in write_fan_speed() 157 speed = 0; in write_fan_speed() 162 if (th->last_speed[fan] != speed) { in write_fan_speed() 164 if (speed == -1) in write_fan_speed() 174 if (speed >= 0) { in write_fan_speed() 179 write_reg(th, FAN_SPD_SET[fan], speed); in write_fan_speed() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | cdns,usb3.yaml | 48 maximum-speed: 49 enum: [super-speed, high-speed, full-speed] 99 maximum-speed = "super-speed";
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-ioctl.c | 124 int single_step = (speed == 1 || speed == -1); in ivtv_set_speed() 127 if (speed == 0) speed = 1000; in ivtv_set_speed() 130 if (speed == itv->speed && !single_step) in ivtv_set_speed() 136 itv->speed = speed; in ivtv_set_speed() 141 speed = speed < 0 ? -1000 : 1000; in ivtv_set_speed() 154 else if (speed > -1000 && speed < 0) data[0] |= (-1000 / speed); in ivtv_set_speed() 155 else if (speed < 1000 && speed > 0) data[0] |= (1000 / speed); in ivtv_set_speed() 185 speed = (speed < 0) ? -1 : 1; in ivtv_set_speed() 188 itv->speed = speed; in ivtv_set_speed() 242 dc->start.speed = ivtv_validate_speed(itv->speed, dc->start.speed); in ivtv_video_command() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 141.out | 12 {"data": {"device": "job0", "len": 1048576, "offset": 0, "speed": 0, "type": "backup"}, "event": "B… 21 {"data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "mirror"}, "event": "BLOCK_J… 26 {"data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "mirror"}, "event": "BLOCK_J… 35 {"data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}, "event": "BLOCK_J… 40 {"data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}, "event": "BLOCK_J… 47 {"execute": "block-commit", "arguments": {"device": "drv0", "job-id": "job0", "speed": 1, "top": "T… 53 {"data": {"device": "job0", "len": 1048576, "offset": 524288, "speed": 1, "type": "commit"}, "event… 60 {"execute": "block-stream", "arguments": {"device": "drv0", "job-id": "job0", "speed": 1}} 66 {"data": {"device": "job0", "len": 1048576, "offset": 524288, "speed": 1, "type": "stream"}, "event…
|
H A D | meson.build | 37 foreach format, speed: qemu_iotests_formats 38 if speed == 'quick' variable 41 suites = ['block-' + speed, speed] 45 if speed == 'quick' variable
|
/openbmc/linux/drivers/net/pcs/ |
H A D | pcs-lynx.c | 78 state->speed = SPEED_2500; in lynx_pcs_get_state_2500basex() 110 phy_speed_to_str(state->speed), in lynx_pcs_get_state() 212 int speed, int duplex) in lynx_pcs_link_up_sgmii() argument 225 switch (speed) { in lynx_pcs_link_up_sgmii() 239 dev_err(&pcs->dev, "Invalid PCS speed %d\n", speed); in lynx_pcs_link_up_sgmii() 267 int speed, int duplex) in lynx_pcs_link_up_2500basex() argument 287 int speed, int duplex) in lynx_pcs_link_up() argument 294 lynx_pcs_link_up_sgmii(lynx->mdio, neg_mode, speed, duplex); in lynx_pcs_link_up() 297 lynx_pcs_link_up_2500basex(lynx->mdio, neg_mode, speed, duplex); in lynx_pcs_link_up()
|
/openbmc/u-boot/drivers/i2c/ |
H A D | mvtwsi.c | 92 uint speed; member 177 inline uint calc_tick(uint speed) in calc_tick() argument 181 return (1000000000u / speed) + 100; in calc_tick() 498 tmp_speed = __twsi_i2c_set_bus_speed(twsi, speed); in __twsi_i2c_init() 673 static void twsi_i2c_init(struct i2c_adapter *adap, int speed, in twsi_i2c_init() argument 677 __twsi_i2c_init(twsi, speed, slaveadd, NULL); in twsi_i2c_init() 778 dev->speed = __twsi_i2c_set_bus_speed(dev->base, speed); 779 dev->tick = calc_tick(dev->speed); 797 dev->speed = fdtdec_get_int(gd->fdt_blob, dev_of_offset(bus), 825 dev->speed = actual_speed; [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_port.c | 148 int speed = 0, mode = 0; in lan966x_port_link_up() local 151 switch (config->speed) { in lan966x_port_link_up() 153 speed = LAN966X_SPEED_10; in lan966x_port_link_up() 156 speed = LAN966X_SPEED_100; in lan966x_port_link_up() 159 speed = LAN966X_SPEED_1000; in lan966x_port_link_up() 163 speed = LAN966X_SPEED_2500; in lan966x_port_link_up() 195 if (config->speed == SPEED_1000) in lan966x_port_link_up() 208 lan_wr(ANA_PFC_CFG_FC_LINK_SPEED_SET(speed), in lan966x_port_link_up() 261 lan_wr(DEV_CLOCK_CFG_LINK_SPEED_SET(speed), in lan966x_port_link_up() 323 state->speed = SPEED_1000; in lan966x_port_status_get() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega10_thermal.c | 68 uint32_t *speed) in vega10_fan_ctrl_get_fan_speed_pwm() argument 84 *speed = MIN((uint32_t)tmp64, 255); in vega10_fan_ctrl_get_fan_speed_pwm() 101 result = vega10_get_current_rpm(hwmgr, speed); in vega10_fan_ctrl_get_fan_speed_rpm() 113 *speed = 60 * crystal_clock_freq * 10000 / tach_period; in vega10_fan_ctrl_get_fan_speed_rpm() 248 uint32_t speed) in vega10_fan_ctrl_set_fan_speed_pwm() argument 258 speed = MIN(speed, 255); in vega10_fan_ctrl_set_fan_speed_pwm() 269 tmp64 = (uint64_t)speed * duty100; in vega10_fan_ctrl_set_fan_speed_pwm() 310 speed == 0 || in vega10_fan_ctrl_set_fan_speed_rpm() 311 (speed < hwmgr->thermal_controller.fanInfo.ulMinRPM) || in vega10_fan_ctrl_set_fan_speed_rpm() 312 (speed > hwmgr->thermal_controller.fanInfo.ulMaxRPM)) in vega10_fan_ctrl_set_fan_speed_rpm() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_82599.c | 25 ixgbe_link_speed speed, 31 ixgbe_link_speed speed, 34 ixgbe_link_speed speed, 326 ixgbe_link_speed *speed, in ixgbe_get_link_capabilities_82599() argument 338 *speed = IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_get_link_capabilities_82599() 376 *speed = IXGBE_LINK_SPEED_UNKNOWN; in ixgbe_get_link_capabilities_82599() 635 switch (speed) { in ixgbe_set_hard_rate_select_speed() 661 ixgbe_link_speed speed, in ixgbe_setup_mac_link_smartspeed() argument 771 ixgbe_link_speed speed, in ixgbe_setup_mac_link_82599() argument 794 speed &= link_capabilities; in ixgbe_setup_mac_link_82599() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | stih410-b2260.dts | 77 /* Low speed expansion connector */ 83 /* Low speed expansion connector */ 89 /* Low speed expansion connector */ 96 /* Low speed expansion connector */ 102 /* Low speed expansion connector */ 108 /* high speed expansion connector */ 115 /* high speed expansion connector */ 128 /* high speed expansion connector */
|
/openbmc/u-boot/drivers/usb/emul/ |
H A D | sandbox_hub.c | 122 enum usb_device_speed *speed) in hub_find_device() argument 142 *speed = USB_SPEED_LOW; in hub_find_device() 145 *speed = USB_SPEED_FULL; in hub_find_device() 149 *speed = USB_SPEED_HIGH; in hub_find_device() 168 enum usb_device_speed speed; in clrset_post_state() local 169 struct udevice *dev = hub_find_device(hub, port, &speed); in clrset_post_state() 179 if (speed == USB_SPEED_LOW) in clrset_post_state() 181 else if (speed == USB_SPEED_HIGH) in clrset_post_state()
|
/openbmc/u-boot/drivers/net/pfe_eth/ |
H A D | pfe_eth.c | 49 static inline void pfe_gemac_set_speed(void *gemac_base, u32 speed) in pfe_gemac_set_speed() argument 57 if (speed == _1000BASET) { in pfe_gemac_set_speed() 60 } else if (speed != _100BASET) { in pfe_gemac_set_speed() 116 int speed; in pfe_eth_start() local 136 speed = priv->phydev->speed; in pfe_eth_start() 137 printf("Speed detected %x\n", speed); in pfe_eth_start() 144 pfe_gemac_set_speed(gem->gemac_base, speed); in pfe_eth_start()
|
/openbmc/openbmc-test-automation/redfish/extended/ |
H A D | test_fan_operation.robot | 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 61 # The maximum target speed. 68 # the fans to normal speed. 77 [Documentation] Verify that the speed of working fans increase when 81 # an enclosure LED will light. The other fans should speed up.
|
/openbmc/linux/sound/firewire/ |
H A D | iso-resources.c | 48 static unsigned int packet_bandwidth(unsigned int max_payload_bytes, int speed) in packet_bandwidth() argument 56 if (speed <= SCODE_400) in packet_bandwidth() 57 s400_bytes = bytes * (1 << (SCODE_400 - speed)); in packet_bandwidth() 59 s400_bytes = DIV_ROUND_UP(bytes, 1 << (speed - SCODE_400)); in packet_bandwidth() 106 unsigned int max_payload_bytes, int speed) in fw_iso_resources_allocate() argument 114 r->bandwidth = packet_bandwidth(max_payload_bytes, speed); in fw_iso_resources_allocate()
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | ethtool_lanes.sh | 65 ethtool -s $swp1 speed $max_speed lanes $unsupported_lanes $autoneg_str &> /dev/null 92 local speed=$1; shift 97 if [[ $speed -eq ${arr[$i]} && $lanes -eq ${arr[i+1]} ]]; then 122 ethtool_set $swp1 speed $max_speed lanes $lanes 159 ethtool_set $swp1 speed $max_speed lanes $lanes autoneg off 160 ethtool_set $swp2 speed $max_speed lanes $lanes autoneg off
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-diolan-u2c.c | 251 static int diolan_set_speed(struct i2c_diolan_u2c *dev, u8 speed) in diolan_set_speed() argument 298 int speed, ret; in diolan_init() local 301 speed = U2C_I2C_SPEED_FAST; in diolan_init() 304 speed = U2C_I2C_SPEED_STD; in diolan_init() 307 speed = U2C_I2C_SPEED(frequency); in diolan_init() 308 if (speed > U2C_I2C_SPEED_2KHZ) in diolan_init() 309 speed = U2C_I2C_SPEED_2KHZ; in diolan_init() 310 frequency = U2C_I2C_FREQ(speed); in diolan_init() 322 ret = diolan_set_speed(dev, speed); in diolan_init() 327 ret = diolan_set_clock_synch(dev, speed != U2C_I2C_SPEED_FAST); in diolan_init() [all …]
|