/linux-2.4.37.9/drivers/scsi/ |
D | mac_scsi.c | 159 int ints[7]; in mac_scsi_setup() local 161 (void)get_options( str, ARRAY_SIZE(ints), ints); in mac_scsi_setup() 163 if (setup_called++ || ints[0] < 1 || ints[0] > 6) { in mac_scsi_setup() 170 if (ints[0] >= 1) { in mac_scsi_setup() 171 if (ints[1] > 0) in mac_scsi_setup() 173 setup_can_queue = ints[1]; in mac_scsi_setup() 175 if (ints[0] >= 2) { in mac_scsi_setup() 176 if (ints[2] > 0) in mac_scsi_setup() 177 setup_cmd_per_lun = ints[2]; in mac_scsi_setup() 179 if (ints[0] >= 3) { in mac_scsi_setup() [all …]
|
D | wd7000.c | 577 static void setup_error (char *mesg, int *ints) in setup_error() argument 579 if (ints[0] == 3) in setup_error() 581 ints[1], ints[2], ints[3], mesg); in setup_error() 582 else if (ints[0] == 4) in setup_error() 584 ints[1], ints[2], ints[3], ints[4], mesg); in setup_error() 587 ints[1], ints[2], ints[3], ints[4], ints[5], mesg); in setup_error() 609 int ints[6]; in wd7000_setup() local 611 (void)get_options(str, ARRAY_SIZE(ints), ints); in wd7000_setup() 619 if ((ints[0] < 3) || (ints[0] > 5)) { in wd7000_setup() 624 if (ints[1] == wd7000_irq[i]) in wd7000_setup() [all …]
|
D | g_NCR5380.c | 161 static void __init internal_setup(int board, char *str, int *ints) in internal_setup() argument 166 if (ints[0] != 2 && ints[0] != 3) { in internal_setup() 172 if (ints[0] != 2) { in internal_setup() 178 if (ints[0] != 2) { in internal_setup() 184 if (ints[0] != 2) { in internal_setup() 192 overrides[commandline_current].NCR5380_map_name = (NCR5380_map_type) ints[1]; in internal_setup() 193 overrides[commandline_current].irq = ints[2]; in internal_setup() 194 if (ints[0] == 3) in internal_setup() 195 overrides[commandline_current].dma = ints[3]; in internal_setup() 213 int ints[10]; in do_NCR5380_setup() local [all …]
|
D | atari_scsi.c | 780 void __init atari_scsi_setup(char *str, int *ints) in atari_scsi_setup() argument 788 if (ints[0] < 1) { in atari_scsi_setup() 793 if (ints[0] >= 1) { in atari_scsi_setup() 794 if (ints[1] > 0) in atari_scsi_setup() 796 setup_can_queue = ints[1]; in atari_scsi_setup() 798 if (ints[0] >= 2) { in atari_scsi_setup() 799 if (ints[2] > 0) in atari_scsi_setup() 800 setup_cmd_per_lun = ints[2]; in atari_scsi_setup() 802 if (ints[0] >= 3) { in atari_scsi_setup() 803 if (ints[3] >= 0) { in atari_scsi_setup() [all …]
|
D | sym53c416.c | 573 void sym53c416_setup(char *str, int *ints) in sym53c416_setup() argument 582 if(ints[0] < 1 || ints[0] > 2) in sym53c416_setup() 589 if(hosts[i].base == ints[1]) in sym53c416_setup() 593 hosts[host_index].base = ints[1]; in sym53c416_setup() 594 hosts[host_index].irq = (ints[0] == 2)? ints[2] : 0; in sym53c416_setup() 624 int ints[2]; in sym53c416_probe() local 626 ints[0] = 1; in sym53c416_probe() 631 ints[1] = *base; in sym53c416_probe() 632 sym53c416_setup(NULL, ints); in sym53c416_probe() 646 int ints[3]; in sym53c416_detect() local [all …]
|
/linux-2.4.37.9/drivers/char/ |
D | atarimouse.c | 96 int ints[8]; in atari_mouse_setup() local 98 str = get_options(str, ARRAY_SIZE(ints), ints); in atari_mouse_setup() 100 if (ints[0] < 1) { in atari_mouse_setup() 104 else if (ints[0] > 2) { in atari_mouse_setup() 108 if (ints[1] < MIN_THRESHOLD || ints[1] > MAX_THRESHOLD) in atari_mouse_setup() 111 mouse_threshold[0] = ints[1]; in atari_mouse_setup() 112 mouse_threshold[1] = ints[1]; in atari_mouse_setup() 113 if (ints[0] > 1) { in atari_mouse_setup() 114 if (ints[2] < MIN_THRESHOLD || ints[2] > MAX_THRESHOLD) in atari_mouse_setup() 117 mouse_threshold[1] = ints[2]; in atari_mouse_setup()
|
D | ip2.c | 118 int ints[10]; /* 4 boards, 2 parameters + 2 */ in ip2_setup() local 121 str = get_options (str, ARRAY_SIZE(ints), ints); in ip2_setup() 124 if( j > ints[0] ) { in ip2_setup() 127 if( ints[j] >= 0 ) { in ip2_setup() 128 io[i] = ints[j]; in ip2_setup() 131 if( j > ints[0] ) { in ip2_setup() 134 if( ints[j] >= 0 ) { in ip2_setup() 135 irq[i] = ints[j]; in ip2_setup()
|
D | adbmouse.c | 184 int ints[4]; in adb_mouse_setup() local 186 str = get_options(str, ARRAY_SIZE(ints), ints); in adb_mouse_setup() 187 if (ints[0] >= 1) { in adb_mouse_setup() 188 adb_emulate_buttons = ints[1]; in adb_mouse_setup() 189 if (ints[0] >= 2) in adb_mouse_setup() 190 adb_button2_keycode = ints[2]; in adb_mouse_setup() 191 if (ints[0] >= 3) in adb_mouse_setup() 192 adb_button3_keycode = ints[3]; in adb_mouse_setup()
|
D | advantechwdt.c | 79 int ints[4]; in adv_setup() local 81 str = get_options(str, ARRAY_SIZE(ints), ints); in adv_setup() 83 if(ints[0] > 0){ in adv_setup() 84 wdt_stop = ints[1]; in adv_setup() 85 if(ints[0] > 1) in adv_setup() 86 wdt_start = ints[2]; in adv_setup()
|
D | logibusmouse.c | 70 int ints[4]; in bmouse_setup() local 72 str = get_options(str, ARRAY_SIZE(ints), ints); in bmouse_setup() 74 if (ints[0] > 0) in bmouse_setup() 75 mouse_irq=ints[1]; in bmouse_setup()
|
/linux-2.4.37.9/arch/ppc/amiga/ |
D | amiints.c | 216 unsigned short ints = custom.intreqr & custom.intenar; in ami_int1() local 219 if (ints & IF_TBE) { in ami_int1() 225 if (ints & IF_DSKBLK) { in ami_int1() 231 if (ints & IF_SOFT) { in ami_int1() 239 unsigned short ints = custom.intreqr & custom.intenar; in ami_int3() local 242 if (ints & IF_BLIT) { in ami_int3() 248 if (ints & IF_COPER) { in ami_int3() 254 if (ints & IF_VERTB) in ami_int3() 260 unsigned short ints = custom.intreqr & custom.intenar; in ami_int4() local 263 if (ints & IF_AUD0) { in ami_int4() [all …]
|
/linux-2.4.37.9/drivers/s390/misc/ |
D | chandev.c | 2325 static char *chandev_get_options(char *str, int nints, chandev_int *ints) in chandev_get_options() argument 2331 res = chandev_get_option(&str, ints+i); in chandev_get_options() 2336 ints[0] = i-1; in chandev_get_options() 2391 chandev_int ints[CHANDEV_MAX_EXTRA_INTS+1]; in chandev_setup() local 2398 memset(ints,0,sizeof(ints)); in chandev_setup() 2412 currstr=chandev_get_options(currstr,4,ints); in chandev_setup() 2413 if(*currstr&&ints[0]>=1) in chandev_setup() 2415 if(ints[0]==1) in chandev_setup() 2417 ints[2]=0; in chandev_setup() 2418 ints[3]=0xffff; in chandev_setup() [all …]
|
/linux-2.4.37.9/drivers/char/joystick/ |
D | turbografx.c | 209 int i, ints[9]; in tgfx_setup() local 210 get_options(str, ARRAY_SIZE(ints), ints); in tgfx_setup() 211 for (i = 0; i <= ints[0] && i < 8; i++) tgfx[i] = ints[i + 1]; in tgfx_setup() 216 int i, ints[9]; in tgfx_setup_2() local 217 get_options(str, ARRAY_SIZE(ints), ints); in tgfx_setup_2() 218 for (i = 0; i <= ints[0] && i < 8; i++) tgfx_2[i] = ints[i + 1]; in tgfx_setup_2() 223 int i, ints[9]; in tgfx_setup_3() local 224 get_options(str, ARRAY_SIZE(ints), ints); in tgfx_setup_3() 225 for (i = 0; i <= ints[0] && i < 8; i++) tgfx_3[i] = ints[i + 1]; in tgfx_setup_3()
|
/linux-2.4.37.9/drivers/net/arcnet/ |
D | com20020-isa.c | 193 int ints[8]; in com20020isa_setup() local 195 s = get_options(s, 8, ints); in com20020isa_setup() 196 if (!ints[0]) in com20020isa_setup() 203 switch (ints[0]) { in com20020isa_setup() 207 lp->timeout = ints[6]; in com20020isa_setup() 209 lp->clockp = ints[5]; in com20020isa_setup() 211 lp->backplane = ints[4]; in com20020isa_setup() 213 dev->dev_addr[0] = ints[3]; in com20020isa_setup() 215 dev->irq = ints[2]; in com20020isa_setup() 217 dev->base_addr = ints[1]; in com20020isa_setup()
|
/linux-2.4.37.9/arch/sparc64/prom/ |
D | init.c | 36 int ints[3]; in prom_init() local 81 ints[i++] = simple_strtoul(p, NULL, 0); in prom_init() 88 prom_rev = ints[1]; in prom_init() 89 prom_prev = (ints[0] << 16) | (ints[1] << 8) | ints[2]; in prom_init()
|
/linux-2.4.37.9/drivers/sound/ |
D | sgalaxy.c | 183 int ints[6]; in setup_sgalaxy() local 185 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_sgalaxy() 186 io = ints[1]; in setup_sgalaxy() 187 irq = ints[2]; in setup_sgalaxy() 188 dma = ints[3]; in setup_sgalaxy() 189 dma2 = ints[4]; in setup_sgalaxy() 190 sgbase = ints[5]; in setup_sgalaxy()
|
D | opl3sa.c | 321 int ints[7]; in setup_opl3sa() local 323 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_opl3sa() 325 io = ints[1]; in setup_opl3sa() 326 irq = ints[2]; in setup_opl3sa() 327 dma = ints[3]; in setup_opl3sa() 328 dma2 = ints[4]; in setup_opl3sa() 329 mpu_io = ints[5]; in setup_opl3sa() 330 mpu_irq = ints[6]; in setup_opl3sa()
|
D | pas2_card.c | 446 int ints[9]; in setup_pas2() local 448 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_pas2() 450 io = ints[1]; in setup_pas2() 451 irq = ints[2]; in setup_pas2() 452 dma = ints[3]; in setup_pas2() 453 dma16 = ints[4]; in setup_pas2() 455 sb_io = ints[5]; in setup_pas2() 456 sb_irq = ints[6]; in setup_pas2() 457 sb_dma = ints[7]; in setup_pas2() 458 sb_dma16 = ints[8]; in setup_pas2()
|
D | trix.c | 527 int ints[9]; in setup_trix() local 529 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_trix() 531 io = ints[1]; in setup_trix() 532 irq = ints[2]; in setup_trix() 533 dma = ints[3]; in setup_trix() 534 dma2 = ints[4]; in setup_trix() 535 sb_io = ints[5]; in setup_trix() 536 sb_irq = ints[6]; in setup_trix() 537 sb_dma = ints[6]; in setup_trix() 538 mpu_io = ints[7]; in setup_trix() [all …]
|
D | adlib_card.c | 64 int ints[2]; in setup_adlib() local 65 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_adlib() 67 io = ints[1]; in setup_adlib()
|
/linux-2.4.37.9/arch/m68k/amiga/ |
D | amiints.c | 373 unsigned short ints = custom.intreqr & custom.intenar; in ami_int1() local 376 if (ints & IF_TBE) { in ami_int1() 382 if (ints & IF_DSKBLK) { in ami_int1() 388 if (ints & IF_SOFT) { in ami_int1() 396 unsigned short ints = custom.intreqr & custom.intenar; in ami_int3() local 399 if (ints & IF_BLIT) { in ami_int3() 405 if (ints & IF_COPER) { in ami_int3() 411 if (ints & IF_VERTB) in ami_int3() 417 unsigned short ints = custom.intreqr & custom.intenar; in ami_int4() local 420 if (ints & IF_AUD0) { in ami_int4() [all …]
|
/linux-2.4.37.9/drivers/cdrom/ |
D | isp16.c | 88 int ints[4]; in isp16_setup() local 90 (void) get_options(str, ARRAY_SIZE(ints), ints); in isp16_setup() 91 if (ints[0] > 0) in isp16_setup() 92 isp16_cdrom_base = ints[1]; in isp16_setup() 93 if (ints[0] > 1) in isp16_setup() 94 isp16_cdrom_irq = ints[2]; in isp16_setup() 95 if (ints[0] > 2) in isp16_setup() 96 isp16_cdrom_dma = ints[3]; in isp16_setup()
|
/linux-2.4.37.9/drivers/scsi/pcmcia/ |
D | aha152x_stub.c | 102 extern void aha152x_setup(char *str, int *ints); 224 int i, last_ret, last_fn, ints[8]; in aha152x_config_cs() local 273 ints[1] = link->io.BasePort1; in aha152x_config_cs() 274 ints[2] = link->irq.AssignedIRQ; in aha152x_config_cs() 275 ints[3] = host_id; in aha152x_config_cs() 276 ints[4] = reconnect; in aha152x_config_cs() 277 ints[5] = parity; in aha152x_config_cs() 278 ints[6] = synchronous; in aha152x_config_cs() 279 ints[7] = reset_delay; in aha152x_config_cs() 280 ints[8] = ext_trans; in aha152x_config_cs() [all …]
|
/linux-2.4.37.9/drivers/char/ftape/lowlevel/ |
D | ftape-setup.c | 67 int ints[2]; in ftape_setup() local 71 str = get_options(str, ARRAY_SIZE(ints), ints); in ftape_setup() 75 if (ints[0]) { in ftape_setup() 76 param = ints[1]; in ftape_setup()
|
/linux-2.4.37.9/drivers/isdn/pcbit/ |
D | module.c | 100 int ints[MAX_PARA+1]; in pcbit_setup() local 102 str = get_options(line, MAX_PARA, ints); in pcbit_setup() 103 argc = ints[0]; in pcbit_setup() 110 mem[i] = ints[j]; in pcbit_setup() 115 irq[i] = ints[j]; in pcbit_setup()
|