Home
last modified time | relevance | path

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

12

/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()
/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()
/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 …]
Daha152x.c3355 int ints[10]; in aha152x_setup() local
3357 get_options(str, ARRAY_SIZE(ints), ints); in aha152x_setup()
3365 setup[setup_count].io_port = ints[0] >= 1 ? ints[1] : 0x340; in aha152x_setup()
3366 setup[setup_count].irq = ints[0] >= 2 ? ints[2] : 11; in aha152x_setup()
3367 setup[setup_count].scsiid = ints[0] >= 3 ? ints[3] : 7; in aha152x_setup()
3368 setup[setup_count].reconnect = ints[0] >= 4 ? ints[4] : 1; in aha152x_setup()
3369 setup[setup_count].parity = ints[0] >= 5 ? ints[5] : 1; in aha152x_setup()
3370 setup[setup_count].synchronous = ints[0] >= 6 ? ints[6] : 1; in aha152x_setup()
3371 setup[setup_count].delay = ints[0] >= 7 ? ints[7] : DELAY_DEFAULT; in aha152x_setup()
3372 setup[setup_count].ext_trans = ints[0] >= 8 ? ints[8] : 0; in aha152x_setup()
[all …]
/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()
/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 …]
/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()
/drivers/block/
Dataflop.c2143 int ints[3 + FD_MAX_UNITS]; in atari_floppy_setup() local
2149 str = get_options(str, 3 + FD_MAX_UNITS, ints); in atari_floppy_setup()
2151 if (ints[0] < 1) { in atari_floppy_setup()
2155 else if (ints[0] > 2+FD_MAX_UNITS) { in atari_floppy_setup()
2159 if (ints[1] < 0 || ints[1] > 2) in atari_floppy_setup()
2162 DriveType = ints[1]; in atari_floppy_setup()
2164 if (ints[0] >= 2) in atari_floppy_setup()
2165 UseTrackbuffer = (ints[2] > 0); in atari_floppy_setup()
2167 for( i = 3; i <= ints[0] && i-3 < FD_MAX_UNITS; ++i ) { in atari_floppy_setup()
2168 if (ints[i] != 2 && ints[i] != 3 && ints[i] != 6 && ints[i] != 12) in atari_floppy_setup()
[all …]
/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 …]
/drivers/net/appletalk/
Dltpc.c1196 int ints[5]; in ltpc_setup() local
1198 str = get_options(str, ARRAY_SIZE(ints), ints); in ltpc_setup()
1200 if (ints[0] == 0) { in ltpc_setup()
1211 io = ints[1]; in ltpc_setup()
1212 if (ints[0] > 1) { in ltpc_setup()
1213 irq = ints[2]; in ltpc_setup()
1215 if (ints[0] > 2) { in ltpc_setup()
1216 dma = ints[3]; in ltpc_setup()
/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()
Dbaycom_ser_hdx.c710 int ints[3]; in baycom_ser_hdx_setup() local
714 str = get_options(str, 3, ints); in baycom_ser_hdx_setup()
715 if (ints[0] < 2) in baycom_ser_hdx_setup()
718 iobase[nr_dev] = ints[1]; in baycom_ser_hdx_setup()
719 irq[nr_dev] = ints[2]; in baycom_ser_hdx_setup()
Dbaycom_par.c583 int ints[2]; in baycom_par_setup() local
587 str = get_options(str, 2, ints); in baycom_par_setup()
588 if (ints[0] < 1) in baycom_par_setup()
591 iobase[nr_dev] = ints[1]; in baycom_par_setup()
/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()
/drivers/net/ethernet/hisilicon/
Dhisi_femac.c305 int ints, num; in hisi_femac_poll() local
315 ints = readl(priv->glb_base + GLB_IRQ_RAW); in hisi_femac_poll()
316 writel(ints & DEF_INT_MASK, in hisi_femac_poll()
318 } while (ints & DEF_INT_MASK); in hisi_femac_poll()
331 int ints; in hisi_femac_interrupt() local
335 ints = readl(priv->glb_base + GLB_IRQ_RAW); in hisi_femac_interrupt()
337 if (likely(ints & DEF_INT_MASK)) { in hisi_femac_interrupt()
338 writel(ints & DEF_INT_MASK, in hisi_femac_interrupt()
/drivers/bcma/
Ddriver_mips.c165 char *ints = interrupts; in bcma_core_mips_print_irq() local
168 ints += sprintf(ints, " %s%c", in bcma_core_mips_print_irq()
/drivers/usb/dwc2/
Dgadget.c162 static void dwc2_hsotg_en_gsint(struct dwc2_hsotg *hsotg, u32 ints) in dwc2_hsotg_en_gsint() argument
167 new_gsintmsk = gsintmsk | ints; in dwc2_hsotg_en_gsint()
180 static void dwc2_hsotg_disable_gsint(struct dwc2_hsotg *hsotg, u32 ints) in dwc2_hsotg_disable_gsint() argument
185 new_gsintmsk = gsintmsk & ~ints; in dwc2_hsotg_disable_gsint()
2794 u32 ints; in dwc2_gadget_read_ep_interrupts() local
2803 ints = dwc2_readl(hsotg, epint_reg); in dwc2_gadget_read_ep_interrupts()
2804 ints &= mask; in dwc2_gadget_read_ep_interrupts()
2805 return ints; in dwc2_gadget_read_ep_interrupts()
3043 u32 ints; in dwc2_hsotg_epint() local
3045 ints = dwc2_gadget_read_ep_interrupts(hsotg, idx, dir_in); in dwc2_hsotg_epint()
[all …]
/drivers/net/wireless/intersil/p54/
Dp54spi.c481 u32 ints; in p54spi_work() local
489 ints = p54spi_read32(priv, SPI_ADRS_HOST_INTERRUPTS); in p54spi_work()
491 if (ints & SPI_HOST_INT_READY) { in p54spi_work()
499 if (ints & SPI_HOST_INT_UPDATE) { in p54spi_work()
505 if (ints & SPI_HOST_INT_SW_UPDATE) { in p54spi_work()
/drivers/spi/
Dspi-qcom-qspi.c198 u32 ints; in qcom_qspi_pio_xfer() local
207 ints = QSPI_ERR_IRQS | WR_FIFO_EMPTY; in qcom_qspi_pio_xfer()
209 ints = QSPI_ERR_IRQS | RESP_FIFO_RDY; in qcom_qspi_pio_xfer()
210 writel(ints, ctrl->base + MSTR_INT_EN); in qcom_qspi_pio_xfer()
/drivers/net/plip/
Dplip.c1386 int ints[4]; in plip_setup() local
1388 str = get_options(str, ARRAY_SIZE(ints), ints); in plip_setup()
1401 if (ints[0] == 0 || ints[1] == 0) { in plip_setup()
1406 ints[1]); in plip_setup()

12