Searched refs:ints (Results 1 - 25 of 56) sorted by relevance

123

/drivers/scsi/
H A Dmac_scsi.c148 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 Dsym53c416.h32 static void sym53c416_setup(char *str, int *ints);
H A Dwd7000.c607 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 Dg_NCR5380.c142 * @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 Datari_scsi.c273 * 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 Dsym53c416.c544 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 Dt128.c152 * 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 Ddtc.c167 * 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 Dpas16.c341 * 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 DNCR53c406a.c615 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 Dfdomain.c433 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 Daha1542.c894 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 Dcom20020-isa.c189 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 Darc-rimi.c376 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 Dcom90io.c371 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 Dcom90xx.c678 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 Dmodule.c98 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 Dmdacon.c181 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 Dmac.c854 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 Dhd.c176 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 Dataflop.c414 /* 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 Dohci-hcd.c856 int ints; local
862 ints = ohci_readl(ohci, &regs->intrstatus);
867 if (ints == ~(u32)0) {
875 ints &= ohci_readl(ohci, &regs->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 Dbaycom_ser_fdx.c61 * 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 Dbaycom_par.c59 * 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 Dltpc.c1198 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];

Completed in 457 milliseconds

123