/openbmc/u-boot/drivers/phy/marvell/ |
H A D | comphy_a3700.c | 165 static int comphy_pcie_power_up(u32 speed, u32 invert) in comphy_pcie_power_up() argument 663 static void comphy_sgmii_phy_init(u32 lane, u32 speed) in comphy_sgmii_phy_init() argument 678 if ((speed != PHY_SPEED_1_25G) && in comphy_sgmii_phy_init() 697 static int comphy_sgmii_power_up(u32 lane, u32 speed, u32 invert) in comphy_sgmii_power_up() argument 730 if (speed == PHY_SPEED_3_125G) { /* 3.125 GHz */ in comphy_sgmii_power_up() 736 } else if (speed == PHY_SPEED_1_25G) { /* 1.25 GHz */ in comphy_sgmii_power_up() 812 speed == PHY_SPEED_3_125G ? "2G5" : "1G"); in comphy_sgmii_power_up() 814 comphy_sgmii_phy_init(lane, speed); in comphy_sgmii_power_up() 990 ret = comphy_pcie_power_up(comphy_map->speed, in comphy_a3700_init() 998 comphy_map->speed, in comphy_a3700_init() [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | phylink.c | 463 if (speed == phylink_caps_params[i].speed && in phylink_cap_from_speed_duplex() 764 pl->link_config.speed = speed; in phylink_parse_fixedlink() 1272 state->speed = pl->link_config.speed; in phylink_mac_pcs_get_state() 1352 speed = link_state.speed; in phylink_link_up() 1735 pl->phy_state.speed = phydev->speed; in phylink_phy_change() 2301 kset->base.speed = state->speed; in phylink_get_ksettings() 2425 if (s->speed != pl->link_config.speed || in phylink_ethtool_ksettings_set() 2431 config.speed = s->speed; in phylink_ethtool_ksettings_set() 2499 pl->link_config.speed = config.speed; in phylink_ethtool_ksettings_set() 2742 fs.speed = state->speed; in phylink_mii_emul_read() [all …]
|
H A D | xilinx_gmii2rgmii.c | 30 static void xgmiitorgmii_configure(struct gmii2rgmii *priv, int speed) in xgmiitorgmii_configure() argument 39 if (speed == SPEED_1000) in xgmiitorgmii_configure() 41 else if (speed == SPEED_100) in xgmiitorgmii_configure() 61 xgmiitorgmii_configure(priv, phydev->speed); in xgmiitorgmii_read_status() 78 xgmiitorgmii_configure(priv, phydev->speed); in xgmiitorgmii_set_loopback()
|
H A D | bcm84881.c | 159 phydev->speed = SPEED_UNKNOWN; in bcm84881_read_status() 207 phydev->speed = SPEED_100; in bcm84881_read_status() 210 phydev->speed = SPEED_1000; in bcm84881_read_status() 213 phydev->speed = SPEED_10000; in bcm84881_read_status() 216 phydev->speed = SPEED_2500; in bcm84881_read_status() 219 phydev->speed = SPEED_5000; in bcm84881_read_status()
|
/openbmc/linux/drivers/media/usb/stk1160/ |
H A D | stk1160-core.c | 181 const char *speed; in stk1160_scan_usb() local 195 if (udev->speed == USB_SPEED_HIGH) in stk1160_scan_usb() 219 switch (udev->speed) { in stk1160_scan_usb() 221 speed = "1.5"; in stk1160_scan_usb() 224 speed = "12"; in stk1160_scan_usb() 227 speed = "480"; in stk1160_scan_usb() 230 speed = "unknown"; in stk1160_scan_usb() 236 speed, in stk1160_scan_usb() 257 if (udev->speed != USB_SPEED_HIGH) in stk1160_scan_usb()
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_join.sh | 62 unset speed 1015 local speed=${speed:-"fast"} 2051 speed=slow \ 2063 speed=slow \ 2075 speed=slow \ 2088 speed=slow \ 2203 speed=slow \ 2314 speed=slow \ 2326 speed=slow \ 2338 speed=10 \ [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | adt7475.rst | 59 for measuring fan speed. There are three (3) PWM outputs that can be used 60 to control fan speed. 63 ADT747x that allows fan speed to be adjusted automatically based on any of the 69 Each of the measured inputs (voltage, temperature, fan speed) has 128 - point1: Set the PWM speed at the lower temperature bound 129 - point2: Set the PWM speed at the higher temperature bound 132 speed when the temperature is between the two temperature boundaries. 137 fan speed) is applied. PWM values range from 0 (off) to 255 (full speed). 139 Fan speed may be set to maximum when the temperature sensor associated with 148 This allows smoothing of the fan speed transition. To set the transition time
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-ipq806x.c | 115 static int get_clk_div_sgmii(struct ipq806x_gmac *gmac, unsigned int speed) in get_clk_div_sgmii() argument 120 switch (speed) { in get_clk_div_sgmii() 134 dev_err(dev, "Speed %dMbps not supported in SGMII\n", speed); in get_clk_div_sgmii() 141 static int get_clk_div_rgmii(struct ipq806x_gmac *gmac, unsigned int speed) in get_clk_div_rgmii() argument 146 switch (speed) { in get_clk_div_rgmii() 160 dev_err(dev, "Speed %dMbps not supported in RGMII\n", speed); in get_clk_div_rgmii() 167 static int ipq806x_gmac_set_speed(struct ipq806x_gmac *gmac, unsigned int speed) in ipq806x_gmac_set_speed() argument 174 div = get_clk_div_rgmii(gmac, speed); in ipq806x_gmac_set_speed() 180 div = get_clk_div_sgmii(gmac, speed); in ipq806x_gmac_set_speed() 260 static void ipq806x_gmac_fix_mac_speed(void *priv, unsigned int speed, unsigned int mode) in ipq806x_gmac_fix_mac_speed() argument [all …]
|
/openbmc/linux/arch/m68k/amiga/ |
H A D | pcmcia.c | 93 void pcmcia_access_speed(int speed) in pcmcia_access_speed() argument 97 if (speed <= PCMCIA_SPEED_100NS) in pcmcia_access_speed() 99 else if (speed <= PCMCIA_SPEED_150NS) in pcmcia_access_speed() 101 else if (speed <= PCMCIA_SPEED_250NS) in pcmcia_access_speed()
|
/openbmc/openbmc/meta-raspberrypi/recipes-connectivity/bluez5/bluez5/ |
H A D | 0002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch | 4 Subject: [PATCH] bcm43xx: The UART speed must be reset after the firmware 17 @@ -350,11 +350,8 @@ int bcm43xx_init(int fd, int def_speed, int speed, struct termios *ti, 24 - if (bcm43xx_set_speed(fd, ti, speed)) 30 @@ -364,6 +361,7 @@ int bcm43xx_init(int fd, int def_speed, int speed, struct termios *ti,
|
/openbmc/linux/drivers/cpufreq/ |
H A D | speedstep-ich.c | 236 unsigned int *speed = _speed; in get_freq_data() local 238 *speed = speedstep_get_frequency(speedstep_processor); in get_freq_data() 243 unsigned int speed; in speedstep_get() local 246 BUG_ON(smp_call_function_single(cpu, get_freq_data, &speed, 1)); in speedstep_get() 248 pr_debug("detected %u kHz as current frequency\n", speed); in speedstep_get() 249 return speed; in speedstep_get()
|
/openbmc/u-boot/test/py/tests/ |
H A D | test_sf.py | 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])
|
/openbmc/linux/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mii-fec.c | 107 int ret = -ENOMEM, clock, speed; in fs_enet_mdio_probe() local 153 speed = (clock + 4999999) / 5000000; in fs_enet_mdio_probe() 154 if (speed > 0x3F) { in fs_enet_mdio_probe() 155 speed = 0x3F; in fs_enet_mdio_probe() 158 clock / speed); in fs_enet_mdio_probe() 161 fec->mii_speed = speed << 1; in fs_enet_mdio_probe()
|
/openbmc/linux/drivers/usb/gadget/udc/bdc/ |
H A D | bdc_udc.c | 75 u32 speed, temp; in bdc_uspc_connected() local 80 speed = BDC_PSP(temp); in bdc_uspc_connected() 82 switch (speed) { in bdc_uspc_connected() 87 bdc->gadget.speed = USB_SPEED_SUPER; in bdc_uspc_connected() 99 bdc->gadget.speed = USB_SPEED_HIGH; in bdc_uspc_connected() 105 bdc->gadget.speed = USB_SPEED_FULL; in bdc_uspc_connected() 111 bdc->gadget.speed = USB_SPEED_LOW; in bdc_uspc_connected() 149 bdc->gadget.speed = USB_SPEED_UNKNOWN; in bdc_uspc_disconnected() 200 if (bdc->gadget.speed == USB_SPEED_SUPER) { in handle_link_state_change() 492 if (bdc->gadget.speed == USB_SPEED_SUPER) in bdc_udc_wakeup() [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | legacy_serial.c | 34 unsigned int speed; member 159 legacy_serial_infos[index].speed); in add_legacy_port() 349 if (info->speed == 0) in setup_legacy_serial_console() 350 info->speed = udbg_probe_uart_speed(info->clock); in setup_legacy_serial_console() 353 DBG("default console speed = %d\n", info->speed); in setup_legacy_serial_console() 354 udbg_uart_setup(info->speed, info->clock); in setup_legacy_serial_console() 612 int i, speed = 0, offset = 0; in check_legacy_serial_console() local 656 speed = be32_to_cpup(spd); in check_legacy_serial_console() 666 speed = legacy_serial_infos[i].speed; in check_legacy_serial_console() 676 if (speed) { in check_legacy_serial_console() [all …]
|
/openbmc/u-boot/include/ |
H A D | i2c.h | 212 int dm_i2c_set_bus_speed(struct udevice *bus, unsigned int speed); 334 void i2c_init(int speed, int slaveaddr); 398 int (*set_bus_speed)(struct udevice *bus, unsigned int speed); 598 void (*init)(struct i2c_adapter *adap, int speed, 608 uint speed); 609 int speed; member 625 .speed = _speed, \ 709 void i2c_init(int speed, int slaveaddr); 783 unsigned int i2c_set_bus_speed(unsigned int speed);
|
/openbmc/linux/Documentation/admin-guide/pm/ |
H A D | intel-speed-select.rst | 29 intel-speed-select configuration tool 38 # cd tools/power/x86/intel-speed-select/ 47 # intel-speed-select --help 52 # intel-speed-select perf-profile --help 62 #intel-speed-select --info 66 # intel-speed-select --info 156 speed-select-base-freq:disabled 279 # intel-speed-select --oob 300 speed-select-base-freq:disabled 634 speed-select-base-freq [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | amd-xgbe.txt | 31 - amd,speed-set: Speed capabilities of the device 39 value corresponding to a particular speed. The first array value represents 40 the setting for the 1GbE speed, the second value for the 2.5GbE speed and 41 the third value for the 10GbE speed. All three values are required if the 46 - amd,serdes-cdr-rate: CDR rate speed selection 69 amd,speed-set = <0>;
|
/openbmc/u-boot/drivers/net/fm/ |
H A D | dtsec.c | 110 phy_interface_t type, int speed) in dtsec_set_interface_mode() argument 123 if (speed == SPEED_1000) in dtsec_set_interface_mode() 135 if (speed == SPEED_100) in dtsec_set_interface_mode() 139 if (speed == SPEED_100) in dtsec_set_interface_mode() 144 if (speed == SPEED_100) in dtsec_set_interface_mode()
|
/openbmc/u-boot/test/dm/ |
H A D | spi.c | 24 const int busnum = 0, cs = 0, mode = 0, speed = 1000000, cs_b = 1; in dm_test_spi_find() local 50 ut_asserteq(-ENODEV, spi_get_bus_and_cs(busnum, cs, speed, mode, in dm_test_spi_find() 60 ut_asserteq(-ENOENT, spi_get_bus_and_cs(busnum, cs, speed, mode, in dm_test_spi_find() 71 ut_assertok(spi_get_bus_and_cs(busnum, cs, speed, mode, in dm_test_spi_find() 80 ut_assertok(spi_get_bus_and_cs(busnum, cs_b, speed, mode, in dm_test_spi_find()
|
/openbmc/linux/drivers/net/ethernet/ibm/emac/ |
H A D | phy.c | 115 phy->speed = SPEED_10; in genmii_setup_aneg() 169 static int genmii_setup_forced(struct mii_phy *phy, int speed, int fd) in genmii_setup_forced() argument 174 phy->speed = speed; in genmii_setup_forced() 187 switch (speed) { in genmii_setup_forced() 239 phy->speed = SPEED_10; in genmii_read_link() 244 phy->speed = SPEED_1000; in genmii_read_link() 248 phy->speed = SPEED_100; in genmii_read_link() 268 phy->speed = SPEED_1000; in genmii_read_link() 270 phy->speed = SPEED_100; in genmii_read_link() 272 phy->speed = SPEED_10; in genmii_read_link() [all …]
|
/openbmc/linux/drivers/phy/microchip/ |
H A D | lan966x_serdes.c | 136 int speed; member 320 ret_val->tx_rate = macro->speed == SPEED_2500 ? 0x1 : 0x2; in lan966x_sd6g40_get_conf_from_mode() 321 ret_val->rx_rate = macro->speed == SPEED_2500 ? 0x1 : 0x2; in lan966x_sd6g40_get_conf_from_mode() 325 ret_val->tx_rate = macro->speed == SPEED_2500 ? 0x1 : 0x2; in lan966x_sd6g40_get_conf_from_mode() 326 ret_val->rx_rate = macro->speed == SPEED_2500 ? 0x1 : 0x2; in lan966x_sd6g40_get_conf_from_mode() 405 macro->speed == SPEED_100 ? 2 : in lan966x_rgmii_setup() 406 macro->speed == SPEED_10 ? 3 : 0), in lan966x_rgmii_setup() 444 static int serdes_set_speed(struct phy *phy, int speed) in serdes_set_speed() argument 451 macro->speed = speed; in serdes_set_speed() 468 macro->speed = SPEED_2500; in serdes_set_mode() [all …]
|
/openbmc/linux/drivers/bluetooth/ |
H A D | hci_ldisc.c | 380 tty_termios_encode_baud_rate(&ktermios, speed, speed); in hci_uart_set_baudrate() 394 unsigned int speed; in hci_uart_setup() local 399 speed = hu->init_speed; in hci_uart_setup() 401 speed = hu->proto->init_speed; in hci_uart_setup() 403 speed = 0; in hci_uart_setup() 405 if (speed) in hci_uart_setup() 406 hci_uart_set_baudrate(hu, speed); in hci_uart_setup() 410 speed = hu->oper_speed; in hci_uart_setup() 412 speed = hu->proto->oper_speed; in hci_uart_setup() 414 speed = 0; in hci_uart_setup() [all …]
|
/openbmc/u-boot/tools/gdb/ |
H A D | gdbcont.c | 16 speed_t speed = B230400; variable 33 if ((speed = cvtspeed(optarg)) == B0) in main() 56 if ((sfd = serialopen(serialdev, speed)) < 0) in main()
|
/openbmc/u-boot/drivers/i2c/ |
H A D | imx_lpi2c.c | 21 static int bus_i2c_init(struct udevice *bus, int speed); 269 static int bus_i2c_set_bus_speed(struct udevice *bus, int speed) in bus_i2c_set_bus_speed() argument 308 abs_error = speed > rate ? speed - rate : rate - speed; in bus_i2c_set_bus_speed() 347 static int bus_i2c_init(struct udevice *bus, int speed) in bus_i2c_init() argument 372 ret = bus_i2c_set_bus_speed(bus, speed); in bus_i2c_init() 378 debug("i2c : controller bus %d, speed %d:\n", bus->seq, speed); in bus_i2c_init() 430 static int imx_lpi2c_set_bus_speed(struct udevice *bus, unsigned int speed) in imx_lpi2c_set_bus_speed() argument 432 return bus_i2c_set_bus_speed(bus, speed); in imx_lpi2c_set_bus_speed() 487 i2c_bus->speed); in imx_lpi2c_probe()
|