Home
last modified time | relevance | path

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

123

/linux-6.12.1/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()
/linux-6.12.1/drivers/net/
DSpace.c144 int ints[5]; in netdev_boot_setup() local
147 str = get_options(str, ARRAY_SIZE(ints), ints); in netdev_boot_setup()
153 if (ints[0] > 0) in netdev_boot_setup()
154 map.irq = ints[1]; in netdev_boot_setup()
155 if (ints[0] > 1) in netdev_boot_setup()
156 map.base_addr = ints[2]; in netdev_boot_setup()
157 if (ints[0] > 2) in netdev_boot_setup()
158 map.mem_start = ints[3]; in netdev_boot_setup()
159 if (ints[0] > 3) in netdev_boot_setup()
160 map.mem_end = ints[4]; in netdev_boot_setup()
/linux-6.12.1/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.c394 int ints[8]; in atari_scsi_setup() local
396 get_options(str, ARRAY_SIZE(ints), ints); in atari_scsi_setup()
398 if (ints[0] < 1) { in atari_scsi_setup()
402 if (ints[0] >= 1) in atari_scsi_setup()
403 setup_can_queue = ints[1]; in atari_scsi_setup()
404 if (ints[0] >= 2) in atari_scsi_setup()
405 setup_cmd_per_lun = ints[2]; in atari_scsi_setup()
406 if (ints[0] >= 3) in atari_scsi_setup()
407 setup_sg_tablesize = ints[3]; in atari_scsi_setup()
408 if (ints[0] >= 4) in atari_scsi_setup()
[all …]
/linux-6.12.1/drivers/net/arcnet/
Dcom20020-isa.c192 int ints[8]; in com20020isa_setup() local
194 s = get_options(s, 8, ints); in com20020isa_setup()
195 if (!ints[0]) in com20020isa_setup()
198 switch (ints[0]) { in com20020isa_setup()
203 timeout = ints[6]; in com20020isa_setup()
206 clockp = ints[5]; in com20020isa_setup()
209 backplane = ints[4]; in com20020isa_setup()
212 node = ints[3]; in com20020isa_setup()
215 irq = ints[2]; in com20020isa_setup()
218 io = ints[1]; in com20020isa_setup()
Darc-rimi.c360 int ints[8]; in arcrimi_setup() local
362 s = get_options(s, 8, ints); in arcrimi_setup()
363 if (!ints[0]) in arcrimi_setup()
365 switch (ints[0]) { in arcrimi_setup()
370 node = ints[3]; in arcrimi_setup()
373 irq = ints[2]; in arcrimi_setup()
376 io = ints[1]; in arcrimi_setup()
Dcom90io.c359 int ints[4]; in com90io_setup() local
361 s = get_options(s, 4, ints); in com90io_setup()
362 if (!ints[0]) in com90io_setup()
364 switch (ints[0]) { in com90io_setup()
369 irq = ints[2]; in com90io_setup()
372 io = ints[1]; in com90io_setup()
Dcom90xx.c687 int ints[8]; in com90xx_setup() local
689 s = get_options(s, 8, ints); in com90xx_setup()
690 if (!ints[0] && !*s) { in com90xx_setup()
695 switch (ints[0]) { in com90xx_setup()
700 shmem = ints[3]; in com90xx_setup()
703 irq = ints[2]; in com90xx_setup()
706 io = ints[1]; in com90xx_setup()
/linux-6.12.1/arch/arm/mach-omap1/
Di2c.c91 int ints[3]; in omap_i2c_bus_setup() local
93 get_options(str, 3, ints); in omap_i2c_bus_setup()
94 if (ints[0] < 2 || ints[1] < 1 || in omap_i2c_bus_setup()
95 ints[1] > OMAP_I2C_MAX_CONTROLLERS) in omap_i2c_bus_setup()
97 i2c_pdata[ints[1] - 1].clkrate = ints[2]; in omap_i2c_bus_setup()
98 i2c_pdata[ints[1] - 1].clkrate |= OMAP_I2C_CMDLINE_SETUP; in omap_i2c_bus_setup()
/linux-6.12.1/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()
/linux-6.12.1/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 …]
/linux-6.12.1/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-6.12.1/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 …]
/linux-6.12.1/lib/
Dcmdline.c107 char *get_options(const char *str, int nints, int *ints) in get_options() argument
113 int *pint = validate ? ints : ints + i; in get_options()
136 ints[0] = i - 1; in get_options()
Dstring_helpers.c156 int *ints, nints; in parse_int_array_user() local
170 ints = kcalloc(nints + 1, sizeof(*ints), GFP_KERNEL); in parse_int_array_user()
171 if (!ints) { in parse_int_array_user()
176 get_options(buf, nints + 1, ints); in parse_int_array_user()
177 *array = ints; in parse_int_array_user()
/linux-6.12.1/arch/m68k/atari/
Dataints.c148 unsigned char ints; in mfp_timer_d_handler() local
151 ints = base->int_mask; in mfp_timer_d_handler()
152 for (; ints; mach_irq++, ints >>= 1) { in mfp_timer_d_handler()
153 if (ints & 1) in mfp_timer_d_handler()
/linux-6.12.1/drivers/usb/host/
Dohci-hcd.c880 int ints; in ohci_irq() local
886 ints = ohci_readl(ohci, &regs->intrstatus); in ohci_irq()
892 if (ints == ~(u32)0) { in ohci_irq()
900 ints &= ohci_readl(ohci, &regs->intrenable); in ohci_irq()
903 if (ints == 0 || unlikely(ohci->rh_state == OHCI_RH_HALTED)) in ohci_irq()
906 if (ints & OHCI_INTR_UE) { in ohci_irq()
927 if (ints & OHCI_INTR_RHSC) { in ohci_irq()
949 else if (ints & OHCI_INTR_RD) { in ohci_irq()
962 if (ints & OHCI_INTR_WDH) in ohci_irq()
971 if ((ints & OHCI_INTR_SF) != 0 && !ohci->ed_rm_list in ohci_irq()
[all …]
/linux-6.12.1/drivers/input/keyboard/
Dsun4i-lradc-keys.c112 u32 i, ints, val, voltage, diff, keycode = 0, closest = 0xffffffff; in sun4i_lradc_irq() local
114 ints = readl(lradc->base + LRADC_INTS); in sun4i_lradc_irq()
121 if (ints & CHAN0_KEYUP_IRQ) { in sun4i_lradc_irq()
126 if ((ints & CHAN0_KEYDOWN_IRQ) && lradc->chan0_keycode == 0) { in sun4i_lradc_irq()
144 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()
/linux-6.12.1/arch/m68k/kernel/
DMakefile22 obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o
23 obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o
/linux-6.12.1/drivers/block/
Dataflop.c2158 int ints[3 + FD_MAX_UNITS]; in atari_floppy_setup() local
2164 str = get_options(str, 3 + FD_MAX_UNITS, ints); in atari_floppy_setup()
2166 if (ints[0] < 1) { in atari_floppy_setup()
2170 else if (ints[0] > 2+FD_MAX_UNITS) { in atari_floppy_setup()
2174 if (ints[1] < 0 || ints[1] > 2) in atari_floppy_setup()
2177 DriveType = ints[1]; in atari_floppy_setup()
2179 if (ints[0] >= 2) in atari_floppy_setup()
2180 UseTrackbuffer = (ints[2] > 0); in atari_floppy_setup()
2182 for( i = 3; i <= ints[0] && i-3 < FD_MAX_UNITS; ++i ) { in atari_floppy_setup()
2183 if (ints[i] != 2 && ints[i] != 3 && ints[i] != 6 && ints[i] != 12) in atari_floppy_setup()
[all …]
/linux-6.12.1/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()
/linux-6.12.1/sound/oss/dmasound/
Ddmasound_core.c1431 int ints[6], size; in dmasound_setup() local
1433 str = get_options(str, ARRAY_SIZE(ints), ints); in dmasound_setup()
1441 switch (ints[0]) { in dmasound_setup()
1443 if ((ints[3] < 0) || (ints[3] > MAX_CATCH_RADIUS)) in dmasound_setup()
1446 catchRadius = ints[3]; in dmasound_setup()
1449 if (ints[1] < MIN_BUFFERS) in dmasound_setup()
1452 numWriteBufs = ints[1]; in dmasound_setup()
1455 if ((size = ints[2]) < 256) /* check for small buffer specs */ in dmasound_setup()
/linux-6.12.1/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()

123