tag | line | file | source code |
num | 134 | arch/alpha/boot/tools/build.c | unsigned long num = size; |
num | 135 | arch/alpha/boot/tools/build.c | if (num > MAXBUF) |
num | 136 | arch/alpha/boot/tools/build.c | num = MAXBUF; |
num | 138 | arch/alpha/boot/tools/build.c | if (read(fd, buffer, num) != num) |
num | 140 | arch/alpha/boot/tools/build.c | if (write(1, buffer, num) != num) |
num | 142 | arch/alpha/boot/tools/build.c | size -= num; |
num | 116 | arch/alpha/kernel/setup.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int on) |
num | 280 | arch/i386/boot/compressed/gzip.h | extern void display_ratio OF((long num, long den)); |
num | 51 | arch/i386/kernel/ioport.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int turn_on) |
num | 53 | arch/i386/kernel/ioport.c | if (from + num <= from) |
num | 55 | arch/i386/kernel/ioport.c | if (from + num > IO_BITMAP_SIZE*32) |
num | 60 | arch/i386/kernel/ioport.c | set_bitmap((unsigned long *)current->tss.io_bitmap, from, num, !turn_on); |
num | 154 | arch/i386/math-emu/fpu_trig.c | long num = *arg; |
num | 156 | arch/i386/math-emu/fpu_trig.c | if (num == 0) |
num | 159 | arch/i386/math-emu/fpu_trig.c | if (num > 0) |
num | 162 | arch/i386/math-emu/fpu_trig.c | { num = -num; dest->sign = SIGN_NEG; } |
num | 164 | arch/i386/math-emu/fpu_trig.c | dest->sigh = num; |
num | 13 | arch/mips/kernel/ioport.c | u_long from, num; |
num | 55 | arch/mips/kernel/ioport.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int turn_on) |
num | 84 | arch/mips/kernel/ioport.c | u_long from, u_long num) |
num | 89 | arch/mips/kernel/ioport.c | if (from > from+num-1) |
num | 94 | arch/mips/kernel/ioport.c | if ((p != root) && (p->from+p->num-1 >= from)) { |
num | 98 | arch/mips/kernel/ioport.c | if ((p->next == NULL) || (p->next->from > from+num-1)) |
num | 265 | arch/sparc/kernel/setup.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int on) |
num | 899 | drivers/cdrom/gscd.c | void init_cd_drive ( int num ) |
num | 904 | drivers/cdrom/gscd.c | printk ("GSCD: init unit %d\n", num ); |
num | 2540 | drivers/cdrom/sbpcd.c | static int cc_ReadTocEntry(int num) |
num | 2548 | drivers/cdrom/sbpcd.c | drvcmd[2]=num; |
num | 2557 | drivers/cdrom/sbpcd.c | drvcmd[2]=num; |
num | 2565 | drivers/cdrom/sbpcd.c | drvcmd[2]=num; |
num | 2577 | drivers/cdrom/sbpcd.c | drvcmd[6]=num; |
num | 2599 | drivers/cdrom/sbpcd.c | else D_S[d].TocEnt_number=num; |
num | 1954 | drivers/char/console.c | console_driver.num = MAX_NR_CONSOLES; |
num | 2778 | drivers/char/cyclades.c | cy_serial_driver.num = NR_PORTS; |
num | 4006 | drivers/char/istallion.c | stli_serial.num = STL_MAXBRDS * STL_MAXPORTS; |
num | 151 | drivers/char/keyboard.c | num, hold, scroll_forw, scroll_back, boot_it, caps_on, compose, |
num | 157 | drivers/char/keyboard.c | num, hold, scroll_forw, scroll_back, |
num | 225 | drivers/char/pty.c | pty_driver.num = NR_PTYS; |
num | 263 | drivers/char/pty.c | old_pty_driver.num = (NR_PTYS > 64) ? 64 : NR_PTYS; |
num | 269 | drivers/char/pty.c | old_pty_slave_driver.num = (NR_PTYS > 64) ? 64 : NR_PTYS; |
num | 354 | drivers/char/random.c | struct timer_rand_state *state, unsigned num) |
num | 366 | drivers/char/random.c | num ^= (__u32) high; |
num | 377 | drivers/char/random.c | num |= inb_p(0x40) << 16; |
num | 378 | drivers/char/random.c | num |= inb(0x40) << 24; |
num | 389 | drivers/char/random.c | add_entropy_word(r, (__u32) num); |
num | 2309 | drivers/char/scc.c | scc_driver.num = Nchips*2; |
num | 2084 | drivers/char/serial.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
num | 2603 | drivers/char/serial.c | serial_driver.num = NR_PORTS; |
num | 2886 | drivers/char/stallion.c | stl_serial.num = STL_MAXBRDS * STL_MAXPORTS; |
num | 197 | drivers/char/tty_io.c | ldiscs[disc].num = disc; |
num | 214 | drivers/char/tty_io.c | if (tty->ldisc.num == ldisc) |
num | 231 | drivers/char/tty_io.c | tty->termios->c_line = tty->ldisc.num; |
num | 245 | drivers/char/tty_io.c | if (tty->ldisc.num != o_ldisc.num && tty->driver.set_ldisc) |
num | 266 | drivers/char/tty_io.c | if (minor >= p->minor_start + p->num) |
num | 387 | drivers/char/tty_io.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
num | 975 | drivers/char/tty_io.c | if (idx < 0 || idx >= tty->driver.num) { |
num | 1498 | drivers/char/tty_io.c | put_user(tty->ldisc.num, (int *) arg); |
num | 51 | drivers/char/vt.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int on); |
num | 197 | drivers/net/apricot.c | init_rx_bufs(struct device *dev, int num) |
num | 205 | drivers/net/apricot.c | if (i596_debug > 1) printk ("%s: init_rx_bufs %d.\n", dev->name, num); |
num | 207 | drivers/net/apricot.c | for (i = 0; i < num; i++) |
num | 3041 | drivers/net/arcnet.c | static int num=0; /* number of device (ie for 0 for arc0, 1 for arc1...) */ |
num | 3046 | drivers/net/arcnet.c | sprintf(thiscard.name,"arc%d",num); |
num | 267 | drivers/sound/configure.c | int len, num; |
num | 288 | drivers/sound/configure.c | if (sscanf (answ, format, &num) != 1) |
num | 294 | drivers/sound/configure.c | return num; |
num | 508 | drivers/sound/configure.c | int i, num, def_size, full_driver = 1; |
num | 599 | drivers/sound/configure.c | num = ask_value ("%d", 5); |
num | 601 | drivers/sound/configure.c | while (num != 1 && num != 3 && num != 5 && num != 7); |
num | 602 | drivers/sound/configure.c | fprintf (stderr, "ProSonic 16 bit DMA set to %d\n", num); |
num | 603 | drivers/sound/configure.c | printf ("#define JAZZ_DMA16 %d\n", num); |
num | 819 | drivers/sound/configure.c | num = ask_value ("%x", 0x220); |
num | 820 | drivers/sound/configure.c | fprintf (stderr, "Audio Excel DSP 16 I/O base set to %03x\n", num); |
num | 821 | drivers/sound/configure.c | printf ("#define AEDSP16_BASE 0x%03x\n", num); |
num | 830 | drivers/sound/configure.c | sb_base = num = ask_value ("%x", 0x220); |
num | 831 | drivers/sound/configure.c | fprintf (stderr, "SB I/O base set to %03x\n", num); |
num | 832 | drivers/sound/configure.c | printf ("#define SBC_BASE 0x%03x\n", num); |
num | 840 | drivers/sound/configure.c | num = ask_value ("%d", 7); |
num | 841 | drivers/sound/configure.c | if (num != 9 && num != 5 && num != 7 && num != 10) |
num | 845 | drivers/sound/configure.c | num = 7; |
num | 847 | drivers/sound/configure.c | fprintf (stderr, "SoundBlaster IRQ set to %d\n", num); |
num | 849 | drivers/sound/configure.c | printf ("#define SBC_IRQ %d\n", num); |
num | 860 | drivers/sound/configure.c | num = ask_value ("%d", 1); |
num | 861 | drivers/sound/configure.c | if (num < 0 || num > 3) |
num | 865 | drivers/sound/configure.c | num = 1; |
num | 867 | drivers/sound/configure.c | fprintf (stderr, "SoundBlaster DMA set to %d\n", num); |
num | 868 | drivers/sound/configure.c | printf ("#define SBC_DMA %d\n", num); |
num | 869 | drivers/sound/configure.c | sb_dma = num; |
num | 880 | drivers/sound/configure.c | num = ask_value ("%d", 6); |
num | 881 | drivers/sound/configure.c | if ((num < 5 || num > 7) && (num != sb_dma)) |
num | 885 | drivers/sound/configure.c | num = 6; |
num | 887 | drivers/sound/configure.c | fprintf (stderr, "SoundBlaster DMA set to %d\n", num); |
num | 888 | drivers/sound/configure.c | printf ("#define SB16_DMA %d\n", num); |
num | 895 | drivers/sound/configure.c | num = ask_value ("%x", 0x330); |
num | 896 | drivers/sound/configure.c | fprintf (stderr, "SB16 Midi I/O base set to %03x\n", num); |
num | 897 | drivers/sound/configure.c | printf ("#define SB16MIDI_BASE 0x%03x\n", num); |
num | 912 | drivers/sound/configure.c | num = ask_value ("%d", 10); |
num | 913 | drivers/sound/configure.c | if (num == 6 || num < 3 || num > 15 || num == 2) /* |
num | 919 | drivers/sound/configure.c | num = 10; |
num | 921 | drivers/sound/configure.c | fprintf (stderr, "ProAudioSpectrum IRQ set to %d\n", num); |
num | 922 | drivers/sound/configure.c | printf ("#define PAS_IRQ %d\n", num); |
num | 933 | drivers/sound/configure.c | num = ask_value ("%d", 3); |
num | 934 | drivers/sound/configure.c | if (num == 4 || num < 0 || num > 7) |
num | 938 | drivers/sound/configure.c | num = 3; |
num | 940 | drivers/sound/configure.c | fprintf (stderr, "\nProAudioSpectrum DMA set to %d\n", num); |
num | 941 | drivers/sound/configure.c | printf ("#define PAS_DMA %d\n", num); |
num | 963 | drivers/sound/configure.c | num = ask_value ("%x", 0x220); |
num | 964 | drivers/sound/configure.c | if ((num > 0x260) || ((num & 0xf0f) != 0x200) || ((num & 0x0f0) > 0x060)) |
num | 968 | drivers/sound/configure.c | num = 0x220; |
num | 971 | drivers/sound/configure.c | if ((selected_options & B (OPT_SB)) && (num == sb_base)) |
num | 980 | drivers/sound/configure.c | fprintf (stderr, "GUS I/O base set to %03x\n", num); |
num | 981 | drivers/sound/configure.c | printf ("#define GUS_BASE 0x%03x\n", num); |
num | 989 | drivers/sound/configure.c | num = ask_value ("%d", 15); |
num | 990 | drivers/sound/configure.c | if (num == 6 || num < 3 || num > 15 || num == 2) /* |
num | 996 | drivers/sound/configure.c | num = 15; |
num | 998 | drivers/sound/configure.c | fprintf (stderr, "Gravis UltraSound IRQ set to %d\n", num); |
num | 999 | drivers/sound/configure.c | printf ("#define GUS_IRQ %d\n", num); |
num | 1007 | drivers/sound/configure.c | num = ask_value ("%d", 6); |
num | 1008 | drivers/sound/configure.c | if (num == 4 || num < 0 || num > 7) |
num | 1011 | drivers/sound/configure.c | num = 6; |
num | 1013 | drivers/sound/configure.c | fprintf (stderr, "\nGravis UltraSound DMA set to %d\n", num); |
num | 1014 | drivers/sound/configure.c | printf ("#define GUS_DMA %d\n", num); |
num | 1020 | drivers/sound/configure.c | num = ask_value ("%d", 7); |
num | 1021 | drivers/sound/configure.c | if (num > 7) |
num | 1024 | drivers/sound/configure.c | num = 7; |
num | 1027 | drivers/sound/configure.c | fprintf (stderr, "\nGUS DMA2 set to %d\n", num); |
num | 1028 | drivers/sound/configure.c | printf ("#define GUS_DMA2 %d\n", num); |
num | 1037 | drivers/sound/configure.c | num = ask_value ("%x", 0x530); |
num | 1038 | drivers/sound/configure.c | fprintf (stderr, "GUS16 I/O base set to %03x\n", num); |
num | 1039 | drivers/sound/configure.c | printf ("#define GUS16_BASE 0x%03x\n", num); |
num | 1046 | drivers/sound/configure.c | num = ask_value ("%d", 7); |
num | 1047 | drivers/sound/configure.c | if (num == 6 || num < 3 || num > 15) |
num | 1050 | drivers/sound/configure.c | num = 7; |
num | 1052 | drivers/sound/configure.c | fprintf (stderr, "GUS16 IRQ set to %d\n", num); |
num | 1053 | drivers/sound/configure.c | printf ("#define GUS16_IRQ %d\n", num); |
num | 1059 | drivers/sound/configure.c | num = ask_value ("%d", 3); |
num | 1060 | drivers/sound/configure.c | if (num < 0 || num > 3) |
num | 1063 | drivers/sound/configure.c | num = 3; |
num | 1065 | drivers/sound/configure.c | fprintf (stderr, "\nGUS16 DMA set to %d\n", num); |
num | 1066 | drivers/sound/configure.c | printf ("#define GUS16_DMA %d\n", num); |
num | 1076 | drivers/sound/configure.c | num = ask_value ("%x", 0x330); |
num | 1077 | drivers/sound/configure.c | fprintf (stderr, "MPU-401 I/O base set to %03x\n", num); |
num | 1078 | drivers/sound/configure.c | printf ("#define MPU_BASE 0x%03x\n", num); |
num | 1085 | drivers/sound/configure.c | num = ask_value ("%d", 9); |
num | 1086 | drivers/sound/configure.c | if (num == 6 || num < 3 || num > 15) |
num | 1090 | drivers/sound/configure.c | num = 5; |
num | 1092 | drivers/sound/configure.c | fprintf (stderr, "MPU-401 IRQ set to %d\n", num); |
num | 1093 | drivers/sound/configure.c | printf ("#define MPU_IRQ %d\n", num); |
num | 1103 | drivers/sound/configure.c | num = ask_value ("%x", 0x330); |
num | 1104 | drivers/sound/configure.c | fprintf (stderr, "Maui I/O base set to %03x\n", num); |
num | 1105 | drivers/sound/configure.c | printf ("#define MAUI_BASE 0x%03x\n", num); |
num | 1112 | drivers/sound/configure.c | num = ask_value ("%d", 9); |
num | 1113 | drivers/sound/configure.c | if (num == 6 || num < 3 || num > 15) |
num | 1117 | drivers/sound/configure.c | num = 5; |
num | 1119 | drivers/sound/configure.c | fprintf (stderr, "Maui/Tropez MIDI IRQ set to %d\n", num); |
num | 1120 | drivers/sound/configure.c | printf ("#define MAUI_IRQ %d\n", num); |
num | 1129 | drivers/sound/configure.c | num = ask_value ("%x", 0); |
num | 1130 | drivers/sound/configure.c | if (num == 0) |
num | 1139 | drivers/sound/configure.c | fprintf (stderr, "6850 UART I/O base set to %03x\n", num); |
num | 1140 | drivers/sound/configure.c | printf ("#define U6850_BASE 0x%03x\n", num); |
num | 1147 | drivers/sound/configure.c | num = ask_value ("%d", 5); |
num | 1148 | drivers/sound/configure.c | if (num == 6 || num < 3 || num > 15) |
num | 1152 | drivers/sound/configure.c | num = 5; |
num | 1154 | drivers/sound/configure.c | fprintf (stderr, "6850 UART IRQ set to %d\n", num); |
num | 1155 | drivers/sound/configure.c | printf ("#define U6850_IRQ %d\n", num); |
num | 1165 | drivers/sound/configure.c | num = ask_value ("%x", 0x220); |
num | 1166 | drivers/sound/configure.c | fprintf (stderr, "PSS I/O base set to %03x\n", num); |
num | 1167 | drivers/sound/configure.c | printf ("#define PSS_BASE 0x%03x\n", num); |
num | 1175 | drivers/sound/configure.c | num = ask_value ("%d", 10); |
num | 1176 | drivers/sound/configure.c | if (num == 6 || num < 3 || num > 15) |
num | 1179 | drivers/sound/configure.c | num = 7; |
num | 1181 | drivers/sound/configure.c | fprintf (stderr, "PSS IRQ set to %d\n", num); |
num | 1182 | drivers/sound/configure.c | printf ("#define PSS_IRQ %d\n", num); |
num | 1189 | drivers/sound/configure.c | num = ask_value ("%d", 5); |
num | 1190 | drivers/sound/configure.c | if (num < 5 || num > 7) |
num | 1193 | drivers/sound/configure.c | num = 5; |
num | 1195 | drivers/sound/configure.c | fprintf (stderr, "\nECHO-PSS DMA set to %d\n", num); |
num | 1196 | drivers/sound/configure.c | printf ("#define PSS_DMA %d\n", num); |
num | 1204 | drivers/sound/configure.c | num = ask_value ("%x", 0x530); |
num | 1205 | drivers/sound/configure.c | fprintf (stderr, "PSS/MSS I/O base set to %03x\n", num); |
num | 1206 | drivers/sound/configure.c | printf ("#define PSS_MSS_BASE 0x%03x\n", num); |
num | 1213 | drivers/sound/configure.c | num = ask_value ("%d", 11); |
num | 1214 | drivers/sound/configure.c | if (num == 6 || num < 3 || num > 15) |
num | 1217 | drivers/sound/configure.c | num = 11; |
num | 1219 | drivers/sound/configure.c | fprintf (stderr, "PSS/MSS IRQ set to %d\n", num); |
num | 1220 | drivers/sound/configure.c | printf ("#define PSS_MSS_IRQ %d\n", num); |
num | 1227 | drivers/sound/configure.c | num = ask_value ("%d", 3); |
num | 1228 | drivers/sound/configure.c | if (num == 4 || num < 0 || num > 7) |
num | 1231 | drivers/sound/configure.c | num = 3; |
num | 1233 | drivers/sound/configure.c | fprintf (stderr, "\nPSS/MSS DMA set to %d\n", num); |
num | 1234 | drivers/sound/configure.c | printf ("#define PSS_MSS_DMA %d\n", num); |
num | 1240 | drivers/sound/configure.c | num = ask_value ("%x", 0x330); |
num | 1241 | drivers/sound/configure.c | fprintf (stderr, "PSS/MIDI I/O base set to %03x\n", num); |
num | 1242 | drivers/sound/configure.c | printf ("#define PSS_MPU_BASE 0x%03x\n", num); |
num | 1249 | drivers/sound/configure.c | num = ask_value ("%d", 9); |
num | 1250 | drivers/sound/configure.c | if (num == 6 || num < 3 || num > 15) |
num | 1254 | drivers/sound/configure.c | num = 5; |
num | 1256 | drivers/sound/configure.c | fprintf (stderr, "PSS MIDI IRQ set to %d\n", num); |
num | 1257 | drivers/sound/configure.c | printf ("#define PSS_MPU_IRQ %d\n", num); |
num | 1267 | drivers/sound/configure.c | num = ask_value ("%x", 0x530); |
num | 1268 | drivers/sound/configure.c | fprintf (stderr, "MSS I/O base set to %03x\n", num); |
num | 1269 | drivers/sound/configure.c | printf ("#define MSS_BASE 0x%03x\n", num); |
num | 1276 | drivers/sound/configure.c | num = ask_value ("%d", 10); |
num | 1277 | drivers/sound/configure.c | if (num == 6 || num < 3 || num > 15) |
num | 1280 | drivers/sound/configure.c | num = 7; |
num | 1282 | drivers/sound/configure.c | fprintf (stderr, "MSS IRQ set to %d\n", num); |
num | 1283 | drivers/sound/configure.c | printf ("#define MSS_IRQ %d\n", num); |
num | 1290 | drivers/sound/configure.c | num = ask_value ("%d", 3); |
num | 1291 | drivers/sound/configure.c | if (num == 4 || num < 0 || num > 7) |
num | 1294 | drivers/sound/configure.c | num = 3; |
num | 1296 | drivers/sound/configure.c | fprintf (stderr, "\nMSS DMA set to %d\n", num); |
num | 1297 | drivers/sound/configure.c | printf ("#define MSS_DMA %d\n", num); |
num | 1309 | drivers/sound/configure.c | num = ask_value ("%x", 0x330); |
num | 1310 | drivers/sound/configure.c | fprintf (stderr, "Soundscape I/O base set to %03x\n", num); |
num | 1311 | drivers/sound/configure.c | printf ("#define SSCAPE_BASE 0x%03x\n", num); |
num | 1328 | drivers/sound/configure.c | num = ask_value ("%d", 9); |
num | 1329 | drivers/sound/configure.c | if (num == 6 || num < 3 || num > 15) |
num | 1332 | drivers/sound/configure.c | num = 9; |
num | 1334 | drivers/sound/configure.c | fprintf (stderr, "Soundscape IRQ set to %d\n", num); |
num | 1335 | drivers/sound/configure.c | printf ("#define SSCAPE_IRQ %d\n", num); |
num | 1342 | drivers/sound/configure.c | num = ask_value ("%d", 3); |
num | 1343 | drivers/sound/configure.c | if (num == 4 || num < 0 || num > 7) |
num | 1346 | drivers/sound/configure.c | num = 3; |
num | 1348 | drivers/sound/configure.c | fprintf (stderr, "\nSoundscape DMA set to %d\n", num); |
num | 1349 | drivers/sound/configure.c | printf ("#define SSCAPE_DMA %d\n", num); |
num | 1356 | drivers/sound/configure.c | num = ask_value ("%x", 0x534); |
num | 1357 | drivers/sound/configure.c | fprintf (stderr, "SSCAPE/MSS I/O base set to %03x\n", num); |
num | 1358 | drivers/sound/configure.c | printf ("#define SSCAPE_MSS_BASE 0x%03x\n", num); |
num | 1368 | drivers/sound/configure.c | num = ask_value ("%d", 5); |
num | 1369 | drivers/sound/configure.c | if (num == 6 || num < 3 || num > 15) |
num | 1372 | drivers/sound/configure.c | num = 10; |
num | 1374 | drivers/sound/configure.c | fprintf (stderr, "SSCAPE/MSS IRQ set to %d\n", num); |
num | 1375 | drivers/sound/configure.c | printf ("#define SSCAPE_MSS_IRQ %d\n", num); |
num | 1382 | drivers/sound/configure.c | num = ask_value ("%d", 3); |
num | 1383 | drivers/sound/configure.c | if (num == 4 || num < 0 || num > 7) |
num | 1386 | drivers/sound/configure.c | num = 3; |
num | 1388 | drivers/sound/configure.c | fprintf (stderr, "\nSSCAPE/MSS DMA set to %d\n", num); |
num | 1389 | drivers/sound/configure.c | printf ("#define SSCAPE_MSS_DMA %d\n", num); |
num | 1399 | drivers/sound/configure.c | num = ask_value ("%x", 0x530); |
num | 1400 | drivers/sound/configure.c | fprintf (stderr, "AudioTriX MSS I/O base set to %03x\n", num); |
num | 1401 | drivers/sound/configure.c | printf ("#define TRIX_BASE 0x%03x\n", num); |
num | 1408 | drivers/sound/configure.c | num = ask_value ("%d", 11); |
num | 1409 | drivers/sound/configure.c | if (num != 5 && num != 7 && num != 9 && num != 10 && num != 11) |
num | 1412 | drivers/sound/configure.c | num = 11; |
num | 1414 | drivers/sound/configure.c | fprintf (stderr, " AudioTriX WSS IRQ set to %d\n", num); |
num | 1415 | drivers/sound/configure.c | printf ("#define TRIX_IRQ %d\n", num); |
num | 1422 | drivers/sound/configure.c | num = ask_value ("%d", 3); |
num | 1423 | drivers/sound/configure.c | if (num != 0 && num != 1 && num != 3) |
num | 1426 | drivers/sound/configure.c | num = 3; |
num | 1428 | drivers/sound/configure.c | fprintf (stderr, "\nAudioTriX/WSS DMA set to %d\n", num); |
num | 1429 | drivers/sound/configure.c | printf ("#define TRIX_DMA %d\n", num); |
num | 1437 | drivers/sound/configure.c | num = ask_value ("%d", 0); |
num | 1438 | drivers/sound/configure.c | if (num != 0 && num != 1 && num != 3 || num != -1) |
num | 1441 | drivers/sound/configure.c | num = 0; |
num | 1443 | drivers/sound/configure.c | fprintf (stderr, "\nAudioTriX/WSS DMA2 set to %d\n", num); |
num | 1444 | drivers/sound/configure.c | printf ("#define TRIX_DMA2 %d\n", num); |
num | 1451 | drivers/sound/configure.c | num = ask_value ("%x", 0x220); |
num | 1452 | drivers/sound/configure.c | fprintf (stderr, "AudioTriX SB I/O base set to %03x\n", num); |
num | 1453 | drivers/sound/configure.c | printf ("#define TRIX_SB_BASE 0x%03x\n", num); |
num | 1460 | drivers/sound/configure.c | num = ask_value ("%d", 7); |
num | 1461 | drivers/sound/configure.c | if (num != 3 && num != 4 && num != 5 && num != 7) |
num | 1464 | drivers/sound/configure.c | num = 7; |
num | 1466 | drivers/sound/configure.c | fprintf (stderr, " AudioTriX SB IRQ set to %d\n", num); |
num | 1467 | drivers/sound/configure.c | printf ("#define TRIX_SB_IRQ %d\n", num); |
num | 1474 | drivers/sound/configure.c | num = ask_value ("%d", 1); |
num | 1475 | drivers/sound/configure.c | if (num != 1 && num != 3) |
num | 1478 | drivers/sound/configure.c | num = 1; |
num | 1480 | drivers/sound/configure.c | fprintf (stderr, "\nAudioTriX/SB DMA set to %d\n", num); |
num | 1481 | drivers/sound/configure.c | printf ("#define TRIX_SB_DMA %d\n", num); |
num | 1488 | drivers/sound/configure.c | num = ask_value ("%x", 0x330); |
num | 1489 | drivers/sound/configure.c | fprintf (stderr, "AudioTriX MIDI I/O base set to %03x\n", num); |
num | 1490 | drivers/sound/configure.c | printf ("#define TRIX_MPU_BASE 0x%03x\n", num); |
num | 1497 | drivers/sound/configure.c | num = ask_value ("%d", 5); |
num | 1498 | drivers/sound/configure.c | if (num != 3 && num != 4 && num != 5 && num != 7 && num != 9) |
num | 1501 | drivers/sound/configure.c | num = 5; |
num | 1503 | drivers/sound/configure.c | fprintf (stderr, " AudioTriX MIDI IRQ set to %d\n", num); |
num | 1504 | drivers/sound/configure.c | printf ("#define TRIX_MPU_IRQ %d\n", num); |
num | 1516 | drivers/sound/configure.c | num = ask_value ("%x", 0x534); |
num | 1517 | drivers/sound/configure.c | fprintf (stderr, "CS4232 MSS I/O base set to %03x\n", num); |
num | 1518 | drivers/sound/configure.c | printf ("#define CS4232_BASE 0x%03x\n", num); |
num | 1525 | drivers/sound/configure.c | num = ask_value ("%d", 11); |
num | 1526 | drivers/sound/configure.c | if (num != 5 && num != 7 && num != 9 && num != 11 && num != 12 || num != 15) |
num | 1529 | drivers/sound/configure.c | num = 11; |
num | 1531 | drivers/sound/configure.c | fprintf (stderr, " CS4232 WSS IRQ set to %d\n", num); |
num | 1532 | drivers/sound/configure.c | printf ("#define CS4232_IRQ %d\n", num); |
num | 1541 | drivers/sound/configure.c | num = ask_value ("%d", 0); |
num | 1542 | drivers/sound/configure.c | if (num != 0 && num != 1 && num != 3) |
num | 1545 | drivers/sound/configure.c | num = 0; |
num | 1547 | drivers/sound/configure.c | fprintf (stderr, "\nCS4232/WSS DMA set to %d\n", num); |
num | 1548 | drivers/sound/configure.c | printf ("#define CS4232_DMA %d\n", num); |
num | 1549 | drivers/sound/configure.c | dma1 = num; |
num | 1556 | drivers/sound/configure.c | num = ask_value ("%d", 3); |
num | 1557 | drivers/sound/configure.c | if (num == dma1 || (num != -1 && num != 0 && num != 1 && num != 3)) |
num | 1560 | drivers/sound/configure.c | num = 3; |
num | 1562 | drivers/sound/configure.c | fprintf (stderr, "\nCS4232/WSS DMA2 set to %d\n", num); |
num | 1563 | drivers/sound/configure.c | printf ("#define CS4232_DMA2 %d\n", num); |
num | 1570 | drivers/sound/configure.c | num = ask_value ("%x", 0x330); |
num | 1571 | drivers/sound/configure.c | fprintf (stderr, "CS4232 MIDI I/O base set to %03x\n", num); |
num | 1572 | drivers/sound/configure.c | printf ("#define CS4232_MPU_BASE 0x%03x\n", num); |
num | 1579 | drivers/sound/configure.c | num = ask_value ("%d", 5); |
num | 1580 | drivers/sound/configure.c | if (num != 5 && num != 7 && num != 9 && num != 11 && num != 12 || num != 15) |
num | 1583 | drivers/sound/configure.c | num = 5; |
num | 1585 | drivers/sound/configure.c | fprintf (stderr, " CS4232 MIDI IRQ set to %d\n", num); |
num | 1586 | drivers/sound/configure.c | printf ("#define CS4232_MPU_IRQ %d\n", num); |
num | 1599 | drivers/sound/configure.c | num = ask_value ("%x", 0x530); |
num | 1600 | drivers/sound/configure.c | fprintf (stderr, "MAD16 MSS I/O base set to %03x\n", num); |
num | 1601 | drivers/sound/configure.c | printf ("#define MAD16_BASE 0x%03x\n", num); |
num | 1603 | drivers/sound/configure.c | if ((sb_base == 0x220 && (num == 0x530 || num == 0x480)) || |
num | 1604 | drivers/sound/configure.c | (sb_base == 0x240 && (num == 0xf40 || num == 0x604))) |
num | 1622 | drivers/sound/configure.c | num = ask_value ("%d", 11); |
num | 1623 | drivers/sound/configure.c | if (num != 7 && num != 9 && num != 10 && num != 11) |
num | 1626 | drivers/sound/configure.c | num = 11; |
num | 1628 | drivers/sound/configure.c | fprintf (stderr, " MAD16 WSS IRQ set to %d\n", num); |
num | 1629 | drivers/sound/configure.c | printf ("#define MAD16_IRQ %d\n", num); |
num | 1636 | drivers/sound/configure.c | num = ask_value ("%d", 3); |
num | 1637 | drivers/sound/configure.c | if (num != 0 && num != 1 && num != 3) |
num | 1640 | drivers/sound/configure.c | num = 3; |
num | 1642 | drivers/sound/configure.c | fprintf (stderr, "\nMAD16/WSS DMA set to %d\n", num); |
num | 1643 | drivers/sound/configure.c | printf ("#define MAD16_DMA %d\n", num); |
num | 1645 | drivers/sound/configure.c | num = (num == 0) ? 1 : 0; |
num | 1650 | drivers/sound/configure.c | "Do you want to enable this mode? (n/y)", num); |
num | 1654 | drivers/sound/configure.c | fprintf (stderr, "\nMAD16/WSS capture DMA set to %d\n", num); |
num | 1655 | drivers/sound/configure.c | printf ("#define MAD16_DMA2 %d\n", num); |
num | 1669 | drivers/sound/configure.c | num = ask_value ("%x", 0x330); |
num | 1670 | drivers/sound/configure.c | if (num == 0) |
num | 1674 | drivers/sound/configure.c | fprintf (stderr, "MAD16 MIDI I/O base set to %03x\n", num); |
num | 1675 | drivers/sound/configure.c | printf ("#define MAD16_MPU_BASE 0x%03x\n", num); |
num | 1682 | drivers/sound/configure.c | num = ask_value ("%d", 5); |
num | 1683 | drivers/sound/configure.c | if (num != 3 && num != 4 && num != 5 && num != 7 && num != 9) |
num | 1686 | drivers/sound/configure.c | num = 5; |
num | 1688 | drivers/sound/configure.c | fprintf (stderr, " MAD16 MIDI IRQ set to %d\n", num); |
num | 1689 | drivers/sound/configure.c | printf ("#define MAD16_MPU_IRQ %d\n", num); |
num | 1701 | drivers/sound/configure.c | num = ask_value ("%d", def_size); |
num | 1702 | drivers/sound/configure.c | if (num != 4096 && num != 16384 && num != 32768 && num != 65536) |
num | 1706 | drivers/sound/configure.c | num = def_size; |
num | 1708 | drivers/sound/configure.c | fprintf (stderr, "The DMA buffer size set to %d\n", num); |
num | 1709 | drivers/sound/configure.c | printf ("#define DSP_BUFFSIZE %d\n", num); |
num | 161 | drivers/sound/sound_calls.h | int gus_set_midi_irq(int num); |
num | 103 | fs/ext2/dir.c | int i, num, stored; |
num | 132 | fs/ext2/dir.c | for (i = 16 >> (EXT2_BLOCK_SIZE_BITS(sb) - 9), num = 0; |
num | 136 | fs/ext2/dir.c | bha[num++] = tmp; |
num | 140 | fs/ext2/dir.c | if (num) { |
num | 141 | fs/ext2/dir.c | ll_rw_block (READA, num, bha); |
num | 142 | fs/ext2/dir.c | for (i = 0; i < num; i++) |
num | 107 | fs/nfs/nfsroot.c | int num; |
num | 114 | fs/nfs/nfsroot.c | for (dev = dev_base, num = 0; dev != NULL; dev = dev->next) { |
num | 133 | fs/nfs/nfsroot.c | num++; |
num | 136 | fs/nfs/nfsroot.c | return num; |
num | 32 | fs/smbfs/proc.c | void smb_printerr(int class, int num); |
num | 1949 | fs/smbfs/proc.c | smb_printerr(int class, int num) |
num | 1958 | fs/smbfs/proc.c | printk("%s - %d", err_classes[i].class, num); |
num | 1964 | fs/smbfs/proc.c | if (num != err[j].code) |
num | 1973 | fs/smbfs/proc.c | printk("Unknown error - (%d,%d)", class, num); |
num | 72 | fs/umsdos/mangle.c | }num; |
num | 95 | fs/umsdos/mangle.c | *pt++ = lookup3 [u.num.num3]; |
num | 96 | fs/umsdos/mangle.c | *pt++ = lookup12[u.num.num2]; |
num | 97 | fs/umsdos/mangle.c | *pt++ = lookup12[u.num.num1]; |
num | 105 | include/linux/tty_driver.h | short num; /* number of devices */ |
num | 13 | include/linux/tty_ldisc.h | int num; |
num | 160 | include/net/sock.h | unsigned short num; |
num | 19 | kernel/resource.c | u_long from, num; |
num | 38 | kernel/resource.c | p->from, p->from+p->num-1, p->name); |
num | 48 | kernel/resource.c | u_long from, u_long num) |
num | 53 | kernel/resource.c | if (from > from+num-1) |
num | 58 | kernel/resource.c | if ((p != root) && (p->from+p->num-1 >= from)) { |
num | 62 | kernel/resource.c | if ((p->next == NULL) || (p->next->from > from+num-1)) |
num | 72 | kernel/resource.c | void request_region(unsigned int from, unsigned int num, const char *name) |
num | 78 | kernel/resource.c | if (iotable[i].num == 0) |
num | 83 | kernel/resource.c | p = find_gap(&iolist, from, num); |
num | 88 | kernel/resource.c | iotable[i].num = num; |
num | 99 | kernel/resource.c | void snarf_region(unsigned int from, unsigned int num) |
num | 101 | kernel/resource.c | request_region(from,num,"No name given."); |
num | 107 | kernel/resource.c | void release_region(unsigned int from, unsigned int num) |
num | 115 | kernel/resource.c | if ((q->from == from) && (q->num == num)) { |
num | 116 | kernel/resource.c | q->num = 0; |
num | 126 | kernel/resource.c | int check_region(unsigned int from, unsigned int num) |
num | 128 | kernel/resource.c | return (find_gap(&iolist, from, num) == NULL) ? -EBUSY : 0; |
num | 68 | lib/vsprintf.c | static char * number(char * str, long num, int base, int size, int precision |
num | 84 | lib/vsprintf.c | if (num < 0) { |
num | 86 | lib/vsprintf.c | num = -num; |
num | 103 | lib/vsprintf.c | if (num == 0) |
num | 105 | lib/vsprintf.c | else while (num != 0) |
num | 106 | lib/vsprintf.c | tmp[i++] = digits[do_div(num,base)]; |
num | 137 | lib/vsprintf.c | unsigned long num; |
num | 280 | lib/vsprintf.c | num = va_arg(args, unsigned long); |
num | 283 | lib/vsprintf.c | num = va_arg(args, short); |
num | 285 | lib/vsprintf.c | num = va_arg(args, unsigned short); |
num | 287 | lib/vsprintf.c | num = va_arg(args, int); |
num | 289 | lib/vsprintf.c | num = va_arg(args, unsigned int); |
num | 290 | lib/vsprintf.c | str = number(str, num, base, field_width, precision, flags); |
num | 107 | net/ipv4/af_inet.c | static int sk_inuse(struct proto *prot, int num) |
num | 111 | net/ipv4/af_inet.c | for(sk = prot->sock_array[num & (SOCK_ARRAY_SIZE -1 )]; |
num | 114 | net/ipv4/af_inet.c | if (sk->num == num) |
num | 184 | net/ipv4/af_inet.c | void put_sock(unsigned short num, struct sock *sk) |
num | 193 | net/ipv4/af_inet.c | sk->num = num; |
num | 195 | net/ipv4/af_inet.c | num = num &(SOCK_ARRAY_SIZE -1); |
num | 208 | net/ipv4/af_inet.c | if (sk->prot->sock_array[num] == NULL) |
num | 210 | net/ipv4/af_inet.c | sk->prot->sock_array[num] = sk; |
num | 229 | net/ipv4/af_inet.c | skp = sk->prot->sock_array + num; |
num | 263 | net/ipv4/af_inet.c | p=&(sk1->prot->sock_array[sk1->num & (SOCK_ARRAY_SIZE -1)]); |
num | 494 | net/ipv4/af_inet.c | if (sk->num == 0) |
num | 496 | net/ipv4/af_inet.c | sk->num = get_new_socknum(sk->prot, 0); |
num | 497 | net/ipv4/af_inet.c | if (sk->num == 0) |
num | 501 | net/ipv4/af_inet.c | put_sock(sk->num, sk); |
num | 502 | net/ipv4/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
num | 624 | net/ipv4/af_inet.c | sk->num = protocol; |
num | 640 | net/ipv4/af_inet.c | sk->num = protocol; |
num | 695 | net/ipv4/af_inet.c | if (sk->num) |
num | 703 | net/ipv4/af_inet.c | put_sock(sk->num, sk); |
num | 704 | net/ipv4/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
num | 842 | net/ipv4/af_inet.c | if (sk->num != 0) |
num | 889 | net/ipv4/af_inet.c | if (sk2->num != snum) |
num | 897 | net/ipv4/af_inet.c | if (sk2->num != snum) |
num | 915 | net/ipv4/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
num | 1300 | net/ipv4/af_inet.c | struct sock *get_sock(struct proto *prot, unsigned short num, |
num | 1309 | net/ipv4/af_inet.c | hnum = ntohs(num); |
num | 1325 | net/ipv4/af_inet.c | if (s->num != hnum) |
num | 1365 | net/ipv4/af_inet.c | unsigned short num, |
num | 1375 | net/ipv4/af_inet.c | if (s->num != num) |
num | 1394 | net/ipv4/af_inet.c | unsigned short num, |
num | 1401 | net/ipv4/af_inet.c | hnum = ntohs(num); |
num | 1416 | net/ipv4/af_inet.c | if (s->num != hnum) |
num | 750 | net/ipv4/icmp.c | sk->num = 256; /* Don't receive any data */ |
num | 440 | net/ipv4/ipmr.c | if(sk->type!=SOCK_RAW || sk->num!=IPPROTO_IGMP) |
num | 253 | net/ipv4/packet.c | p->type = sk->num; |
num | 3054 | net/ipv4/tcp.c | put_sock(newsk->num,newsk); |
num | 822 | net/unix/af_unix.c | int num; |
num | 878 | net/unix/af_unix.c | num=min(skb->len,size-copied); |
num | 879 | net/unix/af_unix.c | memcpy_tofs(sp, skb->data, num); |
num | 880 | net/unix/af_unix.c | copied+=num; |
num | 881 | net/unix/af_unix.c | done+=num; |
num | 882 | net/unix/af_unix.c | sp+=num; |
num | 884 | net/unix/af_unix.c | skb_pull(skb, num); |