/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_phylink.c | 50 int speed, int duplex, in lan966x_phylink_mac_link_up() argument 57 port_config->speed = speed; in lan966x_phylink_mac_link_up() 63 phy_set_speed(port->serdes, speed); in lan966x_phylink_mac_link_up()
|
/openbmc/u-boot/cmd/ |
H A D | sf.c | 84 unsigned int speed = CONFIG_SF_DEFAULT_SPEED; in do_spi_flash_probe() local 91 speed = 0, mode = 0; in do_spi_flash_probe() 112 speed = simple_strtoul(argv[2], &endp, 0); in do_spi_flash_probe() 129 ret = spi_flash_probe_bus_cs(bus, cs, speed, mode, &new); in do_spi_flash_probe() 141 new = spi_flash_probe(bus, cs, speed, mode); in do_spi_flash_probe() 408 uint64_t speed; /* KiB/s */ in show_time() local 411 speed = (long long)test->bytes * 1000; in show_time() 413 do_div(speed, test->time_ms[stage] * 1024); in show_time() 414 bps = speed * 8; in show_time() 418 (int)speed, bps / 1000, bps % 1000); in show_time()
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_common.c | 40 hw->bus_caps.speed = fm10k_bus_speed_2500; in fm10k_get_bus_info_generic() 43 hw->bus_caps.speed = fm10k_bus_speed_5000; in fm10k_get_bus_info_generic() 46 hw->bus_caps.speed = fm10k_bus_speed_8000; in fm10k_get_bus_info_generic() 49 hw->bus_caps.speed = fm10k_bus_speed_unknown; in fm10k_get_bus_info_generic() 94 hw->bus.speed = fm10k_bus_speed_2500; in fm10k_get_bus_info_generic() 97 hw->bus.speed = fm10k_bus_speed_5000; in fm10k_get_bus_info_generic() 100 hw->bus.speed = fm10k_bus_speed_8000; in fm10k_get_bus_info_generic() 103 hw->bus.speed = fm10k_bus_speed_unknown; in fm10k_get_bus_info_generic()
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/ti/ |
H A D | tlan.rst | 84 4. You can set speed=10 to force 10Mbs operation, and speed=100 89 5. You have to use speed=X duplex=Y together now. If you just 90 do "insmod tlan.o speed=100" the driver will do Auto-Neg. 91 To force a 10Mbps Half-Duplex link do "insmod tlan.o speed=10 113 You also need to set both speed and duplex settings when forcing 121 insmod tlan speed=0,100 duplex=0,1 133 3. Try forcing different speed/duplex settings
|
/openbmc/linux/drivers/spi/ |
H A D | spi-ppc4xx.c | 168 u32 speed; in spi_ppc4xx_setupxfer() local 171 speed = spi->max_speed_hz; in spi_ppc4xx_setupxfer() 179 speed = min(t->speed_hz, spi->max_speed_hz); in spi_ppc4xx_setupxfer() 182 if (!speed || (speed > spi->max_speed_hz)) { in spi_ppc4xx_setupxfer() 183 dev_err(&spi->dev, "invalid speed_hz (%d)\n", speed); in spi_ppc4xx_setupxfer() 192 scr = (hw->opb_freq / speed) - 1; in spi_ppc4xx_setupxfer() 196 dev_dbg(&spi->dev, "setting pre-scaler to %d (hz %d)\n", cdm, speed); in spi_ppc4xx_setupxfer()
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | rpaphp_core.c | 125 enum pci_bus_speed speed; in get_max_bus_speed() local 133 speed = PCI_SPEED_33MHz; /* speed for case 1-6 */ in get_max_bus_speed() 137 speed = PCI_SPEED_66MHz; in get_max_bus_speed() 141 speed = PCI_SPEED_66MHz_PCIX; in get_max_bus_speed() 145 speed = PCI_SPEED_100MHz_PCIX; in get_max_bus_speed() 149 speed = PCI_SPEED_133MHz_PCIX; in get_max_bus_speed() 152 speed = PCI_SPEED_UNKNOWN; in get_max_bus_speed() 156 return speed; in get_max_bus_speed()
|
/openbmc/linux/drivers/phy/renesas/ |
H A D | r8a779f0-ether-serdes.c | 29 int speed; member 148 if (channel->speed == 1000) in r8a779f0_eth_serdes_chan_setting() 150 else if (channel->speed == 100) in r8a779f0_eth_serdes_chan_setting() 173 if (channel->speed == 1000) in r8a779f0_eth_serdes_chan_speed() 175 else if (channel->speed == 100) in r8a779f0_eth_serdes_chan_speed() 306 static int r8a779f0_eth_serdes_set_speed(struct phy *p, int speed) in r8a779f0_eth_serdes_set_speed() argument 310 channel->speed = speed; in r8a779f0_eth_serdes_set_speed()
|
/openbmc/u-boot/arch/arm/include/asm/mach-imx/ |
H A D | mxc_i2c.h | 48 int speed; member 93 int setup_i2c(unsigned i2c_index, int speed, int slave_addr, 95 void bus_i2c_init(int index, int speed, int slave_addr,
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 245.out | 4 {"data": {"device": "commit0", "len": 3145728, "offset": 3145728, "speed": 0, "type": "commit"}, "e… 8 {"data": {"device": "stream0", "len": 3145728, "offset": 3145728, "speed": 0, "type": "stream"}, "e… 12 {"data": {"device": "stream0", "len": 3145728, "offset": 3145728, "speed": 0, "type": "stream"}, "e…
|
H A D | 256.out | 65 {"data": {"device": "j0", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "even… 66 {"data": {"device": "j1", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "even… 116 {"data": {"device": "j2", "len": 0, "offset": 0, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB… 117 {"data": {"device": "j3", "len": 0, "offset": 0, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB…
|
/openbmc/linux/include/linux/usb/ |
H A D | phy.h | 149 enum usb_device_speed speed); 151 enum usb_device_speed speed); 320 usb_phy_notify_connect(struct usb_phy *x, enum usb_device_speed speed) in usb_phy_notify_connect() argument 323 return x->notify_connect(x, speed); in usb_phy_notify_connect() 329 usb_phy_notify_disconnect(struct usb_phy *x, enum usb_device_speed speed) in usb_phy_notify_disconnect() argument 332 return x->notify_disconnect(x, speed); in usb_phy_notify_disconnect()
|
/openbmc/linux/Documentation/driver-api/thermal/ |
H A D | nouveau_thermal.rst | 32 Fan speed is set to 100% when reaching this temperature; 66 The minimum PWM speed allowed; 68 The maximum PWM speed allowed (bypassed when hitting Fan_boost); 78 * 1: The fan can be driven in manual (use pwm1 to change the speed); 82 Be sure to use the manual mode if you want to drive the fan speed manually 86 [PWM_min, PWM_max] range, the reported fan speed (RPM) may not be accurate
|
/openbmc/linux/Documentation/hwmon/ |
H A D | max6650.rst | 40 fan1_input ro fan tachometer speed in RPM 44 fan1_target rw desired fan speed in RPM (closed loop mode only) 47 pwm1 rw relative speed (0-255), 255=max. speed. 49 fan1_div rw sets the speed range the inputs can handle. Legal
|
/openbmc/linux/drivers/input/misc/ |
H A D | twl4030-vibra.c | 35 int speed; member 94 pwm = info->speed; in vibra_play_work() 127 info->speed = effect->u.rumble.strong_magnitude >> 8; in vibra_play() 128 if (!info->speed) in vibra_play() 129 info->speed = effect->u.rumble.weak_magnitude >> 9; in vibra_play()
|
/openbmc/u-boot/drivers/net/ |
H A D | bcm6368-eth.c | 221 int val, j, up, adv, lpa, speed, duplex, media; in bcm6368_eth_adjust_link() local 269 speed = 100; in bcm6368_eth_adjust_link() 271 speed = 10; in bcm6368_eth_adjust_link() 282 speed = 1000; in bcm6368_eth_adjust_link() 288 port->name, speed, duplex ? "full" : "half"); in bcm6368_eth_adjust_link() 293 if (speed == 1000) in bcm6368_eth_adjust_link() 295 else if (speed == 100) in bcm6368_eth_adjust_link() 588 int speed; in bcm6368_eth_probe() local 615 speed = ofnode_read_u32_default(node, "speed", 0); in bcm6368_eth_probe() 616 if (speed) in bcm6368_eth_probe() [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | hub.c | 414 vhub->speed = USB_SPEED_HIGH; in ast_vhub_std_hub_request() 416 vhub->speed = USB_SPEED_FULL; in ast_vhub_std_hub_request() 601 u16 set, clr, speed; in ast_vhub_port_reset() local 620 speed = p->dev.driver->max_speed; in ast_vhub_port_reset() 621 if (speed == USB_SPEED_UNKNOWN || speed > vhub->speed) in ast_vhub_port_reset() 622 speed = vhub->speed; in ast_vhub_port_reset() 624 switch (speed) { in ast_vhub_port_reset() 641 speed); in ast_vhub_port_reset() 868 if (vhub->speed == USB_SPEED_UNKNOWN) in ast_vhub_hub_reset() 875 vhub->speed = USB_SPEED_UNKNOWN; in ast_vhub_hub_reset() [all …]
|
/openbmc/u-boot/drivers/i2c/ |
H A D | Kconfig | 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 275 MXC I2C Channel 4 speed 289 MXC I2C Channel 5 speed 303 MXC I2C Channel 6 speed 317 MXC I2C Channel 7 speed [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | phy.c | 121 phy_speed_to_str(phydev->speed), in phy_print_status() 279 phydev->speed = setting->speed; in phy_sanitize_settings() 283 phydev->speed = SPEED_UNKNOWN; in phy_sanitize_settings() 296 cmd->base.speed = phydev->speed; in phy_ethtool_ksettings_get() 371 phydev->speed = SPEED_1000; in phy_mii_ioctl() 373 phydev->speed = SPEED_100; in phy_mii_ioctl() 1049 u32 speed = cmd->base.speed; in phy_ethtool_ksettings_set() local 1067 ((speed != SPEED_1000 && in phy_ethtool_ksettings_set() 1068 speed != SPEED_100 && in phy_ethtool_ksettings_set() 1069 speed != SPEED_10) || in phy_ethtool_ksettings_set() [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/net/ |
H A D | fixed-link.txt | 12 * 'speed' (integer, mandatory), to indicate the link speed. Accepted 26 speed = <1000>;
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-w1_ds28e17 | 1 What: /sys/bus/w1/devices/19-<id>/speed 5 Description: When written, this file sets the I2C speed on the connected 11 Default 100, can be set by w1_ds28e17.speed= module parameter.
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | aquantia.c | 346 u32 reg, speed; in aquantia_startup() local 378 speed = phy_read(phydev, MDIO_MMD_PMAPMD, MII_BMCR); in aquantia_startup() 379 if (speed & AQUNTIA_SPEED_MSB_MASK) { in aquantia_startup() 380 if (speed & AQUNTIA_SPEED_LSB_MASK) in aquantia_startup() 381 phydev->speed = SPEED_10000; in aquantia_startup() 383 phydev->speed = SPEED_1000; in aquantia_startup() 385 if (speed & AQUNTIA_SPEED_LSB_MASK) in aquantia_startup() 386 phydev->speed = SPEED_100; in aquantia_startup() 388 phydev->speed = SPEED_10; in aquantia_startup()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_mac.h | 194 u16 speed;/* The forced speed (lower bits) in */ member 324 u16 speed; member 353 int (*adjust_link)(void *mac_drv, enum mac_speed speed, 356 bool (*need_adjust_link)(void *mac_drv, enum mac_speed speed, 408 #define MAC_MAKE_MODE(interface, speed) (enum mac_mode)((interface) | (speed)) argument 425 bool hns_mac_need_adjust_link(struct hns_mac_cb *mac_cb, int speed, int duplex); 435 void hns_mac_adjust_link(struct hns_mac_cb *mac_cb, int speed, int duplex); 443 u8 *auto_neg, u16 *speed, u8 *duplex);
|
/openbmc/linux/Documentation/usb/ |
H A D | ehci.rst | 7 The EHCI driver is used to talk to high speed USB 2.0 devices using 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 69 most USB audio and video devices can't be connected to high speed buses. 108 take over (at lower speed) all the devices that were previously handled 138 but they may want to check for "usb_device->speed == USB_SPEED_HIGH". 139 High speed devices can do things that full speed (or low speed) ones 157 individual high speed packets, driver intelligence, and of course the [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-mxs.c | 698 static void mxs_i2c_derive_timing(struct mxs_i2c_dev *i2c, uint32_t speed) in mxs_i2c_derive_timing() argument 707 divider = DIV_ROUND_UP(clk, speed); in mxs_i2c_derive_timing() 717 speed / 1000, speed % 1000, in mxs_i2c_derive_timing() 727 speed / 1000, speed % 1000, in mxs_i2c_derive_timing() 745 if (speed > I2C_MAX_STANDARD_MODE_FREQ) { in mxs_i2c_derive_timing() 763 speed, clk / divider, divider, low_count, high_count, in mxs_i2c_derive_timing() 775 uint32_t speed; in mxs_i2c_get_ofdata() local 780 ret = of_property_read_u32(node, "clock-frequency", &speed); in mxs_i2c_get_ofdata() 783 speed = I2C_MAX_STANDARD_MODE_FREQ; in mxs_i2c_get_ofdata() 786 mxs_i2c_derive_timing(i2c, speed); in mxs_i2c_get_ofdata()
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_pm72.c | 466 int speed; in backside_fan_tick() local 480 backside_pid.target = speed; in backside_fan_tick() 490 speed = wf_pid_run(&backside_pid, temp); in backside_fan_tick() 493 FIX32TOPRINT(temp), speed); in backside_fan_tick() 495 err = wf_control_set(backside_fan, speed); in backside_fan_tick() 546 int speed; in drives_fan_tick() local 558 err = wf_control_get(drives_fan, &speed); in drives_fan_tick() 560 drives_pid.target = speed; in drives_fan_tick() 569 speed = wf_pid_run(&drives_pid, temp); in drives_fan_tick() 572 FIX32TOPRINT(temp), speed); in drives_fan_tick() [all …]
|