Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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
98 ints = cia_set_irq(base, CIA_ICR_ALL); in cia_handler()
100 if (ints & 1) in cia_handler()
103 mach_irq++, ints >>= 1; in cia_handler()
104 for (; ints; mach_irq++, ints >>= 1) { in cia_handler()
105 if (ints & 1) in cia_handler()
/kernel/linux/linux-5.10/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()
202 timeout = ints[6]; in com20020isa_setup()
205 clockp = ints[5]; in com20020isa_setup()
208 backplane = ints[4]; in com20020isa_setup()
211 node = ints[3]; in com20020isa_setup()
214 irq = ints[2]; in com20020isa_setup()
217 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()
368 node = ints[3]; in arcrimi_setup()
371 irq = ints[2]; in arcrimi_setup()
374 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()
368 irq = ints[2]; in com90io_setup()
371 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()
698 shmem = ints[3]; in com90xx_setup()
701 irq = ints[2]; in com90xx_setup()
704 io = ints[1]; in com90xx_setup()
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Di2c.c97 int ints[3]; in omap_i2c_bus_setup() local
99 get_options(str, 3, ints); in omap_i2c_bus_setup()
100 if (ints[0] < 2 || ints[1] < 1 || in omap_i2c_bus_setup()
101 ints[1] > OMAP_I2C_MAX_CONTROLLERS) in omap_i2c_bus_setup()
103 i2c_pdata[ints[1] - 1].clkrate = ints[2]; in omap_i2c_bus_setup()
104 i2c_pdata[ints[1] - 1].clkrate |= OMAP_I2C_CMDLINE_SETUP; in omap_i2c_bus_setup()
/kernel/linux/linux-5.10/drivers/scsi/
Dmac_scsi.c70 int ints[8]; in mac_scsi_setup() local
72 (void)get_options(str, ARRAY_SIZE(ints), ints); in mac_scsi_setup()
74 if (ints[0] < 1) { in mac_scsi_setup()
78 if (ints[0] >= 1) in mac_scsi_setup()
79 setup_can_queue = ints[1]; in mac_scsi_setup()
80 if (ints[0] >= 2) in mac_scsi_setup()
81 setup_cmd_per_lun = ints[2]; in mac_scsi_setup()
82 if (ints[0] >= 3) in mac_scsi_setup()
83 setup_sg_tablesize = ints[3]; in mac_scsi_setup()
84 if (ints[0] >= 4) in mac_scsi_setup()
[all …]
Datari_scsi.c398 int ints[8]; in atari_scsi_setup() local
400 get_options(str, ARRAY_SIZE(ints), ints); in atari_scsi_setup()
402 if (ints[0] < 1) { in atari_scsi_setup()
406 if (ints[0] >= 1) in atari_scsi_setup()
407 setup_can_queue = ints[1]; in atari_scsi_setup()
408 if (ints[0] >= 2) in atari_scsi_setup()
409 setup_cmd_per_lun = ints[2]; in atari_scsi_setup()
410 if (ints[0] >= 3) in atari_scsi_setup()
411 setup_sg_tablesize = ints[3]; in atari_scsi_setup()
412 if (ints[0] >= 4) in atari_scsi_setup()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dstring2.h24 char *asprintf_expr_inout_ints(const char *var, bool in, size_t nints, int *ints);
26 static inline char *asprintf_expr_in_ints(const char *var, size_t nints, int *ints) in asprintf_expr_in_ints() argument
28 return asprintf_expr_inout_ints(var, true, nints, ints); in asprintf_expr_in_ints()
31 static inline char *asprintf_expr_not_in_ints(const char *var, size_t nints, int *ints) in asprintf_expr_not_in_ints() argument
33 return asprintf_expr_inout_ints(var, false, nints, ints); in asprintf_expr_not_in_ints()
/kernel/linux/linux-5.10/arch/parisc/math-emu/
Dfpudispatch.c1166 struct { u_int i1; u_int i2; } ints; member
1193 &mtmp.ints.i1,&status))
1196 &atmp.ints.i1,&atmp.ints.i1,&status))
1201 if (dbl_fmpy(&fpregs[rm1],&fpregs[rm2],&mtmp.ints.i1,
1204 if (dbl_fadd(&fpregs[ta], &fpregs[ra], &atmp.ints.i1,
1216 if (dbl_fmpy(&fpregs[rm1],&fpregs[rm2],&mtmp.ints.i1,
1219 if (dbl_fadd(&fpregs[ta], &fpregs[ra], &atmp.ints.i1,
1229 fpregs[tm] = mtmp.ints.i1;
1230 fpregs[tm+1] = mtmp.ints.i2;
1231 fpregs[ta] = atmp.ints.i1;
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/lib/
Dcmdline.c87 char *get_options(const char *str, int nints, int *ints) in get_options() argument
92 res = get_option((char **)&str, ints + i); in get_options()
97 range_nums = get_range((char **)&str, ints + i, nints - i); in get_options()
111 ints[0] = i - 1; in get_options()
/kernel/linux/linux-5.10/arch/m68k/atari/
Dataints.c149 unsigned char ints; in mfp_timer_d_handler() local
152 ints = base->int_mask; in mfp_timer_d_handler()
153 for (; ints; mach_irq++, ints >>= 1) { in mfp_timer_d_handler()
154 if (ints & 1) in mfp_timer_d_handler()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dmac.c910 enum ath9k_int ints = ah->imask; in ath9k_hw_set_interrupts() local
915 if (!(ints & ATH9K_INT_GLOBAL)) in ath9k_hw_set_interrupts()
925 ath_dbg(common, INTERRUPT, "New interrupt mask 0x%x\n", ints); in ath9k_hw_set_interrupts()
927 mask = ints & ATH9K_INT_COMMON; in ath9k_hw_set_interrupts()
931 if (ints & ATH9K_INT_TX) { in ath9k_hw_set_interrupts()
946 if (ints & ATH9K_INT_RX) { in ath9k_hw_set_interrupts()
966 if (ints & ATH9K_INT_GENTIMER) in ath9k_hw_set_interrupts()
969 if (ints & (ATH9K_INT_BMISC)) { in ath9k_hw_set_interrupts()
971 if (ints & ATH9K_INT_TIM) in ath9k_hw_set_interrupts()
973 if (ints & ATH9K_INT_DTIM) in ath9k_hw_set_interrupts()
[all …]
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dsun4i-lradc-keys.c97 u32 i, ints, val, voltage, diff, keycode = 0, closest = 0xffffffff; in sun4i_lradc_irq() local
99 ints = readl(lradc->base + LRADC_INTS); in sun4i_lradc_irq()
106 if (ints & CHAN0_KEYUP_IRQ) { in sun4i_lradc_irq()
111 if ((ints & CHAN0_KEYDOWN_IRQ) && lradc->chan0_keycode == 0) { in sun4i_lradc_irq()
129 writel(ints, lradc->base + LRADC_INTS); in sun4i_lradc_irq()
Dlm8323.c367 u8 ints; in lm8323_irq() local
372 while ((lm8323_read(lm, LM8323_CMD_READ_INT, &ints, 1) == 1) && ints) { in lm8323_irq()
373 if (likely(ints & INT_KEYPAD)) in lm8323_irq()
375 if (ints & INT_ROTATOR) { in lm8323_irq()
379 if (ints & INT_ERROR) { in lm8323_irq()
383 if (ints & INT_NOINIT) { in lm8323_irq()
389 if (ints & (INT_PWM1 << i)) { in lm8323_irq()
/kernel/linux/linux-5.10/arch/m68k/kernel/
DMakefile20 obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o
21 obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o
/kernel/linux/linux-5.10/drivers/net/appletalk/
Dltpc.c1194 int ints[5]; in ltpc_setup() local
1196 str = get_options(str, ARRAY_SIZE(ints), ints); in ltpc_setup()
1198 if (ints[0] == 0) { in ltpc_setup()
1209 io = ints[1]; in ltpc_setup()
1210 if (ints[0] > 1) { in ltpc_setup()
1211 irq = ints[2]; in ltpc_setup()
1213 if (ints[0] > 2) { in ltpc_setup()
1214 dma = ints[3]; in ltpc_setup()
/kernel/linux/linux-5.10/drivers/usb/host/
Dohci-hcd.c882 int ints; in ohci_irq() local
888 ints = ohci_readl(ohci, &regs->intrstatus); in ohci_irq()
893 if (ints == ~(u32)0) { in ohci_irq()
901 ints &= ohci_readl(ohci, &regs->intrenable); in ohci_irq()
904 if (ints == 0 || unlikely(ohci->rh_state == OHCI_RH_HALTED)) in ohci_irq()
907 if (ints & OHCI_INTR_UE) { in ohci_irq()
928 if (ints & OHCI_INTR_RHSC) { in ohci_irq()
950 else if (ints & OHCI_INTR_RD) { in ohci_irq()
963 if (ints & OHCI_INTR_WDH) in ohci_irq()
972 if ((ints & OHCI_INTR_SF) != 0 && !ohci->ed_rm_list in ohci_irq()
[all …]
/kernel/linux/linux-5.10/drivers/block/
Dataflop.c2066 int ints[3 + FD_MAX_UNITS]; in atari_floppy_setup() local
2072 str = get_options(str, 3 + FD_MAX_UNITS, ints); in atari_floppy_setup()
2074 if (ints[0] < 1) { in atari_floppy_setup()
2078 else if (ints[0] > 2+FD_MAX_UNITS) { in atari_floppy_setup()
2082 if (ints[1] < 0 || ints[1] > 2) in atari_floppy_setup()
2085 DriveType = ints[1]; in atari_floppy_setup()
2087 if (ints[0] >= 2) in atari_floppy_setup()
2088 UseTrackbuffer = (ints[2] > 0); in atari_floppy_setup()
2090 for( i = 3; i <= ints[0] && i-3 < FD_MAX_UNITS; ++i ) { in atari_floppy_setup()
2091 if (ints[i] != 2 && ints[i] != 3 && ints[i] != 6 && ints[i] != 12) in atari_floppy_setup()
[all …]
/kernel/linux/linux-5.10/drivers/net/hamradio/
Dbaycom_ser_fdx.c658 int ints[4]; in baycom_ser_fdx_setup() local
662 str = get_options(str, 4, ints); in baycom_ser_fdx_setup()
663 if (ints[0] < 2) in baycom_ser_fdx_setup()
666 iobase[nr_dev] = ints[1]; in baycom_ser_fdx_setup()
667 irq[nr_dev] = ints[2]; in baycom_ser_fdx_setup()
668 if (ints[0] >= 3) in baycom_ser_fdx_setup()
669 baud[nr_dev] = ints[3]; in baycom_ser_fdx_setup()
/kernel/linux/linux-5.10/sound/oss/dmasound/
Ddmasound_core.c1465 int ints[6], size; in dmasound_setup() local
1467 str = get_options(str, ARRAY_SIZE(ints), ints); in dmasound_setup()
1475 switch (ints[0]) { in dmasound_setup()
1477 if ((ints[3] < 0) || (ints[3] > MAX_CATCH_RADIUS)) in dmasound_setup()
1480 catchRadius = ints[3]; in dmasound_setup()
1483 if (ints[1] < MIN_BUFFERS) in dmasound_setup()
1486 numWriteBufs = ints[1]; in dmasound_setup()
1489 if ((size = ints[2]) < 256) /* check for small buffer specs */ in dmasound_setup()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dpic.c390 const u32 *ints = NULL; in of_irq_parse_oldworld() local
402 ints = of_get_property(device, "AAPL,interrupts", &intlen); in of_irq_parse_oldworld()
403 if (ints != NULL) in of_irq_parse_oldworld()
409 if (ints == NULL) in of_irq_parse_oldworld()
417 out_irq->args[0] = ints[index]; in of_irq_parse_oldworld()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgf100.c473 u32 ints = (intr >> (unkn * 0x04)) & inte; in gf100_fifo_intr_engine_unit() local
474 if (ints & 0x1) { in gf100_fifo_intr_engine_unit()
476 ints &= ~1; in gf100_fifo_intr_engine_unit()
478 if (ints) { in gf100_fifo_intr_engine_unit()
480 engn, unkn, ints); in gf100_fifo_intr_engine_unit()
481 nvkm_mask(device, 0x002628, ints, 0); in gf100_fifo_intr_engine_unit()

123