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

123

/drivers/scsi/
H A Dmac_scsi.c159 int ints[7]; local
161 (void)get_options( str, ARRAY_SIZE(ints), ints);
163 if (setup_called++ || ints[0] < 1 || ints[0] > 6) {
170 if (ints[0] >= 1) {
171 if (ints[1] > 0)
173 setup_can_queue = ints[1];
175 if (ints[0] >= 2) {
176 if (ints[
[all...]
H A Dsym53c416.h32 static void sym53c416_setup(char *str, int *ints);
H A Dwd7000.c608 static void __init setup_error(char *mesg, int *ints) argument
610 if (ints[0] == 3)
611 printk(KERN_ERR "wd7000_setup: \"wd7000=%d,%d,0x%x\" -> %s\n", ints[1], ints[2], ints[3], mesg);
612 else if (ints[0] == 4)
613 printk(KERN_ERR "wd7000_setup: \"wd7000=%d,%d,0x%x,%d\" -> %s\n", ints[1], ints[2], ints[3], ints[
637 int ints[6]; local
[all...]
H A Dg_NCR5380.c147 * @ints: numeric parameters
155 static void __init internal_setup(int board, char *str, int *ints) argument
160 if (ints[0] != 2 && ints[0] != 3) {
166 if (ints[0] != 2) {
172 if (ints[0] != 2) {
178 if (ints[0] != 2) {
186 overrides[commandline_current].NCR5380_map_name = (NCR5380_map_type) ints[1];
187 overrides[commandline_current].irq = ints[2];
188 if (ints[
208 int ints[10]; local
226 int ints[10]; local
244 int ints[10]; local
262 int ints[10]; local
[all...]
H A Datari_scsi.c278 * end-of-DMA, both SCSI ints are triggered simultaneously, so the NCR int has
737 void __init atari_scsi_setup(char *str, int *ints) argument
745 if (ints[0] < 1) {
750 if (ints[0] >= 1) {
751 if (ints[1] > 0)
753 setup_can_queue = ints[1];
755 if (ints[0] >= 2) {
756 if (ints[2] > 0)
757 setup_cmd_per_lun = ints[2];
759 if (ints[
[all...]
H A Dsym53c416.c545 void sym53c416_setup(char *str, int *ints) argument
554 if(ints[0] < 1 || ints[0] > 2)
561 if(hosts[i].base == ints[1])
565 hosts[host_index].base = ints[1];
566 hosts[host_index].irq = (ints[0] == 2)? ints[2] : 0;
598 int ints[2]; local
600 ints[0] = 1;
604 ints[
621 int ints[3]; local
[all...]
H A Dt128.c157 * Function : t128_setup(char *str, int *ints)
161 * Inputs : str - unused, ints - array of integer parameters with ints[0]
162 * equal to the number of ints.
166 void __init t128_setup(char *str, int *ints){ argument
169 if (ints[0] != 2)
173 overrides[commandline_current].address = ints[1];
174 overrides[commandline_current].irq = ints[2];
176 if (bases[i].address == ints[1]) {
H A Ddtc.c170 * Function : dtc_setup(char *str, int *ints)
174 * Inputs : str - unused, ints - array of integer parameters with ints[0]
175 * equal to the number of ints.
179 static void __init dtc_setup(char *str, int *ints) argument
183 if (ints[0] != 2)
186 overrides[commandline_current].address = ints[1];
187 overrides[commandline_current].irq = ints[2];
189 if (bases[i].address == ints[1]) {
H A Dpas16.c342 * Function : pas16_setup(char *str, int *ints)
346 * Inputs : str - unused, ints - array of integer parameters with ints[0]
347 * equal to the number of ints.
351 void __init pas16_setup(char *str, int *ints) argument
355 if (ints[0] != 2)
359 overrides[commandline_current].io_port = (unsigned short) ints[1];
360 overrides[commandline_current].irq = ints[2];
362 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.c434 static unsigned short ints[] = { 3, 5, 10, 11, 12, 14, 15, 0 }; variable
558 int ints[4]; local
560 (void)get_options(str, ARRAY_SIZE(ints), ints);
562 if (setup_called++ || ints[0] < 2 || ints[0] > 3) {
568 port_base = ints[0] >= 1 ? ints[1] : 0;
569 interrupt_level = ints[0] >= 2 ? ints[
[all...]
H A Daha1542.c897 static void __init aha1542_setup(char *str, int *ints) argument
909 if (ints[0] < 1 || ints[0] > 4) {
914 setup_called[setup_idx] = ints[0];
917 setup_portbase = ints[0] >= 1 ? ints[1] : 0; /* Preserve the default value.. */
918 setup_buson[setup_idx] = ints[0] >= 2 ? ints[2] : 7;
919 setup_busoff[setup_idx] = ints[0] >= 3 ? ints[
955 int ints[5]; local
[all...]
H A Dfd_mcs.c302 int ints[3]; local
304 get_options(str, 3, ints);
305 if (done_setup++ || ints[0] < 1 || ints[0] > 2 || ints[1] < 1 || ints[1] > 16) {
310 user_fifo_count = ints[0] >= 1 ? ints[1] : 0;
311 user_fifo_size = ints[0] >= 2 ? ints[
[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/block/
H A Dhd.c177 static void __init hd_setup(char *str, int *ints) argument
181 if (ints[0] != 3)
185 hd_info[hdind].head = ints[2];
186 hd_info[hdind].sect = ints[3];
187 hd_info[hdind].cyl = ints[1];
189 hd_info[hdind].lzone = ints[1];
190 hd_info[hdind].ctl = (ints[2] > 8 ? 8 : 0);
806 int ints[6]; local
808 (void) get_options(line, ARRAY_SIZE(ints), ints);
[all...]
H A Dataflop.c412 /* protect against various other ints mucking around with the PSG */
435 /* protect against various other ints mucking around with the PSG */
462 /* protect against various other ints mucking around with the PSG */
527 /* protect against various other ints mucking around with the PSG */
2001 int ints[3 + FD_MAX_UNITS]; local
2007 str = get_options(str, 3 + FD_MAX_UNITS, ints);
2009 if (ints[0] < 1) {
2013 else if (ints[0] > 2+FD_MAX_UNITS) {
2017 if (ints[1] < 0 || ints[
[all...]
/drivers/net/wireless/ath/ath9k/
H A Dmac.c837 enum ath9k_int ints = ah->imask; local
842 if (!(ints & ATH9K_INT_GLOBAL))
845 ath_dbg(common, INTERRUPT, "New interrupt mask 0x%x\n", ints);
847 mask = ints & ATH9K_INT_COMMON;
850 if (ints & ATH9K_INT_TX) {
864 if (ints & ATH9K_INT_RX) {
883 if (ints & ATH9K_INT_GENTIMER)
886 if (ints & (ATH9K_INT_BMISC)) {
888 if (ints & ATH9K_INT_TIM)
890 if (ints
[all...]
/drivers/usb/host/
H A Dohci-hcd.c752 int ints; local
758 ints = ohci_readl(ohci, &regs->intrstatus);
763 if (ints == ~(u32)0) {
771 ints &= ohci_readl(ohci, &regs->intrenable);
774 if (ints == 0 || unlikely(ohci->rh_state == OHCI_RH_HALTED))
777 if (ints & OHCI_INTR_UE) {
798 if (ints & OHCI_INTR_RHSC) {
820 else if (ints & OHCI_INTR_RD) {
832 if (ints & OHCI_INTR_WDH) {
838 if (quirk_zfmicro(ohci) && (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...]
/drivers/net/appletalk/
H A Dltpc.c1199 int ints[5]; local
1201 str = get_options(str, ARRAY_SIZE(ints), ints);
1203 if (ints[0] == 0) {
1214 io = ints[1];
1215 if (ints[0] > 1) {
1216 irq = ints[2];
1218 if (ints[0] > 2) {
1219 dma = ints[3];

Completed in 419 milliseconds

123