tag | line | file | source code |
speed | 1303 | drivers/block/ide-tape.c | service_time=((double) tape->data_buffer_size/1024.0)/((double) tape->capabilities.speed*(1000.0/1024.0)); |
speed | 1332 | drivers/block/ide-tape.c | printk ("ide-tape: Tape speed - %d KBps. Recommended transfer unit - %d bytes.\n",tape->capabilities.speed,tape->data_buffer_size); |
speed | 1363 | drivers/block/ide-tape.c | capabilities->speed=idetape_swap_short (capabilities->speed); |
speed | 1374 | drivers/block/ide-tape.c | tape->capabilities.speed=450; |
speed | 1405 | drivers/block/ide-tape.c | printk ("Current speed in KBps - %d\n",capabilities->speed); |
speed | 322 | drivers/block/ide-tape.h | unsigned short speed; /* Current Speed, in KBps */ |
speed | 135 | drivers/cdrom/gscd.c | static int speed; |
speed | 488 | drivers/cdrom/gscd.c | if ( speed > 0 ) |
speed | 490 | drivers/cdrom/gscd.c | to_do[1] = speed & 0x0F; |
speed | 855 | drivers/cdrom/gscd.c | speed = 0; |
speed | 1619 | drivers/cdrom/sbpcd.c | static int cc_SetSpeed(u_char speed, u_char x1, u_char x2) |
speed | 1630 | drivers/cdrom/sbpcd.c | drvcmd[2]=speed; |
speed | 1638 | drivers/cdrom/sbpcd.c | if (speed&speed_auto) |
speed | 1884 | drivers/cdrom/sbpcd.c | int i, speed; |
speed | 1887 | drivers/cdrom/sbpcd.c | speed=speed_auto; |
speed | 1890 | drivers/cdrom/sbpcd.c | speed |= speed_300; |
speed | 1891 | drivers/cdrom/sbpcd.c | if (!(D_S[d].drv_options&speed_300)) speed=0; |
speed | 1893 | drivers/cdrom/sbpcd.c | i=cc_SetSpeed(speed,0,0); |
speed | 376 | drivers/char/ftape/ftape-ctl.c | drive_type.speed = 500; /* deci-ips: very safe value */ |
speed | 379 | drivers/char/ftape/ftape-ctl.c | drive_type.speed = vendors[vendor_index].speed; |
speed | 406 | drivers/char/ftape/ftape-ctl.c | int speed; /* deci-ips ! */ |
speed | 421 | drivers/char/ftape/ftape-ctl.c | speed = (ftape_data_rate == 3) ? 250 : 500; |
speed | 424 | drivers/char/ftape/ftape-ctl.c | speed = (ftape_data_rate == 2) ? 340 : 680; |
speed | 427 | drivers/char/ftape/ftape-ctl.c | speed = (ftape_data_rate == 2) ? 226 : 452; |
speed | 430 | drivers/char/ftape/ftape-ctl.c | speed = (ftape_data_rate == 1) ? 226 : 452; |
speed | 434 | drivers/char/ftape/ftape-ctl.c | speed = 500; |
speed | 445 | drivers/char/ftape/ftape-ctl.c | if (drive_type.speed == 0) { |
speed | 454 | drivers/char/ftape/ftape-ctl.c | drive_type.speed = (2 * 12 * length * 1000) / dt; |
speed | 458 | drivers/char/ftape/ftape-ctl.c | TRACEx1(-1, "has max tape speed of %d ips", drive_type.speed); |
speed | 466 | drivers/char/ftape/ftape-ctl.c | timeout.seek = (length * 132 * SECOND) / speed; |
speed | 467 | drivers/char/ftape/ftape-ctl.c | timeout.rewind = (length * 144 * SECOND) / (10 * drive_type.speed); |
speed | 469 | drivers/char/ftape/ftape-ctl.c | TRACEx2(4, "speed = %d, length = %d", speed, length); |
speed | 842 | drivers/char/ftape/ftape-ctl.c | drive_type.speed = 0; |
speed | 60 | drivers/char/ftape/vendors.h | int speed; /* maximum tape transport speed (ips) */ |
speed | 1135 | drivers/char/scc.c | if (scc->modem.speed > 0) /* paranoia... */ |
speed | 1136 | drivers/char/scc.c | set_brg(scc, (unsigned) (scc->clock / (scc->modem.speed * 64)) - 2); |
speed | 1309 | drivers/char/scc.c | if (scc->modem.speed < baud_table[1]) |
speed | 1310 | drivers/char/scc.c | scc->modem.speed = 1200; |
speed | 1315 | drivers/char/scc.c | time_const = (unsigned) (scc->clock / (scc->modem.speed * (tx? 2:64))) - 2; |
speed | 2058 | drivers/char/scc.c | long speed; |
speed | 2064 | drivers/char/scc.c | speed = baud_table[scc->tty->termios->c_cflag & CBAUD]; |
speed | 2066 | drivers/char/scc.c | if (speed > 0) scc->modem.speed = speed; |
speed | 2235 | drivers/char/scc.c | if (scc->modem.speed < 4800) |
speed | 2401 | drivers/char/scc.c | case PARAM_SPEED: r = CAST(scc->modem.speed); break; |
speed | 2435 | drivers/char/scc.c | case PARAM_SPEED: scc->modem.speed=Val; break; |
speed | 754 | drivers/net/pi2.c | if (lp->speed) { /* If internally clocked */ |
speed | 824 | drivers/net/pi2.c | if (lp->speed) { /* If internally clocked */ |
speed | 889 | drivers/net/pi2.c | if (lp->speed) { /* If internally clocked */ |
speed | 1022 | drivers/net/pi2.c | if (lp->speed) { /* if internally clocked */ |
speed | 1023 | drivers/net/pi2.c | br = lp->speed; /* get desired speed */ |
speed | 1036 | drivers/net/pi2.c | if (lp->speed) { /* if internally clocked */ |
speed | 1040 | drivers/net/pi2.c | br = lp->speed; /* get desired speed */ |
speed | 1125 | drivers/net/pi2.c | if (lp->speed) { /* Use internal clocking */ |
speed | 1158 | drivers/net/pi2.c | if (lp->speed) { |
speed | 1159 | drivers/net/pi2.c | br = lp->speed; /* get desired speed */ |
speed | 1171 | drivers/net/pi2.c | if (lp->speed) { |
speed | 1340 | drivers/net/pi2.c | lp->speed = DEF_A_SPEED; |
speed | 1349 | drivers/net/pi2.c | lp->speed = DEF_B_SPEED; |
speed | 1622 | drivers/net/pi2.c | lp->speed = rq.speed; |
speed | 1656 | drivers/net/pi2.c | rq.speed = lp->speed; |
speed | 74 | drivers/net/pi2.h | int speed; |
speed | 123 | drivers/net/pi2.h | int speed; /* Line speed, bps */ |
speed | 404 | drivers/net/pt.c | if (lp->speed) /* Use internal clocking */ |
speed | 431 | drivers/net/pt.c | if (lp->speed) |
speed | 433 | drivers/net/pt.c | br = lp->speed; |
speed | 443 | drivers/net/pt.c | if (lp->speed) |
speed | 663 | drivers/net/pt.c | if (lp->speed) |
speed | 665 | drivers/net/pt.c | br = lp->speed; |
speed | 681 | drivers/net/pt.c | if (lp->speed) /* internally clocked */ |
speed | 686 | drivers/net/pt.c | br = lp->speed; |
speed | 809 | drivers/net/pt.c | lp->speed = DEF_A_SPEED; |
speed | 817 | drivers/net/pt.c | lp->speed = DEF_B_SPEED; |
speed | 1056 | drivers/net/pt.c | lp->speed = rq.speed; |
speed | 1090 | drivers/net/pt.c | rq.speed = lp->speed; |
speed | 103 | drivers/net/pt.h | int speed; |
speed | 164 | drivers/net/pt.h | int speed; /* Line speed, bps */ |
speed | 222 | drivers/scsi/eata_dma_proc.c | (sb->speed == 0)?"5":(sb->speed == 1)?"10":"20", |
speed | 128 | drivers/scsi/eata_dma_proc.h | __u16 speed; |
speed | 148 | drivers/scsi/eata_dma_proc.h | __u8 speed:6, |
speed | 158 | drivers/scsi/eata_dma_proc.h | __u8 speed:4, |
speed | 60 | drivers/sound/ad1848.c | int speed; |
speed | 636 | drivers/sound/ad1848.c | int speed; |
speed | 671 | drivers/sound/ad1848.c | devc->speed = arg; |
speed | 673 | drivers/sound/ad1848.c | return devc->speed; |
speed | 676 | drivers/sound/ad1848.c | if (arg < speed_table[0].speed) |
speed | 678 | drivers/sound/ad1848.c | if (arg > speed_table[n - 1].speed) |
speed | 682 | drivers/sound/ad1848.c | if (speed_table[i].speed == arg) |
speed | 684 | drivers/sound/ad1848.c | else if (speed_table[i].speed > arg) |
speed | 688 | drivers/sound/ad1848.c | diff1 = arg - speed_table[i - 1].speed; |
speed | 689 | drivers/sound/ad1848.c | diff2 = speed_table[i].speed - arg; |
speed | 703 | drivers/sound/ad1848.c | devc->speed = speed_table[selected].speed; |
speed | 705 | drivers/sound/ad1848.c | return devc->speed; |
speed | 804 | drivers/sound/ad1848.c | return devc->speed; |
speed | 805 | drivers/sound/ad1848.c | return snd_ioctl_return ((int *) arg, devc->speed); |
speed | 971 | drivers/sound/ad1848.c | ad_write (devc, 22, (devc->speed >> 8) & 0xff); /* Speed MSB */ |
speed | 972 | drivers/sound/ad1848.c | ad_write (devc, 23, devc->speed & 0xff); /* Speed LSB */ |
speed | 1938 | drivers/sound/gus_wave.c | gus_sampling_set_speed (int speed) |
speed | 1941 | drivers/sound/gus_wave.c | if (speed <= 0) |
speed | 1942 | drivers/sound/gus_wave.c | speed = gus_sampling_speed; |
speed | 1944 | drivers/sound/gus_wave.c | if (speed < 4000) |
speed | 1945 | drivers/sound/gus_wave.c | speed = 4000; |
speed | 1947 | drivers/sound/gus_wave.c | if (speed > 44100) |
speed | 1948 | drivers/sound/gus_wave.c | speed = 44100; |
speed | 1950 | drivers/sound/gus_wave.c | gus_sampling_speed = speed; |
speed | 1956 | drivers/sound/gus_wave.c | speed = (9878400 / (gus_sampling_speed + 2)) / 16; |
speed | 1957 | drivers/sound/gus_wave.c | speed = (9878400 / (speed * 16)) - 2; |
speed | 1959 | drivers/sound/gus_wave.c | return speed; |
speed | 2132 | drivers/sound/gus_wave.c | int speed = gus_sampling_speed; |
speed | 2178 | drivers/sound/gus_wave.c | gus_voice_freq (speed); |
speed | 295 | drivers/sound/sb_dsp.c | ess_speed (int speed) |
speed | 300 | drivers/sound/sb_dsp.c | if (speed < 4000) |
speed | 301 | drivers/sound/sb_dsp.c | speed = 4000; |
speed | 302 | drivers/sound/sb_dsp.c | else if (speed > 48000) |
speed | 303 | drivers/sound/sb_dsp.c | speed = 48000; |
speed | 305 | drivers/sound/sb_dsp.c | if (speed > 22000) |
speed | 308 | drivers/sound/sb_dsp.c | divider = 256 - (795500 + speed / 2) / speed; |
speed | 313 | drivers/sound/sb_dsp.c | divider = 128 - (397700 + speed / 2) / speed; |
speed | 324 | drivers/sound/sb_dsp.c | speed = (speed * 9) / 20; /* Set filter rolloff to 90% of speed/2 */ |
speed | 325 | drivers/sound/sb_dsp.c | divider = 256 - 7160000 / (speed * 82); |
speed | 332 | drivers/sound/sb_dsp.c | dsp_speed (int speed) |
speed | 338 | drivers/sound/sb_dsp.c | dsp_requested_speed = speed; |
speed | 341 | drivers/sound/sb_dsp.c | return ess_speed (speed); |
speed | 343 | drivers/sound/sb_dsp.c | if (speed < 4000) |
speed | 344 | drivers/sound/sb_dsp.c | speed = 4000; |
speed | 364 | drivers/sound/sb_dsp.c | if (speed > max_speed) |
speed | 365 | drivers/sound/sb_dsp.c | speed = max_speed; /* |
speed | 374 | drivers/sound/sb_dsp.c | if (dsp_stereo && speed > 22050 && Jazz16_detected == 0 && AudioDrive == 0) |
speed | 375 | drivers/sound/sb_dsp.c | speed = 22050; |
speed | 378 | drivers/sound/sb_dsp.c | if ((speed > 22050) && sb_midi_busy) |
speed | 381 | drivers/sound/sb_dsp.c | speed = 22050; |
speed | 385 | drivers/sound/sb_dsp.c | speed *= 2; |
speed | 391 | drivers/sound/sb_dsp.c | if (speed > 22050) |
speed | 398 | drivers/sound/sb_dsp.c | ((256000000 + speed / 2) / speed)) >> 8); |
speed | 408 | drivers/sound/sb_dsp.c | speed = (256000000 + tmp / 2) / tmp; |
speed | 415 | drivers/sound/sb_dsp.c | tconst = (256 - ((1000000 + speed / 2) / speed)) & 0xff; |
speed | 426 | drivers/sound/sb_dsp.c | speed = (1000000 + tmp / 2) / tmp; |
speed | 430 | drivers/sound/sb_dsp.c | speed /= 2; |
speed | 432 | drivers/sound/sb_dsp.c | dsp_current_speed = speed; |
speed | 433 | drivers/sound/sb_dsp.c | return speed; |
speed | 189 | include/linux/scc.h | long speed; /* Line speed, bps */ |