Home
last modified time | relevance | path

Searched refs:speed (Results 1 – 25 of 1273) sorted by relevance

12345678910>>...51

/external/u-boot/drivers/spi/
Dspi-uclass.c18 static int spi_set_speed_mode(struct udevice *bus, int speed, int mode) in spi_set_speed_mode() argument
25 ret = ops->set_speed(bus, speed); in spi_set_speed_mode()
51 int speed; in dm_spi_claim_bus() local
53 speed = slave->max_hz; in dm_spi_claim_bus()
55 if (speed) in dm_spi_claim_bus()
56 speed = min(speed, (int)spi->max_hz); in dm_spi_claim_bus()
58 speed = spi->max_hz; in dm_spi_claim_bus()
60 if (!speed) in dm_spi_claim_bus()
61 speed = 100000; in dm_spi_claim_bus()
62 if (speed != slave->speed) { in dm_spi_claim_bus()
[all …]
/external/u-boot/drivers/qe/
Duec_phy.c84 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()
354 mii_info->speed == SPEED_100) in genmii_config_aneg()
422 mii_info->speed = SPEED_1000; in genmii_read_status()
435 mii_info->speed = SPEED_100; in genmii_read_status()
437 mii_info->speed = SPEED_10; in genmii_read_status()
457 (uec->uec_info->speed == SPEED_1000)) { in bcm_init()
486 int speed = uec->uec_info->speed; in uec_marvell_init() local
[all …]
/external/u-boot/drivers/i2c/
Dstm32f7_i2c.c167 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()
579 clk_max = STM32_NSEC_PER_SEC / i2c_specs[setup->speed].rate_min; in stm32_i2c_choose_solution()
580 clk_min = STM32_NSEC_PER_SEC / i2c_specs[setup->speed].rate_max; in stm32_i2c_choose_solution()
597 if ((tscl_l < i2c_specs[setup->speed].l_min) || in stm32_i2c_choose_solution()
609 (tscl_h >= i2c_specs[setup->speed].h_min) && in stm32_i2c_choose_solution()
644 if (setup->speed >= STM32_I2C_SPEED_END) { in stm32_i2c_compute_timing()
[all …]
Domap24xx_i2c.c58 unsigned int speed; member
63 static int omap24_i2c_findpsc(u32 *pscl, u32 *psch, uint speed) in omap24_i2c_findpsc() argument
80 speed /= 1000; /* convert speed to kHz */ in omap24_i2c_findpsc()
82 if (speed > 100) in omap24_i2c_findpsc()
91 if (speed > 100) { in omap24_i2c_findpsc()
95 scl = internal_clk / speed; in omap24_i2c_findpsc()
100 *pscl = internal_clk / (speed * 2) - I2C_FASTSPEED_SCLL_TRIM; in omap24_i2c_findpsc()
101 *psch = internal_clk / (speed * 2) - I2C_FASTSPEED_SCLH_TRIM; in omap24_i2c_findpsc()
105 __func__, speed, prescaler, *pscl, *psch); in omap24_i2c_findpsc()
199 static int __omap24_i2c_setspeed(struct i2c *i2c_base, uint speed, argument
[all …]
Di2c_core.c172 static void i2c_init_bus(unsigned int bus_no, int speed, int slaveaddr) in i2c_init_bus() argument
177 I2C_ADAP->init(I2C_ADAP, speed, slaveaddr); in i2c_init_bus()
181 I2C_ADAP->speed = speed; in i2c_init_bus()
261 i2c_init_bus(bus, I2C_ADAP->speed, I2C_ADAP->slaveaddr); in i2c_set_bus_num()
302 unsigned int i2c_set_bus_speed(unsigned int speed) in i2c_set_bus_speed() argument
308 ret = I2C_ADAP->set_bus_speed(I2C_ADAP, speed); in i2c_set_bus_speed()
310 I2C_ADAP->speed = (ret == 0) ? speed : 0; in i2c_set_bus_speed()
318 return cur->speed; in i2c_get_bus_speed()
345 __weak void i2c_init(int speed, int slaveaddr) in i2c_init() argument
347 i2c_init_bus(i2c_get_bus_num(), speed, slaveaddr); in i2c_init()
Ddavinci_i2c.c26 uint speed; member
88 uint speed) in _davinci_i2c_setspeed() argument
94 div = (CONFIG_SYS_HZ_CLOCK / ((psc + 1) * speed)) - 10; in _davinci_i2c_setspeed()
103 uint speed, int slaveadd) in _davinci_i2c_init() argument
110 _davinci_i2c_setspeed(i2c_base, speed); in _davinci_i2c_init()
363 static uint davinci_i2c_setspeed(struct i2c_adapter *adap, uint speed) in davinci_i2c_setspeed() argument
368 adap->speed = speed; in davinci_i2c_setspeed()
369 ret = _davinci_i2c_setspeed(i2c_base, speed); in davinci_i2c_setspeed()
374 static void davinci_i2c_init(struct i2c_adapter *adap, int speed, in davinci_i2c_init() argument
379 adap->speed = speed; in davinci_i2c_init()
[all …]
Dfsl_i2c.c120 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()
144 speed = i2c_clk / divider; /* Fake something */ in set_i2c_bus_speed()
146 debug("Requested speed:%d, i2c_clk:%d\n", speed, i2c_clk); in set_i2c_bus_speed()
162 speed = i2c_clk / est_div; in set_i2c_bus_speed()
167 debug("a: %d, b: %d, speed: %d\n", a, b, speed); in set_i2c_bus_speed()
181 debug("FDR: 0x%.2x, speed: %d\n", fdr, speed); in set_i2c_bus_speed()
193 speed = i2c_clk / fsl_i2c_speed_map[i].divider; in set_i2c_bus_speed()
199 return speed; in set_i2c_bus_speed()
260 static void __i2c_init(const struct fsl_i2c_base *base, int speed, int in __i2c_init() argument
[all …]
Dmxs_i2c.c48 static uint mxs_i2c_set_bus_speed(struct i2c_adapter *adap, uint speed) in mxs_i2c_set_bus_speed() argument
63 uint32_t base = ((clk / speed) - 38) / 2; in mxs_i2c_set_bus_speed()
69 if (speed > 540000) { in mxs_i2c_set_bus_speed()
70 printf("MXS I2C: Speed too high (%d Hz)\n", speed); in mxs_i2c_set_bus_speed()
74 if (speed < 12000) { in mxs_i2c_set_bus_speed()
75 printf("MXS I2C: Speed too low (%d Hz)\n", speed); in mxs_i2c_set_bus_speed()
93 int speed = mxs_i2c_get_bus_speed(adap); in mxs_i2c_reset() local
108 mxs_i2c_set_bus_speed(adap, speed); in mxs_i2c_reset()
304 static void mxs_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in mxs_i2c_init() argument
307 mxs_i2c_set_bus_speed(adap, speed); in mxs_i2c_init()
Ddesignware_i2c.c78 unsigned int speed) in __dw_i2c_set_bus_speed() argument
84 if (speed >= I2C_MAX_SPEED) in __dw_i2c_set_bus_speed()
86 else if (speed >= I2C_FAST_SPEED) in __dw_i2c_set_bus_speed()
373 static void __dw_i2c_init(struct i2c_regs *i2c_base, int speed, int slaveaddr) in __dw_i2c_init() argument
384 __dw_i2c_set_bus_speed(i2c_base, NULL, speed); in __dw_i2c_init()
422 unsigned int speed) in dw_i2c_set_bus_speed() argument
424 adap->speed = speed; in dw_i2c_set_bus_speed()
425 return __dw_i2c_set_bus_speed(i2c_get_base(adap), NULL, speed); in dw_i2c_set_bus_speed()
428 static void dw_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in dw_i2c_init() argument
430 __dw_i2c_init(i2c_get_base(adap), speed, slaveaddr); in dw_i2c_init()
[all …]
Dihs_i2c.c20 uint speed; member
282 static int ihs_i2c_set_bus_speed(struct udevice *bus, uint speed) in ihs_i2c_set_bus_speed() argument
286 if (speed != priv->speed && priv->speed != 0) in ihs_i2c_set_bus_speed()
289 priv->speed = speed; in ihs_i2c_set_bus_speed()
354 static void ihs_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in ihs_i2c_init() argument
399 unsigned int speed) in ihs_i2c_set_bus_speed() argument
401 if (speed != adap->speed) in ihs_i2c_set_bus_speed()
403 return speed; in ihs_i2c_set_bus_speed()
/external/lz4/tests/
DREADME.md7 - `fullbench` : Precisely measure speed for each lz4 inner functions
9 - `test-lz4-speed.py` : script for testing lz4 speed difference between commits
20 #### `test-lz4-speed.py` - script for testing lz4 speed difference between commits
23 Then it compiles all branches of lz4 and performs a speed benchmark for a given list of files (the …
25 If a new commit is found it is compiled and a speed benchmark for this commit is performed.
26 The results of the speed benchmark are compared to the previous results.
27 …ression or decompression speed for one of lz4 levels is lower than `lowerLimit` (an optional param…
31 - To be sure that speed results are accurate the script should be run on a "stable" target system w…
32 - Using the script with virtual machines can lead to large variations of speed results
33 - The speed benchmark is not performed until computers' load average is lower than `maxLoadAvg` (an…
[all …]
/external/u-boot/drivers/net/phy/
Dlxt.c23 int speed; in lxt971_parse_status() local
26 speed = mii_reg & MIIM_LXT971_SR2_SPEED_MASK; in lxt971_parse_status()
28 switch (speed) { in lxt971_parse_status()
30 phydev->speed = SPEED_10; in lxt971_parse_status()
34 phydev->speed = SPEED_10; in lxt971_parse_status()
38 phydev->speed = SPEED_100; in lxt971_parse_status()
42 phydev->speed = SPEED_100; in lxt971_parse_status()
Drealtek.c160 unsigned int speed; in rtl8211x_parse_status() local
199 speed = (mii_reg & MIIM_RTL8211x_PHYSTAT_SPEED); in rtl8211x_parse_status()
201 switch (speed) { in rtl8211x_parse_status()
203 phydev->speed = SPEED_1000; in rtl8211x_parse_status()
206 phydev->speed = SPEED_100; in rtl8211x_parse_status()
209 phydev->speed = SPEED_10; in rtl8211x_parse_status()
217 unsigned int speed; in rtl8211f_parse_status() local
244 speed = (mii_reg & MIIM_RTL8211F_PHYSTAT_SPEED); in rtl8211f_parse_status()
246 switch (speed) { in rtl8211f_parse_status()
248 phydev->speed = SPEED_1000; in rtl8211f_parse_status()
[all …]
Dxilinx_phy.c59 phydev->speed = SPEED_1000; in xilinxphy_startup()
63 phydev->speed = SPEED_100; in xilinxphy_startup()
67 phydev->speed = SPEED_10; in xilinxphy_startup()
82 phydev->speed = SPEED_1000; in xilinxphy_startup()
84 phydev->speed = SPEED_100; in xilinxphy_startup()
86 phydev->speed = SPEED_10; in xilinxphy_startup()
95 phydev->speed = SPEED_1000; in xilinxphy_startup()
Daquantia.c63 u32 reg, speed; in aquantia_startup() local
95 speed = phy_read(phydev, MDIO_MMD_PMAPMD, MII_BMCR); in aquantia_startup()
96 if (speed & AQUNTIA_SPEED_MSB_MASK) { in aquantia_startup()
97 if (speed & AQUNTIA_SPEED_LSB_MASK) in aquantia_startup()
98 phydev->speed = SPEED_10000; in aquantia_startup()
100 phydev->speed = SPEED_1000; in aquantia_startup()
102 if (speed & AQUNTIA_SPEED_LSB_MASK) in aquantia_startup()
103 phydev->speed = SPEED_100; in aquantia_startup()
105 phydev->speed = SPEED_10; in aquantia_startup()
Det1011c.c44 int speed; in et1011c_parse_status() local
53 speed = mii_reg & ET1011C_SPEED_MASK; in et1011c_parse_status()
54 switch (speed) { in et1011c_parse_status()
56 phydev->speed = SPEED_1000; in et1011c_parse_status()
69 phydev->speed = SPEED_100; in et1011c_parse_status()
72 phydev->speed = SPEED_10; in et1011c_parse_status()
Dbroadcom.c75 phydev->speed = SPEED_10; in bcm54xx_parse_status()
79 phydev->speed = SPEED_10; in bcm54xx_parse_status()
83 phydev->speed = SPEED_100; in bcm54xx_parse_status()
87 phydev->speed = SPEED_100; in bcm54xx_parse_status()
91 phydev->speed = SPEED_1000; in bcm54xx_parse_status()
95 phydev->speed = SPEED_1000; in bcm54xx_parse_status()
100 phydev->speed = SPEED_10; in bcm54xx_parse_status()
288 phydev->speed = 10; in bcm5482_parse_serdes_sr()
291 phydev->speed = 100; in bcm5482_parse_serdes_sr()
294 phydev->speed = 1000; in bcm5482_parse_serdes_sr()
/external/sonic/
DSonic.java22 private float speed; field in Sonic
99 return speed; in getSpeed()
104 float speed) in setSpeed() argument
106 this.speed = speed; in setSpeed()
204 speed = 1.0f; in Sonic()
460 float s = speed/pitch; in flushStream()
808 float speed, in skipPitchPeriod() argument
813 if(speed >= 2.0f) { in skipPitchPeriod()
814 newSamples = (int)(period/(speed - 1.0f)); in skipPitchPeriod()
817 remainingInputToCopy = (int)(period*(2.0f - speed)/(speed - 1.0f)); in skipPitchPeriod()
[all …]
Dsonic.c26 float speed; member
91 return stream->speed; in sonicGetSpeed()
97 float speed) in sonicSetSpeed() argument
99 stream->speed = speed; in sonicSetSpeed()
264 stream->speed = 1.0f; in sonicCreateStream()
551 float speed = stream->speed/stream->pitch; in sonicFlushStream() local
554 (int)((remainingSamples/speed + stream->numPitchSamples)/rate + 0.5f); in sonicFlushStream()
959 float speed, in skipPitchPeriod() argument
965 if(speed >= 2.0f) { in skipPitchPeriod()
966 newSamples = period/(speed - 1.0f); in skipPitchPeriod()
[all …]
/external/curl/docs/cmdline-opts/
Dspeed-limit.d1 Long: speed-limit
3 Arg: <speed>
6 If a download is slower than this given speed (in bytes per second) for
7 speed-time seconds it gets aborted. speed-time is set with --speed-time and is
Dspeed-time.d1 Long: speed-time
6 If a download is slower than speed-limit bytes per second during a speed-time
7 period, the download gets aborted. If speed-time is used, the default
8 speed-limit will be 1 unless set with --speed-limit.
/external/libaom/libaom/av1/encoder/
Dspeed_features.c94 const AV1_COMP *const cpi, SPEED_FEATURES *const sf, int speed) { in set_good_speed_feature_framesize_dependent() argument
119 if (is_720p_or_larger && speed >= CONFIG_2PASS_PARTITION_SEARCH_LVL_START && in set_good_speed_feature_framesize_dependent()
120 speed < CONFIG_2PASS_PARTITION_SEARCH_LVL_END) { in set_good_speed_feature_framesize_dependent()
124 if (speed >= 1) { in set_good_speed_feature_framesize_dependent()
144 if (speed >= 2) { in set_good_speed_feature_framesize_dependent()
167 if (speed >= 3) { in set_good_speed_feature_framesize_dependent()
180 if (speed >= 4) { in set_good_speed_feature_framesize_dependent()
190 const AV1_COMP *const cpi, SPEED_FEATURES *const sf, int speed) { in set_good_speed_features_framesize_independent() argument
231 if (speed >= 1) { in set_good_speed_features_framesize_independent()
272 if (speed >= 2) { in set_good_speed_features_framesize_independent()
[all …]
/external/u-boot/drivers/net/
Dgmac_rockchip.c82 switch (priv->phydev->speed) { in rk3228_gmac_fix_mac_speed()
93 debug("Unknown phy speed: %d\n", priv->phydev->speed); in rk3228_gmac_fix_mac_speed()
108 switch (priv->phydev->speed) { in rk3288_gmac_fix_mac_speed()
119 debug("Unknown phy speed: %d\n", priv->phydev->speed); in rk3288_gmac_fix_mac_speed()
141 switch (priv->phydev->speed) { in rk3328_gmac_fix_mac_speed()
152 debug("Unknown phy speed: %d\n", priv->phydev->speed); in rk3328_gmac_fix_mac_speed()
173 switch (priv->phydev->speed) { in rk3368_gmac_fix_mac_speed()
184 debug("Unknown phy speed: %d\n", priv->phydev->speed); in rk3368_gmac_fix_mac_speed()
199 switch (priv->phydev->speed) { in rk3399_gmac_fix_mac_speed()
210 debug("Unknown phy speed: %d\n", priv->phydev->speed); in rk3399_gmac_fix_mac_speed()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_speed_features.c62 int speed) { in set_good_speed_feature_framesize_dependent() argument
97 if (speed >= 1) { in set_good_speed_feature_framesize_dependent()
128 if (speed >= 2) { in set_good_speed_feature_framesize_dependent()
160 if (speed >= 3) { in set_good_speed_feature_framesize_dependent()
179 if ((speed >= 1) && (cpi->oxcf.pass == 2) && in set_good_speed_feature_framesize_dependent()
185 if (speed >= 4) { in set_good_speed_feature_framesize_dependent()
195 if (speed >= 5) { in set_good_speed_feature_framesize_dependent()
206 int speed) { in set_good_speed_feature_framesize_independent() argument
239 if (speed >= 1) { in set_good_speed_feature_framesize_independent()
258 sf->tx_domain_thresh = tx_dom_thresholds[(speed < 6) ? speed : 5]; in set_good_speed_feature_framesize_independent()
[all …]
/external/u-boot/drivers/phy/marvell/
Dcomphy_core.c20 static const char *get_speed_string(u32 speed) in get_speed_string() argument
28 if (speed < 0 || speed > PHY_SPEED_MAX) in get_speed_string()
31 return speed_strings[speed]; in get_speed_string()
58 if (comphy_map_data->speed == PHY_SPEED_INVALID) { in comphy_print()
64 get_speed_string(comphy_map_data->speed)); in comphy_print()
128 comphy_map_data[lane].speed = fdtdec_get_int( in comphy_probe()

12345678910>>...51