Home
last modified time | relevance | path

Searched refs:ints (Results 1 – 98 of 98) sorted by relevance

/linux-4.4.14/arch/m68k/amiga/
Damiints.c51 unsigned short ints = amiga_custom.intreqr & amiga_custom.intenar; in ami_int1() local
54 if (ints & IF_TBE) { in ami_int1()
60 if (ints & IF_DSKBLK) { in ami_int1()
66 if (ints & IF_SOFT) { in ami_int1()
74 unsigned short ints = amiga_custom.intreqr & amiga_custom.intenar; in ami_int3() local
77 if (ints & IF_BLIT) { in ami_int3()
83 if (ints & IF_COPER) { in ami_int3()
89 if (ints & IF_VERTB) { in ami_int3()
97 unsigned short ints = amiga_custom.intreqr & amiga_custom.intenar; in ami_int4() local
100 if (ints & IF_AUD0) { in ami_int4()
[all …]
Dcia.c90 unsigned char ints; in cia_handler() local
93 ints = cia_set_irq(base, CIA_ICR_ALL); in cia_handler()
95 for (; ints; mach_irq++, ints >>= 1) { in cia_handler()
96 if (ints & 1) in cia_handler()
/linux-4.4.14/drivers/scsi/
Dg_NCR5380.c122 static void __init internal_setup(int board, char *str, int *ints) in internal_setup() argument
127 if (ints[0] != 2 && ints[0] != 3) { in internal_setup()
133 if (ints[0] != 2) { in internal_setup()
139 if (ints[0] != 2) { in internal_setup()
145 if (ints[0] != 2) { in internal_setup()
153 overrides[commandline_current].NCR5380_map_name = (NCR5380_map_type) ints[1]; in internal_setup()
154 overrides[commandline_current].irq = ints[2]; in internal_setup()
155 if (ints[0] == 3) in internal_setup()
156 overrides[commandline_current].dma = ints[3]; in internal_setup()
175 int ints[10]; in do_NCR5380_setup() local
[all …]
Dmac_scsi.c97 int ints[7]; in mac_scsi_setup() local
99 (void)get_options(str, ARRAY_SIZE(ints), ints); in mac_scsi_setup()
101 if (ints[0] < 1 || ints[0] > 6) { in mac_scsi_setup()
105 if (ints[0] >= 1) in mac_scsi_setup()
106 setup_can_queue = ints[1]; in mac_scsi_setup()
107 if (ints[0] >= 2) in mac_scsi_setup()
108 setup_cmd_per_lun = ints[2]; in mac_scsi_setup()
109 if (ints[0] >= 3) in mac_scsi_setup()
110 setup_sg_tablesize = ints[3]; in mac_scsi_setup()
111 if (ints[0] >= 4) in mac_scsi_setup()
[all …]
Dwd7000.c607 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 …]
Dsym53c416.c544 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 …]
Datari_scsi.c491 int ints[6]; in atari_scsi_setup() local
493 get_options(str, ARRAY_SIZE(ints), ints); in atari_scsi_setup()
495 if (ints[0] < 1) { in atari_scsi_setup()
499 if (ints[0] >= 1) in atari_scsi_setup()
500 setup_can_queue = ints[1]; in atari_scsi_setup()
501 if (ints[0] >= 2) in atari_scsi_setup()
502 setup_cmd_per_lun = ints[2]; in atari_scsi_setup()
503 if (ints[0] >= 3) in atari_scsi_setup()
504 setup_sg_tablesize = ints[3]; in atari_scsi_setup()
505 if (ints[0] >= 4) in atari_scsi_setup()
[all …]
Dt128.c131 int ints[10]; in t128_setup() local
133 get_options(str, ARRAY_SIZE(ints), ints); in t128_setup()
134 if (ints[0] != 2) in t128_setup()
138 overrides[commandline_current].address = ints[1]; in t128_setup()
139 overrides[commandline_current].irq = ints[2]; in t128_setup()
141 if (bases[i].address == ints[1]) { in t128_setup()
Ddtc.c155 int ints[10]; in dtc_setup() local
157 get_options(str, ARRAY_SIZE(ints), ints); in dtc_setup()
158 if (ints[0] != 2) in dtc_setup()
161 overrides[commandline_current].address = ints[1]; in dtc_setup()
162 overrides[commandline_current].irq = ints[2]; in dtc_setup()
164 if (bases[i].address == ints[1]) { in dtc_setup()
DNCR53c406a.c615 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 …]
Dpas16.c310 int ints[10]; in pas16_setup() local
312 get_options(str, ARRAY_SIZE(ints), ints); in pas16_setup()
313 if (ints[0] != 2) in pas16_setup()
317 overrides[commandline_current].io_port = (unsigned short) ints[1]; in pas16_setup()
318 overrides[commandline_current].irq = ints[2]; in pas16_setup()
320 if (bases[i].io_port == (unsigned short) ints[1]) { in pas16_setup()
Dfdomain.c433 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()
Dsym53c416.h32 static void sym53c416_setup(char *str, int *ints);
Daha152x.c3366 int ints[10]; in aha152x_setup() local
3368 get_options(str, ARRAY_SIZE(ints), ints); in aha152x_setup()
3376 setup[setup_count].io_port = ints[0] >= 1 ? ints[1] : 0x340; in aha152x_setup()
3377 setup[setup_count].irq = ints[0] >= 2 ? ints[2] : 11; in aha152x_setup()
3378 setup[setup_count].scsiid = ints[0] >= 3 ? ints[3] : 7; in aha152x_setup()
3379 setup[setup_count].reconnect = ints[0] >= 4 ? ints[4] : 1; in aha152x_setup()
3380 setup[setup_count].parity = ints[0] >= 5 ? ints[5] : 1; in aha152x_setup()
3381 setup[setup_count].synchronous = ints[0] >= 6 ? ints[6] : 1; in aha152x_setup()
3382 setup[setup_count].delay = ints[0] >= 7 ? ints[7] : DELAY_DEFAULT; in aha152x_setup()
3383 setup[setup_count].ext_trans = ints[0] >= 8 ? ints[8] : 0; in aha152x_setup()
[all …]
Dgvp11.c45 void gvp11_setup(char *str, int *ints) in gvp11_setup() argument
47 gvp11_xfer_mask = ints[1]; in gvp11_setup()
Du14-34f.c1033 static void internal_setup(char *str, int *ints) { in internal_setup() argument
1034 int i, argc = ints[0]; in internal_setup()
1041 for (i = 0; i < argc; i++) io_port[i] = ints[i + 1]; in internal_setup()
1069 int ints[MAX_INT_PARAM]; in option_setup() local
1074 ints[i++] = simple_strtoul(cur, NULL, 0); in option_setup()
1079 ints[0] = i - 1; in option_setup()
1080 internal_setup(cur, ints); in option_setup()
Deata.c1440 static void internal_setup(char *str, int *ints) in internal_setup() argument
1442 int i, argc = ints[0]; in internal_setup()
1450 io_port[i] = ints[i + 1]; in internal_setup()
1496 int ints[MAX_INT_PARAM]; in option_setup() local
1501 ints[i++] = simple_strtoul(cur, NULL, 0); in option_setup()
1507 ints[0] = i - 1; in option_setup()
1508 internal_setup(cur, ints); in option_setup()
Dgdth.c3759 static void __init internal_setup(char *str,int *ints) in internal_setup() argument
3765 str ? str:"NULL", ints ? ints[0]:0)); in internal_setup()
3768 if (ints) { in internal_setup()
3769 argc = ints[0]; in internal_setup()
3774 irq[i] = ints[i+1]; in internal_setup()
3832 int ints[MAXHA]; in option_setup() local
3839 ints[i++] = simple_strtoul(cur, NULL, 0); in option_setup()
3843 ints[0] = i - 1; in option_setup()
3844 internal_setup(cur, ints); in option_setup()
DBusLogic.c3859 int ints[3]; in blogic_setup() local
3861 (void) get_options(str, ARRAY_SIZE(ints), ints); in blogic_setup()
3863 if (ints[0] != 0) { in blogic_setup()
Dst.c4009 int i, len, ints[5]; in st_setup() local
4012 stp = get_options(str, ARRAY_SIZE(ints), ints); in st_setup()
4014 if (ints[0] > 0) { in st_setup()
4015 for (i = 0; i < ints[0] && i < ARRAY_SIZE(parms); i++) in st_setup()
4017 *parms[i].val = ints[i + 1]; in st_setup()
Dosst.c5586 int i, ints[5]; in osst_setup() local
5589 stp = get_options(str, ARRAY_SIZE(ints), ints); in osst_setup()
5591 if (ints[0] > 0) { in osst_setup()
5592 for (i = 0; i < ints[0] && i < ARRAY_SIZE(parms); i++) in osst_setup()
5593 *parms[i].val = ints[i + 1]; in osst_setup()
Din2000.c1818 static void __init in2000_setup(char *str, int *ints) in in2000_setup() argument
Dadvansys.c10526 u8 ints; in AdvInitFrom38C1600EEP() local
10547 ints = AdvReadByteRegister(iop_base, IOPB_GPIO_DATA); in AdvInitFrom38C1600EEP()
10548 if ((ints & 0x01) == 0) in AdvInitFrom38C1600EEP()
/linux-4.4.14/arch/arm/plat-omap/
Di2c.c54 int ints[3]; in omap_i2c_bus_setup() local
56 get_options(str, 3, ints); in omap_i2c_bus_setup()
57 if (ints[0] < 2 || ints[1] < 1 || in omap_i2c_bus_setup()
58 ints[1] > OMAP_I2C_MAX_CONTROLLERS) in omap_i2c_bus_setup()
60 i2c_pdata[ints[1] - 1].clkrate = ints[2]; in omap_i2c_bus_setup()
61 i2c_pdata[ints[1] - 1].clkrate |= OMAP_I2C_CMDLINE_SETUP; in omap_i2c_bus_setup()
/linux-4.4.14/drivers/net/arcnet/
Dcom20020-isa.c191 int ints[8]; in com20020isa_setup() local
193 s = get_options(s, 8, ints); in com20020isa_setup()
194 if (!ints[0]) in com20020isa_setup()
197 switch (ints[0]) { in com20020isa_setup()
201 timeout = ints[6]; in com20020isa_setup()
203 clockp = ints[5]; in com20020isa_setup()
205 backplane = ints[4]; in com20020isa_setup()
207 node = ints[3]; in com20020isa_setup()
209 irq = ints[2]; in com20020isa_setup()
211 io = ints[1]; in com20020isa_setup()
Darc-rimi.c358 int ints[8]; in arcrimi_setup() local
360 s = get_options(s, 8, ints); in arcrimi_setup()
361 if (!ints[0]) in arcrimi_setup()
363 switch (ints[0]) { in arcrimi_setup()
367 node = ints[3]; in arcrimi_setup()
369 irq = ints[2]; in arcrimi_setup()
371 io = ints[1]; in arcrimi_setup()
Dcom90io.c358 int ints[4]; in com90io_setup() local
360 s = get_options(s, 4, ints); in com90io_setup()
361 if (!ints[0]) in com90io_setup()
363 switch (ints[0]) { in com90io_setup()
367 irq = ints[2]; in com90io_setup()
369 io = ints[1]; in com90io_setup()
Dcom90xx.c685 int ints[8]; in com90xx_setup() local
687 s = get_options(s, 8, ints); in com90xx_setup()
688 if (!ints[0] && !*s) { in com90xx_setup()
693 switch (ints[0]) { in com90xx_setup()
697 shmem = ints[3]; in com90xx_setup()
699 irq = ints[2]; in com90xx_setup()
701 io = ints[1]; in com90xx_setup()
/linux-4.4.14/sound/oss/
Dpas2_card.c440 int ints[9]; in setup_pas2() local
442 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_pas2()
444 io = ints[1]; in setup_pas2()
445 irq = ints[2]; in setup_pas2()
446 dma = ints[3]; in setup_pas2()
447 dma16 = ints[4]; in setup_pas2()
449 sb_io = ints[5]; in setup_pas2()
450 sb_irq = ints[6]; in setup_pas2()
451 sb_dma = ints[7]; in setup_pas2()
452 sb_dma16 = ints[8]; in setup_pas2()
Dtrix.c506 int ints[9]; in setup_trix() local
508 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_trix()
510 io = ints[1]; in setup_trix()
511 irq = ints[2]; in setup_trix()
512 dma = ints[3]; in setup_trix()
513 dma2 = ints[4]; in setup_trix()
514 sb_io = ints[5]; in setup_trix()
515 sb_irq = ints[6]; in setup_trix()
516 sb_dma = ints[6]; in setup_trix()
517 mpu_io = ints[7]; in setup_trix()
[all …]
Duart6850.c350 int ints[3]; in setup_uart6850() local
352 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_uart6850()
354 io = ints[1]; in setup_uart6850()
355 irq = ints[2]; in setup_uart6850()
Daedsp16.c1359 int ints[7]; in setup_aedsp16() local
1361 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_aedsp16()
1363 io = ints[1]; in setup_aedsp16()
1364 irq = ints[2]; in setup_aedsp16()
1365 dma = ints[3]; in setup_aedsp16()
1366 mss_base = ints[4]; in setup_aedsp16()
1367 mpu_base = ints[5]; in setup_aedsp16()
1368 mpu_irq = ints[6]; in setup_aedsp16()
Duart401.c465 int ints[3]; in setup_uart401() local
467 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_uart401()
469 io = ints[1]; in setup_uart401()
470 irq = ints[2]; in setup_uart401()
Dpss.c1255 int ints[7]; in setup_pss() local
1257 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_pss()
1259 pss_io = ints[1]; in setup_pss()
1260 mss_io = ints[2]; in setup_pss()
1261 mss_irq = ints[3]; in setup_pss()
1262 mss_dma = ints[4]; in setup_pss()
1263 mpu_io = ints[5]; in setup_pss()
1264 mpu_irq = ints[6]; in setup_pss()
Dwaveartist.c2026 int ints[5]; in setup_waveartist() local
2028 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_waveartist()
2030 io = ints[1]; in setup_waveartist()
2031 irq = ints[2]; in setup_waveartist()
2032 dma = ints[3]; in setup_waveartist()
2033 dma2 = ints[4]; in setup_waveartist()
Dmpu401.c1792 int ints[3]; in setup_mpu401() local
1794 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_mpu401()
1796 io = ints[1]; in setup_mpu401()
1797 irq = ints[2]; in setup_mpu401()
Dopl3.c1244 int ints[2]; in setup_opl3() local
1246 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_opl3()
1248 io = ints[1]; in setup_opl3()
Dad1848.c3052 int ints[6]; in setup_ad1848() local
3054 str = get_options(str, ARRAY_SIZE(ints), ints); in setup_ad1848()
3056 io = ints[1]; in setup_ad1848()
3057 irq = ints[2]; in setup_ad1848()
3058 dma = ints[3]; in setup_ad1848()
3059 dma2 = ints[4]; in setup_ad1848()
3060 type = ints[5]; in setup_ad1848()
/linux-4.4.14/drivers/isdn/pcbit/
Dmodule.c98 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()
/linux-4.4.14/arch/parisc/math-emu/
Dfpudispatch.c1129 struct { u_int i1; u_int i2; } ints; member
1156 &mtmp.ints.i1,&status))
1159 &atmp.ints.i1,&atmp.ints.i1,&status))
1164 if (dbl_fmpy(&fpregs[rm1],&fpregs[rm2],&mtmp.ints.i1,
1167 if (dbl_fadd(&fpregs[ta], &fpregs[ra], &atmp.ints.i1,
1179 if (dbl_fmpy(&fpregs[rm1],&fpregs[rm2],&mtmp.ints.i1,
1182 if (dbl_fadd(&fpregs[ta], &fpregs[ra], &atmp.ints.i1,
1192 fpregs[tm] = mtmp.ints.i1;
1193 fpregs[tm+1] = mtmp.ints.i2;
1194 fpregs[ta] = atmp.ints.i1;
[all …]
/linux-4.4.14/lib/
Dcmdline.c89 char *get_options(const char *str, int nints, int *ints) in get_options() argument
94 res = get_option((char **)&str, ints + i); in get_options()
99 range_nums = get_range((char **)&str, ints + i); in get_options()
113 ints[0] = i - 1; in get_options()
/linux-4.4.14/drivers/video/console/
Dmdacon.c181 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()
/linux-4.4.14/arch/arm/mach-lpc32xx/
Dirq.c375 unsigned long ints = __raw_readl(LPC32XX_INTC_STAT(LPC32XX_SIC1_BASE)); in lpc32xx_sic1_handler() local
377 while (ints != 0) { in lpc32xx_sic1_handler()
378 int irqno = fls(ints) - 1; in lpc32xx_sic1_handler()
380 ints &= ~(1 << irqno); in lpc32xx_sic1_handler()
388 unsigned long ints = __raw_readl(LPC32XX_INTC_STAT(LPC32XX_SIC2_BASE)); in lpc32xx_sic2_handler() local
390 while (ints != 0) { in lpc32xx_sic2_handler()
391 int irqno = fls(ints) - 1; in lpc32xx_sic2_handler()
393 ints &= ~(1 << irqno); in lpc32xx_sic2_handler()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dmac.c848 enum ath9k_int ints = ah->imask; in ath9k_hw_set_interrupts() local
853 if (!(ints & ATH9K_INT_GLOBAL)) in ath9k_hw_set_interrupts()
856 ath_dbg(common, INTERRUPT, "New interrupt mask 0x%x\n", ints); in ath9k_hw_set_interrupts()
858 mask = ints & ATH9K_INT_COMMON; in ath9k_hw_set_interrupts()
861 if (ints & ATH9K_INT_TX) { in ath9k_hw_set_interrupts()
875 if (ints & ATH9K_INT_RX) { in ath9k_hw_set_interrupts()
894 if (ints & ATH9K_INT_GENTIMER) in ath9k_hw_set_interrupts()
897 if (ints & (ATH9K_INT_BMISC)) { in ath9k_hw_set_interrupts()
899 if (ints & ATH9K_INT_TIM) in ath9k_hw_set_interrupts()
901 if (ints & ATH9K_INT_DTIM) in ath9k_hw_set_interrupts()
[all …]
Dar9003_mci.c347 static bool ar9003_mci_check_int(struct ath_hw *ah, u32 ints) in ar9003_mci_check_int() argument
352 return ((intr & ints) == ints); in ar9003_mci_check_int()
/linux-4.4.14/arch/m68k/atari/
Dataints.c149 unsigned char ints; in mfptimer_handler() local
152 ints = base->int_mask; in mfptimer_handler()
153 for (; ints; mach_irq++, ints >>= 1) { in mfptimer_handler()
154 if (ints & 1) in mfptimer_handler()
/linux-4.4.14/drivers/block/
Dhd.c176 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()
Dataflop.c2000 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 …]
Dfloppy.c3973 static void __init floppy_set_flags(int *ints, int param, int param2) in floppy_set_flags() argument
3986 static void __init daring(int *ints, int param, int param2) in daring() argument
4005 static void __init set_cmos(int *ints, int dummy, int dummy2) in set_cmos() argument
4009 if (ints[0] != 2) { in set_cmos()
4013 current_drive = ints[1]; in set_cmos()
4022 DP->cmos = ints[2]; in set_cmos()
4023 DPRINT("setting CMOS code to %d\n", ints[2]); in set_cmos()
4028 void (*fn) (int *ints, int param, int param2);
4067 int ints[11]; in floppy_setup() local
4069 str = get_options(str, ARRAY_SIZE(ints), ints); in floppy_setup()
[all …]
Dcpqarray.c729 int i, ints[9]; in cpqarray_setup() local
731 (void)get_options(str, ARRAY_SIZE(ints), ints); in cpqarray_setup()
733 for(i=0; i<ints[0] && i<8; i++) in cpqarray_setup()
734 eisa[i] = ints[i+1]; in cpqarray_setup()
/linux-4.4.14/drivers/input/keyboard/
Dsun4i-lradc-keys.c85 u32 i, ints, val, voltage, diff, keycode = 0, closest = 0xffffffff; in sun4i_lradc_irq() local
87 ints = readl(lradc->base + LRADC_INTS); in sun4i_lradc_irq()
94 if (ints & CHAN0_KEYUP_IRQ) { in sun4i_lradc_irq()
99 if ((ints & CHAN0_KEYDOWN_IRQ) && lradc->chan0_keycode == 0) { in sun4i_lradc_irq()
117 writel(ints, lradc->base + LRADC_INTS); in sun4i_lradc_irq()
Dlm8323.c379 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()
/linux-4.4.14/tools/perf/util/
Dutil.h339 char *asprintf_expr_inout_ints(const char *var, bool in, size_t nints, int *ints);
341 static inline char *asprintf_expr_in_ints(const char *var, size_t nints, int *ints) in asprintf_expr_in_ints() argument
343 return asprintf_expr_inout_ints(var, true, nints, ints); in asprintf_expr_in_ints()
346 static inline char *asprintf_expr_not_in_ints(const char *var, size_t nints, int *ints) in asprintf_expr_not_in_ints() argument
348 return asprintf_expr_inout_ints(var, false, nints, ints); in asprintf_expr_not_in_ints()
Dstring.c361 char *asprintf_expr_inout_ints(const char *var, bool in, size_t nints, int *ints) in asprintf_expr_inout_ints() argument
389 "%s %s %d", var, eq_neq, ints[i]); in asprintf_expr_inout_ints()
/linux-4.4.14/arch/m68k/kernel/
DMakefile19 obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o
20 obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o
/linux-4.4.14/drivers/net/appletalk/
Dltpc.c1198 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()
/linux-4.4.14/drivers/usb/host/
Dohci-hcd.c857 int ints; in ohci_irq() local
863 ints = ohci_readl(ohci, &regs->intrstatus); in ohci_irq()
868 if (ints == ~(u32)0) { in ohci_irq()
876 ints &= ohci_readl(ohci, &regs->intrenable); in ohci_irq()
879 if (ints == 0 || unlikely(ohci->rh_state == OHCI_RH_HALTED)) in ohci_irq()
882 if (ints & OHCI_INTR_UE) { in ohci_irq()
903 if (ints & OHCI_INTR_RHSC) { in ohci_irq()
925 else if (ints & OHCI_INTR_RD) { in ohci_irq()
938 if (ints & OHCI_INTR_WDH) in ohci_irq()
947 if ((ints & OHCI_INTR_SF) != 0 && !ohci->ed_rm_list in ohci_irq()
[all …]
Dimx21-hcd.c1413 u32 ints = readl(imx21->regs + USBH_SYSISR); in imx21_irq() local
1415 if (ints & USBH_SYSIEN_HERRINT) in imx21_irq()
1418 if (ints & USBH_SYSIEN_SORINT) in imx21_irq()
1421 if (ints & (USBH_SYSISR_DONEINT | USBH_SYSISR_SOFINT)) in imx21_irq()
1422 process_etds(hcd, imx21, ints & USBH_SYSISR_SOFINT); in imx21_irq()
1424 writel(ints, imx21->regs + USBH_SYSISR); in imx21_irq()
/linux-4.4.14/drivers/net/hamradio/
Dbaycom_ser_fdx.c697 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()
Dbaycom_par.c559 int ints[2]; in baycom_par_setup() local
563 str = get_options(str, 2, ints); in baycom_par_setup()
564 if (ints[0] < 1) in baycom_par_setup()
567 iobase[nr_dev] = ints[1]; in baycom_par_setup()
Dbaycom_ser_hdx.c726 int ints[3]; in baycom_ser_hdx_setup() local
730 str = get_options(str, 3, ints); in baycom_ser_hdx_setup()
731 if (ints[0] < 2) in baycom_ser_hdx_setup()
734 iobase[nr_dev] = ints[1]; in baycom_ser_hdx_setup()
735 irq[nr_dev] = ints[2]; in baycom_ser_hdx_setup()
Dbaycom_epp.c1274 int ints[2]; in baycom_epp_setup() local
1278 str = get_options(str, 2, ints); in baycom_epp_setup()
1279 if (ints[0] < 1) in baycom_epp_setup()
1282 iobase[nr_dev] = ints[1]; in baycom_epp_setup()
/linux-4.4.14/sound/oss/dmasound/
Ddmasound_core.c1462 int ints[6], size; in dmasound_setup() local
1464 str = get_options(str, ARRAY_SIZE(ints), ints); in dmasound_setup()
1472 switch (ints[0]) { in dmasound_setup()
1474 if ((ints[3] < 0) || (ints[3] > MAX_CATCH_RADIUS)) in dmasound_setup()
1477 catchRadius = ints[3]; in dmasound_setup()
1480 if (ints[1] < MIN_BUFFERS) in dmasound_setup()
1483 numWriteBufs = ints[1]; in dmasound_setup()
1486 if ((size = ints[2]) < 256) /* check for small buffer specs */ in dmasound_setup()
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dpic.c403 const u32 *ints = NULL; in of_irq_parse_oldworld() local
415 ints = of_get_property(device, "AAPL,interrupts", &intlen); in of_irq_parse_oldworld()
416 if (ints != NULL) in of_irq_parse_oldworld()
422 if (ints == NULL) in of_irq_parse_oldworld()
430 out_irq->args[0] = ints[index]; in of_irq_parse_oldworld()
/linux-4.4.14/arch/blackfin/mach-bf518/
DMakefile5 obj-y := ints-priority.o dma.o
/linux-4.4.14/arch/blackfin/mach-bf548/
DMakefile5 obj-y := ints-priority.o dma.o
/linux-4.4.14/arch/blackfin/mach-bf527/
DMakefile5 obj-y := ints-priority.o dma.o
/linux-4.4.14/arch/blackfin/mach-bf533/
DMakefile5 obj-y := ints-priority.o dma.o
/linux-4.4.14/arch/blackfin/mach-bf537/
DMakefile5 obj-y := ints-priority.o dma.o
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgf100.c427 u32 ints = (intr >> (unkn * 0x04)) & inte; in gf100_fifo_intr_engine_unit() local
428 if (ints & 0x1) { in gf100_fifo_intr_engine_unit()
430 ints &= ~1; in gf100_fifo_intr_engine_unit()
432 if (ints) { in gf100_fifo_intr_engine_unit()
434 engn, unkn, ints); in gf100_fifo_intr_engine_unit()
435 nvkm_mask(device, 0x002628, ints, 0); in gf100_fifo_intr_engine_unit()
/linux-4.4.14/arch/blackfin/mach-bf538/
DMakefile5 obj-y := ints-priority.o dma.o
/linux-4.4.14/arch/blackfin/mach-bf609/
DMakefile5 obj-y := dma.o clock.o ints-priority.o
/linux-4.4.14/arch/blackfin/mach-bf561/
DMakefile5 obj-y := ints-priority.o dma.o
/linux-4.4.14/arch/m68k/68000/
DMakefile12 obj-y += entry.o ints.o timers.o
/linux-4.4.14/arch/m68k/68360/
DMakefile7 obj-y := config.o commproc.o entry.o ints.o
/linux-4.4.14/arch/blackfin/mach-common/
DMakefile7 interrupt.o arch_checks.o ints-priority.o
/linux-4.4.14/drivers/net/wireless/p54/
Dp54spi.c494 u32 ints; in p54spi_work() local
502 ints = p54spi_read32(priv, SPI_ADRS_HOST_INTERRUPTS); in p54spi_work()
504 if (ints & SPI_HOST_INT_READY) { in p54spi_work()
512 if (ints & SPI_HOST_INT_UPDATE) { in p54spi_work()
518 if (ints & SPI_HOST_INT_SW_UPDATE) { in p54spi_work()
/linux-4.4.14/drivers/usb/dwc2/
Dgadget.c104 static void dwc2_hsotg_en_gsint(struct dwc2_hsotg *hsotg, u32 ints) in dwc2_hsotg_en_gsint() argument
109 new_gsintmsk = gsintmsk | ints; in dwc2_hsotg_en_gsint()
122 static void dwc2_hsotg_disable_gsint(struct dwc2_hsotg *hsotg, u32 ints) in dwc2_hsotg_disable_gsint() argument
127 new_gsintmsk = gsintmsk & ~ints; in dwc2_hsotg_disable_gsint()
1954 u32 ints; in dwc2_hsotg_epint() local
1957 ints = dwc2_readl(hsotg->regs + epint_reg); in dwc2_hsotg_epint()
1961 dwc2_writel(ints, hsotg->regs + epint_reg); in dwc2_hsotg_epint()
1970 __func__, idx, dir_in ? "in" : "out", ints); in dwc2_hsotg_epint()
1973 if (idx == 0 && (ints & (DXEPINT_SETUP | DXEPINT_SETUP_RCVD))) in dwc2_hsotg_epint()
1974 ints &= ~DXEPINT_XFERCOMPL; in dwc2_hsotg_epint()
[all …]
/linux-4.4.14/drivers/net/ethernet/hisilicon/
Dhix5hd2_gmac.c567 int ints, num; in hix5hd2_poll() local
577 ints = readl_relaxed(priv->base + RAW_PMU_INT); in hix5hd2_poll()
578 writel_relaxed(ints, priv->base + RAW_PMU_INT); in hix5hd2_poll()
579 } while (ints & DEF_INT_MASK); in hix5hd2_poll()
593 int ints = readl_relaxed(priv->base + RAW_PMU_INT); in hix5hd2_interrupt() local
595 writel_relaxed(ints, priv->base + RAW_PMU_INT); in hix5hd2_interrupt()
596 if (likely(ints & DEF_INT_MASK)) { in hix5hd2_interrupt()
/linux-4.4.14/drivers/net/plip/
Dplip.c1350 int ints[4]; in plip_setup() local
1352 str = get_options(str, ARRAY_SIZE(ints), ints); in plip_setup()
1365 if (ints[0] == 0 || ints[1] == 0) { in plip_setup()
1370 ints[1]); in plip_setup()
/linux-4.4.14/arch/arm/include/asm/
Dfloppy.h139 static void driveswap(int *ints, int dummy, int dummy2) in driveswap() argument
/linux-4.4.14/Documentation/i2c/busses/
Dscx200_acb10 * base: up to 4 ints
/linux-4.4.14/drivers/macintosh/
Dvia-pmu.c1340 unsigned char ints, pirq; in pmu_handle_data() local
1351 ints = data[0]; in pmu_handle_data()
1354 if (ints == 0) in pmu_handle_data()
1358 if (ints & PMU_INT_ADB) in pmu_handle_data()
1359 ints &= ~(PMU_INT_ADB_AUTO | PMU_INT_AUTO_SRQ_POLL); in pmu_handle_data()
1363 if (ints == 0) { in pmu_handle_data()
1370 if (ints & (1 << pirq)) in pmu_handle_data()
1374 ints &= ~(1 << pirq); in pmu_handle_data()
/linux-4.4.14/drivers/isdn/hisax/
Dconfig.c407 int ints[MAX_ARG + 1]; in HiSax_setup() local
410 str = get_options(line, MAX_ARG, ints); in HiSax_setup()
411 argc = ints[0]; in HiSax_setup()
418 cards[i].typ = ints[j]; in HiSax_setup()
423 cards[i].protocol = ints[j]; in HiSax_setup()
428 cards[i].para[0] = ints[j]; in HiSax_setup()
433 cards[i].para[1] = ints[j]; in HiSax_setup()
438 cards[i].para[2] = ints[j]; in HiSax_setup()
/linux-4.4.14/arch/m68k/include/asm/
Dsun3xflop.h215 static void __init floppy_set_flags(int *ints,int param, int param2);
/linux-4.4.14/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c1783 int ints[10] = { -1 }; in setup_xirc2ps_cs() local
1785 str = get_options(str, 9, ints); in setup_xirc2ps_cs()
1787 #define MAYBE_SET(X,Y) if (ints[0] >= Y && ints[Y] != -1) { X = ints[Y]; } in setup_xirc2ps_cs()
/linux-4.4.14/sound/aoa/soundbus/i2sbus/
Dcore.c163 static irq_handler_t ints[] = { in i2sbus_add_dev() local
241 if (request_irq(irq, ints[i], 0, dev->rnames[i], dev)) in i2sbus_add_dev()
/linux-4.4.14/drivers/isdn/icn/
Dicn.c1602 int ints[3]; in icn_setup() local
1606 str = get_options(line, 2, ints); in icn_setup()
1607 if (ints[0]) in icn_setup()
1608 portbase = ints[1]; in icn_setup()
1609 if (ints[0] > 1) in icn_setup()
1610 membase = (unsigned long)ints[2]; in icn_setup()
/linux-4.4.14/arch/x86/kernel/apic/
Dio_apic.c612 int ints[MAX_PIRQS+1]; in ioapic_pirq_setup() local
614 get_options(str, ARRAY_SIZE(ints), ints); in ioapic_pirq_setup()
619 if (ints[0] < MAX_PIRQS) in ioapic_pirq_setup()
620 max = ints[0]; in ioapic_pirq_setup()
624 "... PIRQ%d -> IRQ %d\n", i, ints[i+1]); in ioapic_pirq_setup()
628 pirq_entries[MAX_PIRQS-i-1] = ints[i+1]; in ioapic_pirq_setup()
/linux-4.4.14/drivers/scsi/arm/
Dcumana_1.c38 void cumanascsi_setup(char *str, int *ints) in cumanascsi_setup() argument
/linux-4.4.14/net/core/
Ddev.c638 int ints[5]; in netdev_boot_setup() local
641 str = get_options(str, ARRAY_SIZE(ints), ints); in netdev_boot_setup()
647 if (ints[0] > 0) in netdev_boot_setup()
648 map.irq = ints[1]; in netdev_boot_setup()
649 if (ints[0] > 1) in netdev_boot_setup()
650 map.base_addr = ints[2]; in netdev_boot_setup()
651 if (ints[0] > 2) in netdev_boot_setup()
652 map.mem_start = ints[3]; in netdev_boot_setup()
653 if (ints[0] > 3) in netdev_boot_setup()
654 map.mem_end = ints[4]; in netdev_boot_setup()
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.h218 unsigned long ints; member
Drtl_core.c2431 priv->stats.ints++; in _rtl92e_irq()
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_svc.c409 u32 ints[BFA_PL_INT_LOG_SZ]; in bfa_plog_fchdr() local
414 ints[0] = tmp_int[0]; in bfa_plog_fchdr()
415 ints[1] = tmp_int[1]; in bfa_plog_fchdr()
416 ints[2] = tmp_int[4]; in bfa_plog_fchdr()
418 bfa_plog_intarr(plog, mid, event, misc, ints, 3); in bfa_plog_fchdr()
429 u32 ints[BFA_PL_INT_LOG_SZ]; in bfa_plog_fchdr_and_pl() local
434 ints[0] = tmp_int[0]; in bfa_plog_fchdr_and_pl()
435 ints[1] = tmp_int[1]; in bfa_plog_fchdr_and_pl()
436 ints[2] = tmp_int[4]; in bfa_plog_fchdr_and_pl()
437 ints[3] = pld_w0; in bfa_plog_fchdr_and_pl()
[all …]
/linux-4.4.14/arch/c6x/kernel/
Dentry.S250 MVC .S2 B1,CSR ; enable ints
/linux-4.4.14/include/linux/
Dkernel.h425 extern char *get_options(const char *str, int nints, int *ints);
/linux-4.4.14/Documentation/
Datomic_ops.txt91 Properly aligned pointers, longs, ints, and chars (and unsigned
/linux-4.4.14/Documentation/s390/
DDebugging390.txt1775 as gdb unfortunately deals with printed arguments as ints which