/drivers/scsi/ |
D | mac_scsi.c | 148 int ints[7]; in mac_scsi_setup() local 150 (void)get_options( str, ARRAY_SIZE(ints), ints); in mac_scsi_setup() 152 if (setup_called++ || ints[0] < 1 || ints[0] > 6) { in mac_scsi_setup() 159 if (ints[0] >= 1) { in mac_scsi_setup() 160 if (ints[1] > 0) in mac_scsi_setup() 162 setup_can_queue = ints[1]; in mac_scsi_setup() 164 if (ints[0] >= 2) { in mac_scsi_setup() 165 if (ints[2] > 0) in mac_scsi_setup() 166 setup_cmd_per_lun = ints[2]; in mac_scsi_setup() 168 if (ints[0] >= 3) { in mac_scsi_setup() [all …]
|
D | wd7000.c | 607 static void __init setup_error(char *mesg, int *ints) in setup_error() argument 609 if (ints[0] == 3) in setup_error() 610 printk(KERN_ERR "wd7000_setup: \"wd7000=%d,%d,0x%x\" -> %s\n", ints[1], ints[2], ints[3], mesg); in setup_error() 611 else if (ints[0] == 4) in setup_error() 612 …printk(KERN_ERR "wd7000_setup: \"wd7000=%d,%d,0x%x,%d\" -> %s\n", ints[1], ints[2], ints[3], ints[… in setup_error() 614 …RR "wd7000_setup: \"wd7000=%d,%d,0x%x,%d,%d\" -> %s\n", ints[1], ints[2], ints[3], ints[4], ints[5… in setup_error() 636 int ints[6]; in wd7000_setup() local 638 (void) get_options(str, ARRAY_SIZE(ints), ints); in wd7000_setup() 645 if ((ints[0] < 3) || (ints[0] > 5)) { in wd7000_setup() 649 if (ints[1] == wd7000_irq[i]) in wd7000_setup() [all …]
|
D | g_NCR5380.c | 150 static void __init internal_setup(int board, char *str, int *ints) in internal_setup() argument 155 if (ints[0] != 2 && ints[0] != 3) { in internal_setup() 161 if (ints[0] != 2) { in internal_setup() 167 if (ints[0] != 2) { in internal_setup() 173 if (ints[0] != 2) { in internal_setup() 181 overrides[commandline_current].NCR5380_map_name = (NCR5380_map_type) ints[1]; in internal_setup() 182 overrides[commandline_current].irq = ints[2]; in internal_setup() 183 if (ints[0] == 3) in internal_setup() 184 overrides[commandline_current].dma = ints[3]; in internal_setup() 203 int ints[10]; in do_NCR5380_setup() local [all …]
|
D | atari_scsi.c | 745 int ints[6]; in atari_scsi_setup() local 747 get_options(str, ARRAY_SIZE(ints), ints); in atari_scsi_setup() 749 if (ints[0] < 1) { in atari_scsi_setup() 754 if (ints[0] >= 1) { in atari_scsi_setup() 755 if (ints[1] > 0) in atari_scsi_setup() 757 setup_can_queue = ints[1]; in atari_scsi_setup() 759 if (ints[0] >= 2) { in atari_scsi_setup() 760 if (ints[2] > 0) in atari_scsi_setup() 761 setup_cmd_per_lun = ints[2]; in atari_scsi_setup() 763 if (ints[0] >= 3) { in atari_scsi_setup() [all …]
|
D | sym53c416.c | 544 void sym53c416_setup(char *str, int *ints) in sym53c416_setup() argument 553 if(ints[0] < 1 || ints[0] > 2) in sym53c416_setup() 560 if(hosts[i].base == ints[1]) in sym53c416_setup() 564 hosts[host_index].base = ints[1]; in sym53c416_setup() 565 hosts[host_index].irq = (ints[0] == 2)? ints[2] : 0; in sym53c416_setup() 597 int ints[2]; in sym53c416_probe() local 599 ints[0] = 1; in sym53c416_probe() 603 ints[1] = *base; in sym53c416_probe() 604 sym53c416_setup(NULL, ints); in sym53c416_probe() 620 int ints[3]; in sym53c416_detect() local [all …]
|
D | NCR53c406a.c | 615 int ints[4]; in NCR53c406a_setup() local 624 get_options(str, 4, ints); in NCR53c406a_setup() 625 if (ints[0] < 1 || ints[0] > 3) { in NCR53c406a_setup() 631 if (ports[i] == ints[1]) { in NCR53c406a_setup() 632 port_base = ints[1]; in NCR53c406a_setup() 637 printk("NCR53c406a: Invalid PORTBASE 0x%x specified\n", ints[1]); in NCR53c406a_setup() 641 if (ints[0] > 1) { in NCR53c406a_setup() 642 if (ints[2] == 0) { in NCR53c406a_setup() 648 if (intrs[i] == ints[2]) { in NCR53c406a_setup() 649 irq_level = ints[2]; in NCR53c406a_setup() [all …]
|
D | t128.c | 161 void __init t128_setup(char *str, int *ints){ in t128_setup() argument 164 if (ints[0] != 2) in t128_setup() 168 overrides[commandline_current].address = ints[1]; in t128_setup() 169 overrides[commandline_current].irq = ints[2]; in t128_setup() 171 if (bases[i].address == ints[1]) { in t128_setup()
|
D | fdomain.c | 433 static unsigned short ints[] = { 3, 5, 10, 11, 12, 14, 15, 0 }; variable 557 int ints[4]; in fdomain_setup() local 559 (void)get_options(str, ARRAY_SIZE(ints), ints); in fdomain_setup() 561 if (setup_called++ || ints[0] < 2 || ints[0] > 3) { in fdomain_setup() 567 port_base = ints[0] >= 1 ? ints[1] : 0; in fdomain_setup() 568 interrupt_level = ints[0] >= 2 ? ints[2] : 0; in fdomain_setup() 569 this_id = ints[0] >= 3 ? ints[3] : 0; in fdomain_setup() 679 return ints[(options & 0x0e) >> 1]; in fdomain_get_irq()
|
D | dtc.c | 176 static void __init dtc_setup(char *str, int *ints) in dtc_setup() argument 180 if (ints[0] != 2) in dtc_setup() 183 overrides[commandline_current].address = ints[1]; in dtc_setup() 184 overrides[commandline_current].irq = ints[2]; in dtc_setup() 186 if (bases[i].address == ints[1]) { in dtc_setup()
|
D | pas16.c | 350 void __init pas16_setup(char *str, int *ints) in pas16_setup() argument 354 if (ints[0] != 2) in pas16_setup() 358 overrides[commandline_current].io_port = (unsigned short) ints[1]; in pas16_setup() 359 overrides[commandline_current].irq = ints[2]; in pas16_setup() 361 if (bases[i].io_port == (unsigned short) ints[1]) { in pas16_setup()
|
D | aha1542.c | 894 static void __init aha1542_setup(char *str, int *ints) in aha1542_setup() argument 906 if (ints[0] < 1 || ints[0] > 4) { in aha1542_setup() 911 setup_called[setup_idx] = ints[0]; in aha1542_setup() 914 setup_portbase = ints[0] >= 1 ? ints[1] : 0; /* Preserve the default value.. */ in aha1542_setup() 915 setup_buson[setup_idx] = ints[0] >= 2 ? ints[2] : 7; in aha1542_setup() 916 setup_busoff[setup_idx] = ints[0] >= 3 ? ints[3] : 5; in aha1542_setup() 917 if (ints[0] >= 4) in aha1542_setup() 920 switch (ints[4]) { in aha1542_setup() 952 int ints[5]; in do_setup() local 956 get_options(str, ARRAY_SIZE(ints), ints); in do_setup() [all …]
|
D | aha152x.c | 3907 int ints[11]; local 3909 int ints[10]; 3911 get_options(str, ARRAY_SIZE(ints), ints); 3919 setup[setup_count].io_port = ints[0] >= 1 ? ints[1] : 0x340; 3920 setup[setup_count].irq = ints[0] >= 2 ? ints[2] : 11; 3921 setup[setup_count].scsiid = ints[0] >= 3 ? ints[3] : 7; 3922 setup[setup_count].reconnect = ints[0] >= 4 ? ints[4] : 1; 3923 setup[setup_count].parity = ints[0] >= 5 ? ints[5] : 1; 3924 setup[setup_count].synchronous = ints[0] >= 6 ? ints[6] : 1; 3925 setup[setup_count].delay = ints[0] >= 7 ? ints[7] : DELAY_DEFAULT; [all …]
|
/drivers/net/arcnet/ |
D | com20020-isa.c | 189 int ints[8]; in com20020isa_setup() local 191 s = get_options(s, 8, ints); in com20020isa_setup() 192 if (!ints[0]) in com20020isa_setup() 195 switch (ints[0]) { in com20020isa_setup() 199 timeout = ints[6]; in com20020isa_setup() 201 clockp = ints[5]; in com20020isa_setup() 203 backplane = ints[4]; in com20020isa_setup() 205 node = ints[3]; in com20020isa_setup() 207 irq = ints[2]; in com20020isa_setup() 209 io = ints[1]; in com20020isa_setup()
|
D | arc-rimi.c | 376 int ints[8]; in arcrimi_setup() local 377 s = get_options(s, 8, ints); in arcrimi_setup() 378 if (!ints[0]) in arcrimi_setup() 380 switch (ints[0]) { in arcrimi_setup() 384 node = ints[3]; in arcrimi_setup() 386 irq = ints[2]; in arcrimi_setup() 388 io = ints[1]; in arcrimi_setup()
|
D | com90io.c | 371 int ints[4]; in com90io_setup() local 372 s = get_options(s, 4, ints); in com90io_setup() 373 if (!ints[0]) in com90io_setup() 375 switch (ints[0]) { in com90io_setup() 379 irq = ints[2]; in com90io_setup() 381 io = ints[1]; in com90io_setup()
|
D | com90xx.c | 678 int ints[8]; in com90xx_setup() local 680 s = get_options(s, 8, ints); in com90xx_setup() 681 if (!ints[0] && !*s) { in com90xx_setup() 686 switch (ints[0]) { in com90xx_setup() 690 shmem = ints[3]; in com90xx_setup() 692 irq = ints[2]; in com90xx_setup() 694 io = ints[1]; in com90xx_setup()
|
/drivers/isdn/pcbit/ |
D | module.c | 98 int ints[MAX_PARA + 1]; in pcbit_setup() local 100 str = get_options(line, MAX_PARA, ints); in pcbit_setup() 101 argc = ints[0]; in pcbit_setup() 108 mem[i] = ints[j]; in pcbit_setup() 113 irq[i] = ints[j]; in pcbit_setup()
|
/drivers/video/console/ |
D | mdacon.c | 181 int ints[3]; in mdacon_setup() local 183 str = get_options(str, ARRAY_SIZE(ints), ints); in mdacon_setup() 185 if (ints[0] < 2) in mdacon_setup() 188 if (ints[1] < 1 || ints[1] > MAX_NR_CONSOLES || in mdacon_setup() 189 ints[2] < 1 || ints[2] > MAX_NR_CONSOLES) in mdacon_setup() 192 mda_first_vc = ints[1]; in mdacon_setup() 193 mda_last_vc = ints[2]; in mdacon_setup()
|
/drivers/net/wireless/ath/ath9k/ |
D | mac.c | 847 enum ath9k_int ints = ah->imask; in ath9k_hw_set_interrupts() local 852 if (!(ints & ATH9K_INT_GLOBAL)) in ath9k_hw_set_interrupts() 855 ath_dbg(common, INTERRUPT, "New interrupt mask 0x%x\n", ints); in ath9k_hw_set_interrupts() 857 mask = ints & ATH9K_INT_COMMON; in ath9k_hw_set_interrupts() 860 if (ints & ATH9K_INT_TX) { in ath9k_hw_set_interrupts() 874 if (ints & ATH9K_INT_RX) { in ath9k_hw_set_interrupts() 893 if (ints & ATH9K_INT_GENTIMER) in ath9k_hw_set_interrupts() 896 if (ints & (ATH9K_INT_BMISC)) { in ath9k_hw_set_interrupts() 898 if (ints & ATH9K_INT_TIM) in ath9k_hw_set_interrupts() 900 if (ints & ATH9K_INT_DTIM) in ath9k_hw_set_interrupts() [all …]
|
/drivers/block/ |
D | hd.c | 176 static void __init hd_setup(char *str, int *ints) in hd_setup() argument 180 if (ints[0] != 3) in hd_setup() 184 hd_info[hdind].head = ints[2]; in hd_setup() 185 hd_info[hdind].sect = ints[3]; in hd_setup() 186 hd_info[hdind].cyl = ints[1]; in hd_setup() 188 hd_info[hdind].lzone = ints[1]; in hd_setup() 189 hd_info[hdind].ctl = (ints[2] > 8 ? 8 : 0); in hd_setup() 795 int ints[6]; in parse_hd_setup() local 797 (void) get_options(line, ARRAY_SIZE(ints), ints); in parse_hd_setup() 798 hd_setup(NULL, ints); in parse_hd_setup()
|
D | ataflop.c | 2000 int ints[3 + FD_MAX_UNITS]; in atari_floppy_setup() local 2006 str = get_options(str, 3 + FD_MAX_UNITS, ints); in atari_floppy_setup() 2008 if (ints[0] < 1) { in atari_floppy_setup() 2012 else if (ints[0] > 2+FD_MAX_UNITS) { in atari_floppy_setup() 2016 if (ints[1] < 0 || ints[1] > 2) in atari_floppy_setup() 2019 DriveType = ints[1]; in atari_floppy_setup() 2021 if (ints[0] >= 2) in atari_floppy_setup() 2022 UseTrackbuffer = (ints[2] > 0); in atari_floppy_setup() 2024 for( i = 3; i <= ints[0] && i-3 < FD_MAX_UNITS; ++i ) { in atari_floppy_setup() 2025 if (ints[i] != 2 && ints[i] != 3 && ints[i] != 6 && ints[i] != 12) in atari_floppy_setup() [all …]
|
/drivers/usb/host/ |
D | ohci-hcd.c | 856 int ints; in ohci_irq() local 862 ints = ohci_readl(ohci, ®s->intrstatus); in ohci_irq() 867 if (ints == ~(u32)0) { in ohci_irq() 875 ints &= ohci_readl(ohci, ®s->intrenable); in ohci_irq() 878 if (ints == 0 || unlikely(ohci->rh_state == OHCI_RH_HALTED)) in ohci_irq() 881 if (ints & OHCI_INTR_UE) { in ohci_irq() 902 if (ints & OHCI_INTR_RHSC) { in ohci_irq() 924 else if (ints & OHCI_INTR_RD) { in ohci_irq() 937 if (ints & OHCI_INTR_WDH) in ohci_irq() 946 if ((ints & OHCI_INTR_SF) != 0 && !ohci->ed_rm_list in ohci_irq() [all …]
|
/drivers/net/appletalk/ |
D | ltpc.c | 1198 int ints[5]; in ltpc_setup() local 1200 str = get_options(str, ARRAY_SIZE(ints), ints); in ltpc_setup() 1202 if (ints[0] == 0) { in ltpc_setup() 1213 io = ints[1]; in ltpc_setup() 1214 if (ints[0] > 1) { in ltpc_setup() 1215 irq = ints[2]; in ltpc_setup() 1217 if (ints[0] > 2) { in ltpc_setup() 1218 dma = ints[3]; in ltpc_setup()
|
/drivers/net/hamradio/ |
D | baycom_ser_fdx.c | 697 int ints[4]; in baycom_ser_fdx_setup() local 701 str = get_options(str, 4, ints); in baycom_ser_fdx_setup() 702 if (ints[0] < 2) in baycom_ser_fdx_setup() 705 iobase[nr_dev] = ints[1]; in baycom_ser_fdx_setup() 706 irq[nr_dev] = ints[2]; in baycom_ser_fdx_setup() 707 if (ints[0] >= 3) in baycom_ser_fdx_setup() 708 baud[nr_dev] = ints[3]; in baycom_ser_fdx_setup()
|
/drivers/input/keyboard/ |
D | lm8323.c | 379 u8 ints; in lm8323_irq() local 384 while ((lm8323_read(lm, LM8323_CMD_READ_INT, &ints, 1) == 1) && ints) { in lm8323_irq() 385 if (likely(ints & INT_KEYPAD)) in lm8323_irq() 387 if (ints & INT_ROTATOR) { in lm8323_irq() 391 if (ints & INT_ERROR) { in lm8323_irq() 395 if (ints & INT_NOINIT) { in lm8323_irq() 401 if (ints & (INT_PWM1 << i)) { in lm8323_irq()
|