Home
last modified time | relevance | path

Searched refs:intr (Results 1 – 25 of 76) sorted by relevance

1234

/linux-2.4.37.9/arch/ia64/sn/kernel/
Dirq.c68 extern void pcibr_force_interrupt(pcibr_intr_t intr);
73 pcibr_intr_t intr; member
154 pcibr_intr_t intr; in sn_set_affinity_irq() local
155 extern void sn_shub_redirect_intr(pcibr_intr_t intr, unsigned long cpu); in sn_set_affinity_irq()
156 extern void sn_tio_redirect_intr(pcibr_intr_t intr, unsigned long cpu); in sn_set_affinity_irq()
161 intr = p->intr; in sn_set_affinity_irq()
163 if (intr == NULL) in sn_set_affinity_irq()
166 if (IS_PIC_SOFT(intr->bi_soft) ) { in sn_set_affinity_irq()
167 sn_shub_redirect_intr(intr, cpu); in sn_set_affinity_irq()
238 register_pcibr_intr(int irq, pcibr_intr_t intr) { in register_pcibr_intr() argument
[all …]
/linux-2.4.37.9/drivers/scsi/
Dmac53c94.c39 int intr; member
94 state->intr = node->intrs[0].line; in mac53c94_detect()
122 if (request_irq(state->intr, do_mac53c94_interrupt, 0, in mac53c94_detect()
124 printk(KERN_ERR "mac53C94: can't get irq %d\n", state->intr); in mac53c94_detect()
146 free_irq(fp->intr, fp); in mac53c94_release()
308 int nb, stat, seq, intr; in mac53c94_interrupt() local
317 intr = regs->interrupt; in mac53c94_interrupt()
321 intr, stat, seq, state->phase); in mac53c94_interrupt()
324 if (intr & INTR_RESET) { in mac53c94_interrupt()
332 if (intr & INTR_ILL_CMD) { in mac53c94_interrupt()
[all …]
Dips.c514 static int ips_get_version_info(ips_ha_t * ha, dma_addr_t, int intr);
515 static void ips_version_check(ips_ha_t * ha, int intr);
632 ha->func.intr = ips_intr_morpheus; in ips_setup_funclist()
642 ha->func.intr = ips_intr_copperhead; in ips_setup_funclist()
659 ha->func.intr = ips_intr_copperhead; in ips_setup_funclist()
1342 (*ha->func.intr) (ha);
1353 irqstatus = (*ha->func.intr) (ha);
1664 ips_make_passthru(ips_ha_t * ha, Scsi_Cmnd * SC, ips_scb_t * scb, int intr) argument
2411 ips_get_bios_version(ips_ha_t * ha, int intr) argument
2535 intr)) == IPS_FAILURE)
[all …]
/linux-2.4.37.9/arch/mips/pci/
Dops-gt64120.c47 u32 intr, ret; in gt64120_config_access() local
57 intr = GT_READ(GT_INTRCAUSE_OFS); in gt64120_config_access()
58 GT_WRITE(GT_INTRCAUSE_OFS, intr & ~GT_ERR_BITS); in gt64120_config_access()
88 intr = GT_READ(GT_INTRCAUSE_OFS); in gt64120_config_access()
90 if (intr & GT_ERR_BITS) { /* Error occured */ in gt64120_config_access()
93 intr = GT_READ(GT_INTRCAUSE_OFS); in gt64120_config_access()
94 GT_WRITE(GT_INTRCAUSE_OFS, intr & ~GT_ERR_BITS); in gt64120_config_access()
Dops-msc.c47 u32 intr, dummy; in msc_config_access() local
78 MSC_READ(MSC01_PCI_INTSTAT, intr); in msc_config_access()
79 if (intr & (MSC01_PCI_INTCFG_MA_BIT | MSC01_PCI_INTCFG_TA_BIT)) { in msc_config_access()
83 MSC_READ(MSC01_PCI_INTSTAT, intr); in msc_config_access()
/linux-2.4.37.9/arch/ia64/sn/io/sn2/
Dshub_intr.c204 sn_shub_redirect_intr(pcibr_intr_t intr, unsigned long cpu) { in sn_shub_redirect_intr() argument
209 bridge_t *bridge = intr->bi_soft->bs_base; in sn_shub_redirect_intr()
225 if (intr->bi_ibits & (1 << bit) ) { in sn_shub_redirect_intr()
239 bridge->b_force_pin[bit].intr = 1; in sn_shub_redirect_intr()
242 irq = intr->bi_irq; in sn_shub_redirect_intr()
249 intr->bi_cpu = (int)cpu; in sn_shub_redirect_intr()
/linux-2.4.37.9/drivers/macintosh/
Dmacio-adb.c26 struct preg intr; member
111 out_8(&adb->intr.r, 0); in macio_init()
210 if (in_8(&adb->intr.r) & TAG) { in macio_adb_interrupt()
227 out_8(&adb->intr.r, 0); in macio_adb_interrupt()
230 if (in_8(&adb->intr.r) & DFB) { in macio_adb_interrupt()
253 out_8(&adb->intr.r, 0); in macio_adb_interrupt()
275 if (in_8(&adb->intr.r) != 0) in macio_adb_poll()
/linux-2.4.37.9/drivers/isdn/hisax/
Dst5481_usb.c234 struct st5481_intr *intr = &adapter->intr; in st5481_setup_usb() local
287 intr->urb = urb; in st5481_setup_usb()
312 struct st5481_intr *intr = &adapter->intr; in st5481_release_usb() local
323 usb_unlink_urb(intr->urb); in st5481_release_usb()
324 if (intr->urb->transfer_buffer) in st5481_release_usb()
325 kfree(intr->urb->transfer_buffer); in st5481_release_usb()
326 usb_free_urb(intr->urb); in st5481_release_usb()
351 struct st5481_intr *intr = &adapter->intr; in st5481_start() local
360 SUBMIT_URB(intr->urb); in st5481_start()
/linux-2.4.37.9/arch/ia64/sn/io/sn2/pcibr/
Dpcibr_intr.c272 pcibr_force_interrupt(pcibr_intr_t intr) in pcibr_force_interrupt() argument
276 pcibr_soft_t pcibr_soft = intr->bi_soft; in pcibr_force_interrupt()
279 bits = intr->bi_ibits; in pcibr_force_interrupt()
287 bridge->b_force_pin[bit].intr = 1; in pcibr_force_interrupt()
819 pcibr_setwidint(xtalk_intr_t intr) in pcibr_setwidint() argument
821 xwidgetnum_t targ = xtalk_intr_target_get(intr); in pcibr_setwidint()
822 iopaddr_t addr = xtalk_intr_addr_get(intr); in pcibr_setwidint()
823 xtalk_intr_vector_t vect = xtalk_intr_vector_get(intr); in pcibr_setwidint()
827 bridge_t *bridge = (bridge_t *)xtalk_intr_sfarg_get(intr); in pcibr_setwidint()
936 pcibr_intr_t intr; in pcibr_intr_func() local
[all …]
/linux-2.4.37.9/arch/ia64/hp/sim/
Dhpsim_setup.c41 ia64_ssc_connect_irq (long intr, long irq) in ia64_ssc_connect_irq() argument
43 ia64_ssc(intr, irq, 0, 0, SSC_CONNECT_INTERRUPT); in ia64_ssc_connect_irq()
/linux-2.4.37.9/drivers/sound/emu10k1/
Dcardmo.c53 card_mpuout->intr = 0; in emu10k1_mpuout_open()
143 card_mpuout->intr = 0; in emu10k1_mpuout_add_buffer()
208 card_mpuout->intr = 0; in emu10k1_mpuout_bh()
223 card_mpuout->intr = 1; in emu10k1_mpuout_irqhandler()
Dcardmo.h46 volatile int intr; member
/linux-2.4.37.9/drivers/block/
Dswim3.c71 REG(intr);
382 in_8(&sw->intr); /* clear SEEN_SECTOR bit */ in scan_track()
461 in_8(&sw->intr); in setup_transfer()
627 int intr, err, n; in swim3_interrupt() local
632 intr = in_8(&sw->intr); in swim3_interrupt()
633 err = (intr & ERROR_INTR)? in_8(&sw->error): 0; in swim3_interrupt()
634 if ((intr & ERROR_INTR) && fs->state != do_transfer) in swim3_interrupt()
636 fs->state, CURRENT->cmd, intr, err); in swim3_interrupt()
639 if (intr & SEEN_SECTOR) { in swim3_interrupt()
688 if ((intr & (ERROR_INTR | TRANSFER_DONE)) == 0) in swim3_interrupt()
[all …]
Dcpqarray.c273 (unsigned int) h->io_mem_addr, (unsigned int)h->intr, in ida_proc_get_info()
379 free_irq(hba[i]->intr, hba[i]); in cpqarray_remove_one()
417 free_irq(hba[i]->intr, hba[i]); in cpqarray_remove_one_eisa()
493 if (request_irq(hba[ctlr]->intr, do_ida_intr, in cpqarray_register_ctlr()
497 hba[ctlr]->intr, hba[ctlr]->devname); in cpqarray_register_ctlr()
516 free_irq(hba[ctlr]->intr, hba[ctlr]); in cpqarray_register_ctlr()
718 c->intr = irq; in cpqarray_pci_init()
818 int intr; in cpqarray_eisa_detect() local
851 intr = inb(eisa[i]+0xCC0) >> 4; in cpqarray_eisa_detect()
852 if (intr & 1) in cpqarray_eisa_detect()
[all …]
/linux-2.4.37.9/include/asm-ia64/sn/pci/
Dpcibr.h183 extern void pcibr_intr_free(pcibr_intr_t intr);
185 extern int pcibr_intr_connect(pcibr_intr_t intr, intr_func_t, intr_arg_t);
187 extern void pcibr_intr_disconnect(pcibr_intr_t intr);
189 extern vertex_hdl_t pcibr_intr_cpu_get(pcibr_intr_t intr);
/linux-2.4.37.9/drivers/net/
Dmace.c693 static void mace_handle_misc_intrs(struct mace_data *mp, int intr) in mace_handle_misc_intrs() argument
698 if (intr & MPCO) in mace_handle_misc_intrs()
701 if (intr & RNTPCO) in mace_handle_misc_intrs()
704 if (intr & CERR) in mace_handle_misc_intrs()
706 if (intr & BABBLE) in mace_handle_misc_intrs()
709 if (intr & JABBER) in mace_handle_misc_intrs()
721 int intr, fs, i, stat, x; in mace_interrupt() local
725 intr = in_8(&mb->ir); /* read interrupt register */ in mace_interrupt()
727 mace_handle_misc_intrs(mp, intr); in mace_interrupt()
738 intr = in_8(&mb->ir); in mace_interrupt()
[all …]
Dmacmace.c495 static void mace_handle_misc_intrs(struct mace_data *mp, int intr) in mace_handle_misc_intrs() argument
500 if (intr & MPCO) { in mace_handle_misc_intrs()
505 if (intr & RNTPCO) { in mace_handle_misc_intrs()
510 if (intr & CERR) { in mace_handle_misc_intrs()
513 if (intr & BABBLE) { in mace_handle_misc_intrs()
518 if (intr & JABBER) { in mace_handle_misc_intrs()
/linux-2.4.37.9/drivers/net/wan/
Dz85230.c724 u8 intr; in z8530_interrupt() local
741 intr = read_zsreg(&dev->chanA, R3); in z8530_interrupt()
742 if(!(intr & (CHARxIP|CHATxIP|CHAEXT|CHBRxIP|CHBTxIP|CHBEXT))) in z8530_interrupt()
751 if(intr & (CHARxIP|CHATxIP|CHAEXT)) in z8530_interrupt()
753 if(intr&CHARxIP) in z8530_interrupt()
755 if(intr&CHATxIP) in z8530_interrupt()
757 if(intr&CHAEXT) in z8530_interrupt()
763 if(intr & (CHBRxIP|CHBTxIP|CHBEXT)) in z8530_interrupt()
765 if(intr&CHBRxIP) in z8530_interrupt()
767 if(intr&CHBTxIP) in z8530_interrupt()
[all …]
Dsdla.c937 struct intr_info intr; in sdla_close() local
957 memset(&intr, 0, sizeof(intr)); in sdla_close()
966 sdla_cmd(dev, SDLA_SET_IRQ_TRIGGER, 0, 0, &intr, sizeof(char) + sizeof(short), NULL, NULL); in sdla_close()
975 sdla_cmd(dev, SDLA_SET_IRQ_TRIGGER, 0, 0, &intr, sizeof(struct intr_info), NULL, NULL); in sdla_close()
1000 struct intr_info intr; in sdla_open() local
1031 memset(&intr, 0, sizeof(intr)); in sdla_open()
1046 intr.flags = SDLA_INTR_RX | SDLA_INTR_STATUS | SDLA_INTR_MODEM; in sdla_open()
1047 sdla_cmd(dev, SDLA_SET_IRQ_TRIGGER, 0, 0, &intr, sizeof(char) + sizeof(short), NULL, NULL); in sdla_open()
1058 intr.flags = SDLA_INTR_RX | SDLA_INTR_STATUS | SDLA_INTR_MODEM; in sdla_open()
1059 intr.irq = dev->irq; in sdla_open()
[all …]
/linux-2.4.37.9/include/asm-ia64/sn/
Dsn_sal.h353 ia64_sn_console_intr_enable(uint64_t intr) in ia64_sn_console_intr_enable() argument
362 intr, SAL_CONSOLE_INTR_ON, in ia64_sn_console_intr_enable()
370 ia64_sn_console_intr_disable(uint64_t intr) in ia64_sn_console_intr_disable() argument
379 intr, SAL_CONSOLE_INTR_OFF, in ia64_sn_console_intr_disable()
/linux-2.4.37.9/drivers/media/video/
Dvino.c364 u32 ctrl, intr; in dma_setup() local
393 intr = vino->intr_status; in dma_setup()
398 intr &= ~VINO_INTSTAT_A; in dma_setup()
422 intr &= ~VINO_INTSTAT_B; in dma_setup()
461 vino->intr_status = intr; in dma_setup()
512 u32 intr, ctrl; in vino_interrupt() local
516 intr = vino->intr_status; in vino_interrupt()
517 DEBUG("VINO: intr status %04x\n", intr); in vino_interrupt()
518 if (intr & (VINO_INTSTAT_A_FIFO | VINO_INTSTAT_A_EOD)) { in vino_interrupt()
523 if (intr & (VINO_INTSTAT_B_FIFO | VINO_INTSTAT_B_EOD)) { in vino_interrupt()
[all …]
/linux-2.4.37.9/drivers/net/tokenring/
Dibmtr.c343 unsigned char segment, intr=0, irq=0, i, j, cardpresent=NOTOK, temp=0; in ibmtr_probe1() local
386 intr = segment & 0x03; /* low bits is coded interrupt # */ in ibmtr_probe1()
389 , PIOaddr, (int) segment, t_mmio, (int) intr); in ibmtr_probe1()
482 if (intr == 0) irq = 9; /* irq2 really is irq9 */ in ibmtr_probe1()
483 if (intr == 1) irq = 3; in ibmtr_probe1()
484 if (intr == 2) irq = 6; in ibmtr_probe1()
485 if (intr == 3) irq = 7; in ibmtr_probe1()
489 if (intr == 0) irq = 9; in ibmtr_probe1()
490 if (intr == 1) irq = 3; in ibmtr_probe1()
491 if (intr == 2) irq = 10; in ibmtr_probe1()
[all …]
/linux-2.4.37.9/drivers/sbus/char/
Ductrl.c275 int stat, incnt, outcnt, bytecnt, intr; in uctrl_do_txn() local
279 intr = driver->regs->uctrl_intr; in uctrl_do_txn()
282 dprintk(("interrupt stat 0x%x int 0x%x\n", stat, intr)); in uctrl_do_txn()
/linux-2.4.37.9/arch/ia64/sn/io/sn2/ioc4/
Dioc4.c423 ioc4_intr_func_f *intr, in ioc4_intr_connect() argument
489 soft->is_intr_type[type].is_intr_info[i].sd_intr = intr; in ioc4_intr_connect()
536 ioc4_intr_func_f *intr, in ioc4_intr_disconnect() argument
559 if ((soft->is_intr_type[type].is_intr_info[i].sd_intr == intr) && in ioc4_intr_disconnect()
/linux-2.4.37.9/arch/ia64/sn/io/machvec/
Dpci_bus_cvlink.c53 extern void register_pcibr_intr(int irq, pcibr_intr_t intr);
335 p->force_int_addr = (unsigned long)&b->b_force_always[6].intr; in sn_dma_flush_init()
343 p->force_int_addr = (unsigned long)&b->b_force_always[4].intr; in sn_dma_flush_init()
351 p->force_int_addr = (unsigned long)&b->b_force_always[7].intr; in sn_dma_flush_init()
360 p->force_int_addr = (unsigned long)&b->b_force_always[pin + 2].intr; in sn_dma_flush_init()

1234