Home
last modified time | relevance | path

Searched refs:speed (Results 1 - 25 of 221) sorted by relevance

123456789

/device/soc/rockchip/common/sdk_linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c53 void (*set_rgmii_speed)(struct rk_priv_data *bsp_priv, int speed);
54 void (*set_rmii_speed)(struct rk_priv_data *bsp_priv, int speed);
243 static void px30_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in px30_set_rmii_speed() argument
253 if (speed == RK_SPEED_TEN) { in px30_set_rmii_speed()
260 } else if (speed == RK_SPEED_ONE_HUNDRED) { in px30_set_rmii_speed()
268 dev_err(dev, "unknown speed value for RMII! speed=%d", speed); in px30_set_rmii_speed()
323 static void rk1808_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk1808_set_rgmii_speed() argument
333 if (speed in rk1808_set_rgmii_speed()
353 rk1808_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) rk1808_set_rmii_speed() argument
441 rk3128_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3128_set_rgmii_speed() argument
461 rk3128_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3128_set_rmii_speed() argument
547 rk3228_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3228_set_rgmii_speed() argument
567 rk3228_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3228_set_rmii_speed() argument
650 rk3288_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3288_set_rgmii_speed() argument
670 rk3288_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3288_set_rmii_speed() argument
714 rk3308_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3308_set_rmii_speed() argument
809 rk3328_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3328_set_rgmii_speed() argument
829 rk3328_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3328_set_rmii_speed() argument
915 rk3366_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3366_set_rgmii_speed() argument
935 rk3366_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3366_set_rmii_speed() argument
1012 rk3368_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3368_set_rgmii_speed() argument
1032 rk3368_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3368_set_rmii_speed() argument
1109 rk3399_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3399_set_rgmii_speed() argument
1129 rk3399_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) rk3399_set_rmii_speed() argument
1245 rk3568_set_gmac_speed(struct rk_priv_data *bsp_priv, int speed) rk3568_set_gmac_speed() argument
1352 rk3588_set_gmac_speed(struct rk_priv_data *bsp_priv, int speed) rk3588_set_gmac_speed() argument
1430 rv1108_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) rv1108_set_rmii_speed() argument
1505 rv1126_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) rv1126_set_rgmii_speed() argument
1532 rv1126_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) rv1126_set_rmii_speed() argument
1985 rk_fix_speed(void *priv, unsigned int speed) rk_fix_speed() argument
[all...]
/third_party/rust/crates/rustix/src/backend/linux_raw/termios/
H A Dsyscalls.rs175 pub(crate) fn cfsetospeed(termios: &mut Termios, speed: u32) -> io::Result<()> {
176 if (speed & !CBAUD) != 0 {
180 termios.c_cflag |= speed;
185 pub(crate) fn cfsetispeed(termios: &mut Termios, speed: u32) -> io::Result<()> {
186 if speed == 0 {
189 if (speed & !CBAUD) != 0 {
193 termios.c_cflag |= speed;
198 pub(crate) fn cfsetspeed(termios: &mut Termios, speed: u32) -> io::Result<()> {
199 if (speed & !CBAUD) != 0 {
203 termios.c_cflag |= speed;
[all...]
/third_party/pulseaudio/sonic/
H A DSonic.java15 /* This is used to down-sample some inputs to improve speed */
22 private float speed; field in Sonic
96 // Get the speed of the stream.
99 return speed; in getSpeed()
102 // Set the speed of the stream.
104 float speed) in setSpeed()
106 this.speed = speed; in setSpeed()
128 // Set the playback rate of the stream. This scales pitch and speed at the same time.
204 speed in Sonic()
103 setSpeed( float speed) setSpeed() argument
805 skipPitchPeriod( short samples[], int position, float speed, int period) skipPitchPeriod() argument
827 insertPitchPeriod( short samples[], int position, float speed, int period) insertPitchPeriod() argument
851 changeSpeed( float speed) changeSpeed() argument
946 changeFloatSpeed( float samples[], int numSamples, float speed, float pitch, float rate, float volume, boolean useChordPitch, int sampleRate, int numChannels) changeFloatSpeed() argument
972 sonicChangeShortSpeed( short samples[], int numSamples, float speed, float pitch, float rate, float volume, boolean useChordPitch, int sampleRate, int numChannels) sonicChangeShortSpeed() argument
[all...]
H A Dsonic.c26 float speed; member
87 /* Get the speed of the stream. */
91 return stream->speed; in sonicGetSpeed()
94 /* Set the speed of the stream. */
97 float speed) in sonicSetSpeed()
99 stream->speed = speed; in sonicSetSpeed()
124 /* Set the playback rate of the stream. This scales pitch and speed at the same time. */
264 stream->speed = 1.0f; in sonicCreateStream()
551 float speed in sonicFlushStream() local
95 sonicSetSpeed( sonicStream stream, float speed) sonicSetSpeed() argument
956 skipPitchPeriod( sonicStream stream, short *samples, float speed, int period) skipPitchPeriod() argument
981 insertPitchPeriod( sonicStream stream, short *samples, float speed, int period) insertPitchPeriod() argument
1010 changeSpeed( sonicStream stream, float speed) changeSpeed() argument
1051 float speed = stream->speed/stream->pitch; processStreamInput() local
1124 sonicChangeFloatSpeed( float *samples, int numSamples, float speed, float pitch, float rate, float volume, int useChordPitch, int sampleRate, int numChannels) sonicChangeFloatSpeed() argument
1151 sonicChangeShortSpeed( short *samples, int numSamples, float speed, float pitch, float rate, float volume, int useChordPitch, int sampleRate, int numChannels) sonicChangeShortSpeed() argument
[all...]
H A Dmain.c5 useful utility on it's own, which can speed up or slow down wav files, change
20 float speed, in runSonic()
33 sonicSetSpeed(stream, speed); in runSonic()
64 " -q -- Disable speed-up heuristics. May increase quality.\n" in usage()
66 " -s speed -- Set speed up factor. 2.0 means 2X faster.\n" in usage()
77 float speed = 1.0f; in main() local
98 printf("Disabling speed-up heuristics\n"); in main()
108 speed = atof(argv[xArg]); in main()
109 printf("Setting speed t in main()
17 runSonic( waveFile inFile, waveFile outFile, float speed, float pitch, float rate, float volume, int emulateChordPitch, int quality, int sampleRate, int numChannels) runSonic() argument
[all...]
H A DMain.java23 float speed, in runSonic()
38 sonic.setSpeed(speed); in runSonic()
63 float speed = 2.0f; in main()
79 runSonic(stream, line, speed, pitch, rate, volume, emulateChordPitch, quality, in main()
20 runSonic( AudioInputStream audioStream, SourceDataLine line, float speed, float pitch, float rate, float volume, boolean emulateChordPitch, int quality, int sampleRate, int numChannels) runSonic() argument
/third_party/musl/porting/liteos_a/user/src/termios/
H A Dcfsetospeed.c7 int cfsetospeed(struct termios *tio, speed_t speed) in cfsetospeed() argument
10 if (speed & ~CBAUD) { in cfsetospeed()
15 tio->c_cflag |= speed; in cfsetospeed()
19 int cfsetispeed(struct termios *tio, speed_t speed) in cfsetispeed() argument
22 return speed ? cfsetospeed(tio, speed) : 0; in cfsetispeed()
/third_party/musl/src/termios/
H A Dcfsetospeed.c7 int cfsetospeed(struct termios *tio, speed_t speed) in cfsetospeed() argument
10 if (speed & ~CBAUD) { in cfsetospeed()
15 tio->c_cflag |= speed; in cfsetospeed()
19 int cfsetispeed(struct termios *tio, speed_t speed) in cfsetispeed() argument
22 return speed ? cfsetospeed(tio, speed) : 0; in cfsetispeed()
/third_party/rust/crates/rustix/src/termios/
H A Dcf.rs24 /// `cfsetospeed(termios, speed)`
26 pub fn cfsetospeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetospeed()
27 backend::termios::syscalls::cfsetospeed(termios, speed) in cfsetospeed()
30 /// `cfsetispeed(termios, speed)`
32 pub fn cfsetispeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetispeed()
33 backend::termios::syscalls::cfsetispeed(termios, speed) in cfsetispeed()
36 /// `cfsetspeed(termios, speed)`
38 pub fn cfsetspeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetspeed()
39 backend::termios::syscalls::cfsetspeed(termios, speed) in cfsetspeed()
/third_party/toybox/lib/
H A Dtty.c64 void xsetspeed(struct termios *tio, int speed) in xsetspeed() argument
71 // Find speed in table, adjust to constant in xsetspeed()
72 for (i = 0; i < ARRAY_LEN(speeds); i++) if (speeds[i] == speed) break; in xsetspeed()
73 if (i == ARRAY_LEN(speeds)) error_exit("unknown speed: %d", speed); in xsetspeed()
79 int set_terminal(int fd, int raw, int speed, struct termios *old) in set_terminal() argument
99 // Leave serial port speed alone in set_terminal()
111 if (speed) { in set_terminal()
117 // Find speed in table, adjust to constant in set_terminal()
118 for (i = 0; i < ARRAY_LEN(speeds); i++) if (speeds[i] == speed) brea in set_terminal()
126 xset_terminal(int fd, int raw, int speed, struct termios *old) xset_terminal() argument
[all...]
/third_party/skia/tools/skpbench/
H A D_hardware_android.py129 speed = freqs[int((len(freqs)-1) * self.desiredClock)]
132 echo {speed} > /sys/devices/system/cpu/cpu{id}/cpufreq/scaling_max_freq
133 echo {speed} > /sys/devices/system/cpu/cpu{id}/cpufreq/scaling_min_freq
134 echo {speed} > /sys/devices/system/cpu/cpu{id}/cpufreq/scaling_setspeed'''.format(id=i, speed=speed))
150 speed = freqs[int((len(freqs)-1) * self.desiredClock)]
155 echo {speed} > /sys/class/kgsl/kgsl-3d0/devfreq/max_freq
156 echo {speed} > /sys/class/kgsl/kgsl-3d0/devfreq/min_freq'''.format(speed
[all...]
/third_party/skia/tools/viewer/
H A DTouchGesture.cpp18 static SkScalar pin_max_fling(SkScalar speed) { in pin_max_fling() argument
19 if (speed > MAX_FLING_SPEED) { in pin_max_fling()
20 speed = MAX_FLING_SPEED; in pin_max_fling()
22 return speed; in pin_max_fling()
58 // printf("---- speed %g dir %g %g\n", fSpeed0, fDirection.fX, fDirection.fY); in reset()
70 const float speed = fSpeed0 * (sk_float_exp(- K0 * t) - K1); in evaluateMatrix() local
71 if (speed <= MIN_SPEED) { in evaluateMatrix()
75 float dist = (fSpeed0 - speed) / K0; in evaluateMatrix()
77 // printf("---- time %g speed %g dist %g\n", t, speed, dis in evaluateMatrix()
302 SkScalar speed; isFling() local
[all...]
/third_party/toybox/toys/pending/
H A Dgetty.c51 long speed; member
83 // Find speed from mapper array
87 long speed = atolx(s); in encode() local
89 if (!speed) return 0; in encode()
90 for (sp = speedtab; sp->speed; sp++) if (sp->speed == speed) return sp->code; in encode()
101 if (TT.speeds[TT.sc] < 0) perror_exit("bad speed"); in get_speed()
182 speed_t speed; in sense_baud() local
192 speed in sense_baud()
[all...]
H A Dstty.c28 N set input and output speed (ispeed N or ospeed N for just one)
34 speed show speed only
56 static int baud(speed_t speed) in baud() argument
58 if (speed&CBAUDEX) speed=(speed&~CBAUDEX)+15; in baud()
59 return bauds[speed]; in baud()
62 static speed_t speed(int baud) in speed() function
67 if (i == ARRAY_LEN(bauds)) error_exit("unknown speed in speed()
[all...]
/third_party/toybox/toys/net/
H A Dmicrocom.c39 int i, speed; in microcom_main() local
41 if (!TT.s) speed = 115200; in microcom_main()
42 else speed = atoi(TT.s); in microcom_main()
50 xset_terminal(TT.fd, 1, speed, &TT.original_fd_state); in microcom_main()
/third_party/pulseaudio/src/modules/oss/
H A Doss-util.c159 int format, channels, speed, reqformat; in pa_oss_auto_format() local
224 speed = (int) ss->rate; in pa_oss_auto_format()
225 if (ioctl(fd, SNDCTL_DSP_SPEED, &speed) < 0) { in pa_oss_auto_format()
229 pa_assert(speed > 0); in pa_oss_auto_format()
231 if (ss->rate != (unsigned) speed) { in pa_oss_auto_format()
232 pa_log_warn("device doesn't support %i Hz, changed to %i Hz.", ss->rate, speed); in pa_oss_auto_format()
235 if (speed < ss->rate*.95 || speed > ss->rate*1.05) in pa_oss_auto_format()
236 ss->rate = (uint32_t) speed; in pa_oss_auto_format()
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_hub.c272 (udev->speed != USB_SPEED_HIGH) || in uhub_tt_buffer_reset_async_locked()
273 ((child->speed != USB_SPEED_LOW) && in uhub_tt_buffer_reset_async_locked()
274 (child->speed != USB_SPEED_FULL)) || in uhub_tt_buffer_reset_async_locked()
373 * This function counts the number of active ports at the given speed.
376 uhub_count_active_host_ports(struct usb_device *udev, enum usb_dev_speed speed) in uhub_count_active_host_ports() argument
399 (child->speed == speed)) in uhub_count_active_host_ports()
658 enum usb_dev_speed speed; in uhub_reattach_port() local
720 switch (udev->speed) { in uhub_reattach_port()
798 * Figure out the device speed in uhub_reattach_port()
1929 enum usb_dev_speed speed; usb_hs_bandwidth_adjust() local
1987 uint8_t speed; usb_hs_bandwidth_alloc() local
[all...]
/third_party/ffmpeg/libavcodec/tests/
H A Ddct.c180 static int dct_error(const struct algo *dct, int test, int is_idct, int speed, const int bits) in dct_error() argument
266 if (!speed) in dct_error()
269 /* speed test */ in dct_error()
379 int speed) in idct248_error()
432 if (!speed) in idct248_error()
461 "-t speed test\n"); in help()
473 int speed = 0; in main() local
491 speed = 1; in main()
507 idct248_error("SIMPLE-C", ff_simple_idct248_put, speed); in main()
512 err |= dct_error(&idct_tab[i], test, test_idct, speed, bit in main()
375 idct248_error(const char *name, void (*idct248_put)(uint8_t *dest, ptrdiff_t line_size, int16_t *block), int speed) idct248_error() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/net/ethernet/
H A Ddwmac-rk-tool.c71 int speed; member
116 static int dwmac_rk_enable_mac_loopback(struct stmmac_priv *priv, int speed, int addr, bool phy) in dwmac_rk_enable_mac_loopback() argument
129 switch (speed) { in dwmac_rk_enable_mac_loopback()
168 priv->plat->fix_mac_speed(priv->plat->bsp_priv, speed); in dwmac_rk_enable_mac_loopback()
192 static int dwmac_rk_set_mac_loopback(struct stmmac_priv *priv, int speed, bool enable, int addr, bool phy) in dwmac_rk_set_mac_loopback() argument
195 return dwmac_rk_enable_mac_loopback(priv, speed, addr, phy); in dwmac_rk_set_mac_loopback()
201 static int dwmac_rk_enable_phy_loopback(struct stmmac_priv *priv, int speed, int addr, bool phy) in dwmac_rk_enable_phy_loopback() argument
213 switch (speed) { in dwmac_rk_enable_phy_loopback()
252 priv->plat->fix_mac_speed(priv->plat->bsp_priv, speed); in dwmac_rk_enable_phy_loopback()
272 static int dwmac_rk_set_phy_loopback(struct stmmac_priv *priv, int speed, boo argument
281 dwmac_rk_set_loopback(struct stmmac_priv *priv, int type, int speed, bool enable, int addr, bool phy) dwmac_rk_set_loopback() argument
1425 int ret, speed; mac_lb_store() local
1462 int ret, speed; phy_lb_store() local
1498 int ret, speed; phy_lb_scan_store() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk-tool.c78 int speed; member
125 static int dwmac_rk_enable_mac_loopback(struct stmmac_priv *priv, int speed, in dwmac_rk_enable_mac_loopback() argument
138 switch (speed) { in dwmac_rk_enable_mac_loopback()
177 priv->plat->fix_mac_speed(priv->plat->bsp_priv, speed); in dwmac_rk_enable_mac_loopback()
201 int speed, bool enable, in dwmac_rk_set_mac_loopback()
205 return dwmac_rk_enable_mac_loopback(priv, speed, addr, phy); in dwmac_rk_set_mac_loopback()
210 static int dwmac_rk_enable_phy_loopback(struct stmmac_priv *priv, int speed, in dwmac_rk_enable_phy_loopback() argument
222 switch (speed) { in dwmac_rk_enable_phy_loopback()
261 priv->plat->fix_mac_speed(priv->plat->bsp_priv, speed); in dwmac_rk_enable_phy_loopback()
281 int speed, boo in dwmac_rk_set_phy_loopback()
200 dwmac_rk_set_mac_loopback(struct stmmac_priv *priv, int speed, bool enable, int addr, bool phy) dwmac_rk_set_mac_loopback() argument
280 dwmac_rk_set_phy_loopback(struct stmmac_priv *priv, int speed, bool enable, int addr, bool phy) dwmac_rk_set_phy_loopback() argument
291 dwmac_rk_set_loopback(struct stmmac_priv *priv, int type, int speed, bool enable, int addr, bool phy) dwmac_rk_set_loopback() argument
1473 int ret, speed; mac_lb_store() local
1510 int ret, speed; phy_lb_store() local
1546 int ret, speed; phy_lb_scan_store() local
[all...]
/third_party/skia/samplecode/
H A DSampleCusp.cpp33 static SkPath cusp(const SkPoint P[4], SkPoint PP[7], bool& split, int speed, SkScalar phase) { in cusp() argument
36 SkScalar t = (curTime % speed) / SkIntToFloat(speed); in cusp()
54 static SkScalar linearToLoop(int speed, SkScalar phase, SkScalar scale) { in linearToLoop() argument
56 SkScalar linear = (curTime % speed) / SkIntToFloat(speed); // 0 to 1 in linearToLoop()
/third_party/curl/tests/unit/
H A Dunit1606.c52 curl_off_t speed, in runawhile()
65 /* fake the current transfer speed */ in runawhile()
66 easy->progress.current_speed = speed; in runawhile()
72 speed -= dec; in runawhile()
82 "wrong low speed timeout");
84 "wrong low speed timeout");
86 "wrong log speed timeout");
88 "wrong log speed timeout");
50 runawhile(long time_limit, long speed_limit, curl_off_t speed, int dec) runawhile() argument
/third_party/musl/Benchmark/musl/
H A Dlibc_ioctl.cpp41 int speed = cfgetospeed(&ttydev); in Bm_function_Ioctl_baudrate() local
51 cfsetospeed(&ttydev, speed); in Bm_function_Ioctl_baudrate()
52 cfsetispeed(&ttydev, speed); in Bm_function_Ioctl_baudrate()
/third_party/ffmpeg/libavfilter/
H A Df_realtime.c33 double speed; member
43 int64_t pts = av_rescale_q(frame->pts, inlink->time_base, AV_TIME_BASE_Q) / s->speed; in filter_frame()
51 if (FFABS(sleep) > s->limit / s->speed) { in filter_frame()
72 { "speed", "speed factor", OFFSET(speed), AV_OPT_TYPE_DOUBLE, { .dbl = 1.0 }, DBL_MIN, DBL_MAX, FLAGS },
/third_party/ffmpeg/tests/fate/
H A Dwavpack.mak58 # speed modes
60 FATE_WAVPACK_S16 += fate-wavpack-speed-default
61 fate-wavpack-speed-default: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/speed_modes/default-partial.wv -f s16le -af aresample
63 FATE_WAVPACK_S16 += fate-wavpack-speed-fast
64 fate-wavpack-speed-fast: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/speed_modes/fast-partial.wv -f s16le -af aresample
66 FATE_WAVPACK_S16 += fate-wavpack-speed-high
67 fate-wavpack-speed-high: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/speed_modes/high-partial.wv -f s16le -af aresample
69 FATE_WAVPACK_S16 += fate-wavpack-speed-vhigh
70 fate-wavpack-speed-vhigh: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/speed_modes/vhigh-partial.wv -f s16le -af aresample

Completed in 17 milliseconds

123456789