/drivers/scsi/ |
H A D | mac_scsi.c | 148 int ints[7]; local 150 (void)get_options( str, ARRAY_SIZE(ints), ints); 152 if (setup_called++ || ints[0] < 1 || ints[0] > 6) { 159 if (ints[0] >= 1) { 160 if (ints[1] > 0) 162 setup_can_queue = ints[1]; 164 if (ints[0] >= 2) { 165 if (ints[ [all...] |
H A D | sym53c416.h | 32 static void sym53c416_setup(char *str, int *ints);
|
H A D | wd7000.c | 607 static void __init setup_error(char *mesg, int *ints) argument 609 if (ints[0] == 3) 610 printk(KERN_ERR "wd7000_setup: \"wd7000=%d,%d,0x%x\" -> %s\n", ints[1], ints[2], ints[3], mesg); 611 else if (ints[0] == 4) 612 printk(KERN_ERR "wd7000_setup: \"wd7000=%d,%d,0x%x,%d\" -> %s\n", ints[1], ints[2], ints[3], ints[ 636 int ints[6]; local [all...] |
H A D | g_NCR5380.c | 142 * @ints: numeric parameters 150 static void __init internal_setup(int board, char *str, int *ints) argument 155 if (ints[0] != 2 && ints[0] != 3) { 161 if (ints[0] != 2) { 167 if (ints[0] != 2) { 173 if (ints[0] != 2) { 181 overrides[commandline_current].NCR5380_map_name = (NCR5380_map_type) ints[1]; 182 overrides[commandline_current].irq = ints[2]; 183 if (ints[ 203 int ints[10]; local 221 int ints[10]; local 239 int ints[10]; local 257 int ints[10]; local [all...] |
H A D | atari_scsi.c | 273 * end-of-DMA, both SCSI ints are triggered simultaneously, so the NCR int has 745 int ints[6]; local 747 get_options(str, ARRAY_SIZE(ints), ints); 749 if (ints[0] < 1) { 754 if (ints[0] >= 1) { 755 if (ints[1] > 0) 757 setup_can_queue = ints[1]; 759 if (ints[0] >= 2) { 760 if (ints[ [all...] |
H A D | sym53c416.c | 544 void sym53c416_setup(char *str, int *ints) argument 553 if(ints[0] < 1 || ints[0] > 2) 560 if(hosts[i].base == ints[1]) 564 hosts[host_index].base = ints[1]; 565 hosts[host_index].irq = (ints[0] == 2)? ints[2] : 0; 597 int ints[2]; local 599 ints[0] = 1; 603 ints[ 620 int ints[3]; local [all...] |
H A D | t128.c | 152 * Function : t128_setup(char *str, int *ints) 156 * Inputs : str - unused, ints - array of integer parameters with ints[0] 157 * equal to the number of ints. 161 void __init t128_setup(char *str, int *ints){ argument 164 if (ints[0] != 2) 168 overrides[commandline_current].address = ints[1]; 169 overrides[commandline_current].irq = ints[2]; 171 if (bases[i].address == ints[1]) {
|
H A D | dtc.c | 167 * Function : dtc_setup(char *str, int *ints) 171 * Inputs : str - unused, ints - array of integer parameters with ints[0] 172 * equal to the number of ints. 176 static void __init dtc_setup(char *str, int *ints) argument 180 if (ints[0] != 2) 183 overrides[commandline_current].address = ints[1]; 184 overrides[commandline_current].irq = ints[2]; 186 if (bases[i].address == ints[1]) {
|
H A D | pas16.c | 341 * Function : pas16_setup(char *str, int *ints) 345 * Inputs : str - unused, ints - array of integer parameters with ints[0] 346 * equal to the number of ints. 350 void __init pas16_setup(char *str, int *ints) argument 354 if (ints[0] != 2) 358 overrides[commandline_current].io_port = (unsigned short) ints[1]; 359 overrides[commandline_current].irq = ints[2]; 361 if (bases[i].io_port == (unsigned short) ints[1]) {
|
H A D | NCR53c406a.c | 615 int ints[4]; local 624 get_options(str, 4, ints); 625 if (ints[0] < 1 || ints[0] > 3) { 631 if (ports[i] == ints[1]) { 632 port_base = ints[1]; 637 printk("NCR53c406a: Invalid PORTBASE 0x%x specified\n", ints[1]); 641 if (ints[0] > 1) { 642 if (ints[2] == 0) { 648 if (intrs[i] == ints[ [all...] |
H A D | fdomain.c | 433 static unsigned short ints[] = { 3, 5, 10, 11, 12, 14, 15, 0 }; variable 557 int ints[4]; local 559 (void)get_options(str, ARRAY_SIZE(ints), ints); 561 if (setup_called++ || ints[0] < 2 || ints[0] > 3) { 567 port_base = ints[0] >= 1 ? ints[1] : 0; 568 interrupt_level = ints[0] >= 2 ? ints[ [all...] |
H A D | aha1542.c | 894 static void __init aha1542_setup(char *str, int *ints) argument 906 if (ints[0] < 1 || ints[0] > 4) { 911 setup_called[setup_idx] = ints[0]; 914 setup_portbase = ints[0] >= 1 ? ints[1] : 0; /* Preserve the default value.. */ 915 setup_buson[setup_idx] = ints[0] >= 2 ? ints[2] : 7; 916 setup_busoff[setup_idx] = ints[0] >= 3 ? ints[ 952 int ints[5]; local [all...] |
/drivers/net/arcnet/ |
H A D | com20020-isa.c | 189 int ints[8]; local 191 s = get_options(s, 8, ints); 192 if (!ints[0]) 195 switch (ints[0]) { 199 timeout = ints[6]; 201 clockp = ints[5]; 203 backplane = ints[4]; 205 node = ints[3]; 207 irq = ints[2]; 209 io = ints[ [all...] |
H A D | arc-rimi.c | 376 int ints[8]; local 377 s = get_options(s, 8, ints); 378 if (!ints[0]) 380 switch (ints[0]) { 384 node = ints[3]; 386 irq = ints[2]; 388 io = ints[1];
|
H A D | com90io.c | 371 int ints[4]; local 372 s = get_options(s, 4, ints); 373 if (!ints[0]) 375 switch (ints[0]) { 379 irq = ints[2]; 381 io = ints[1];
|
H A D | com90xx.c | 678 int ints[8]; local 680 s = get_options(s, 8, ints); 681 if (!ints[0] && !*s) { 686 switch (ints[0]) { 690 shmem = ints[3]; 692 irq = ints[2]; 694 io = ints[1];
|
/drivers/isdn/pcbit/ |
H A D | module.c | 98 int ints[MAX_PARA + 1]; local 100 str = get_options(line, MAX_PARA, ints); 101 argc = ints[0]; 108 mem[i] = ints[j]; 113 irq[i] = ints[j];
|
/drivers/video/console/ |
H A D | mdacon.c | 181 int ints[3]; local 183 str = get_options(str, ARRAY_SIZE(ints), ints); 185 if (ints[0] < 2) 188 if (ints[1] < 1 || ints[1] > MAX_NR_CONSOLES || 189 ints[2] < 1 || ints[2] > MAX_NR_CONSOLES) 192 mda_first_vc = ints[1]; 193 mda_last_vc = ints[ [all...] |
/drivers/net/wireless/ath/ath9k/ |
H A D | mac.c | 854 enum ath9k_int ints = ah->imask; local 859 if (!(ints & ATH9K_INT_GLOBAL)) 862 ath_dbg(common, INTERRUPT, "New interrupt mask 0x%x\n", ints); 864 mask = ints & ATH9K_INT_COMMON; 867 if (ints & ATH9K_INT_TX) { 881 if (ints & ATH9K_INT_RX) { 900 if (ints & ATH9K_INT_GENTIMER) 903 if (ints & (ATH9K_INT_BMISC)) { 905 if (ints & ATH9K_INT_TIM) 907 if (ints [all...] |
/drivers/block/ |
H A D | hd.c | 176 static void __init hd_setup(char *str, int *ints) argument 180 if (ints[0] != 3) 184 hd_info[hdind].head = ints[2]; 185 hd_info[hdind].sect = ints[3]; 186 hd_info[hdind].cyl = ints[1]; 188 hd_info[hdind].lzone = ints[1]; 189 hd_info[hdind].ctl = (ints[2] > 8 ? 8 : 0); 795 int ints[6]; local 797 (void) get_options(line, ARRAY_SIZE(ints), ints); [all...] |
H A D | ataflop.c | 414 /* protect against various other ints mucking around with the PSG */ 437 /* protect against various other ints mucking around with the PSG */ 464 /* protect against various other ints mucking around with the PSG */ 529 /* protect against various other ints mucking around with the PSG */ 2000 int ints[3 + FD_MAX_UNITS]; local 2006 str = get_options(str, 3 + FD_MAX_UNITS, ints); 2008 if (ints[0] < 1) { 2012 else if (ints[0] > 2+FD_MAX_UNITS) { 2016 if (ints[1] < 0 || ints[ [all...] |
/drivers/usb/host/ |
H A D | ohci-hcd.c | 856 int ints; local 862 ints = ohci_readl(ohci, ®s->intrstatus); 867 if (ints == ~(u32)0) { 875 ints &= ohci_readl(ohci, ®s->intrenable); 878 if (ints == 0 || unlikely(ohci->rh_state == OHCI_RH_HALTED)) 881 if (ints & OHCI_INTR_UE) { 902 if (ints & OHCI_INTR_RHSC) { 924 else if (ints & OHCI_INTR_RD) { 937 if (ints & OHCI_INTR_WDH) 946 if ((ints [all...] |
/drivers/net/hamradio/ |
H A D | baycom_ser_fdx.c | 61 * 0.4 08.07.1997 alternative ser12 decoding algorithm (uses delta CTS ints) 455 * the baud rate is set to produce 100 ints/sec 457 * during transmit to baud ints/sec to run 697 int ints[4]; local 701 str = get_options(str, 4, ints); 702 if (ints[0] < 2) 705 iobase[nr_dev] = ints[1]; 706 irq[nr_dev] = ints[2]; 707 if (ints[0] >= 3) 708 baud[nr_dev] = ints[ [all...] |
H A D | baycom_par.c | 59 * 0.4 08.07.1997 alternative ser12 decoding algorithm (uses delta CTS ints) 559 int ints[2]; local 563 str = get_options(str, 2, ints); 564 if (ints[0] < 1) 567 iobase[nr_dev] = ints[1];
|
/drivers/net/appletalk/ |
H A D | ltpc.c | 1198 int ints[5]; local 1200 str = get_options(str, ARRAY_SIZE(ints), ints); 1202 if (ints[0] == 0) { 1213 io = ints[1]; 1214 if (ints[0] > 1) { 1215 irq = ints[2]; 1217 if (ints[0] > 2) { 1218 dma = ints[3];
|