Lines Matching refs:irq_level

191 static int irq_level = IRQ_LEV;  variable
193 static int irq_level = -1; /* 0 is 'no irq', so use -1 for 'uninitialized' */ variable
515 if (irq_level < 0) { /* LILO override if >= 0 */ in NCR53c406a_detect()
516 irq_level = irq_probe(); in NCR53c406a_detect()
517 if (irq_level < 0) { /* Trouble */ in NCR53c406a_detect()
518 printk("NCR53c406a: IRQ problem, irq_level=%d, giving up\n", irq_level); in NCR53c406a_detect()
535 if (irq_level > 0) { in NCR53c406a_detect()
536 if (request_irq(irq_level, do_NCR53c406a_intr, 0, "NCR53c406a", shpnt)) { in NCR53c406a_detect()
537 printk("NCR53c406a: unable to allocate IRQ %d\n", irq_level); in NCR53c406a_detect()
541 DEB(printk("NCR53c406a: allocated IRQ %d\n", irq_level)); in NCR53c406a_detect()
542 } else if (irq_level == 0) { in NCR53c406a_detect()
567 shpnt->irq = irq_level; in NCR53c406a_detect()
575 sprintf(info_msg, "NCR53c406a at 0x%x, IRQ %d, DMA channel %d.", port_base, irq_level, dma_chan); in NCR53c406a_detect()
577 …sprintf(info_msg, "NCR53c406a at 0x%x, IRQ %d, %s PIO mode.", port_base, irq_level, fast_pio ? "fa… in NCR53c406a_detect()
584 if (irq_level) in NCR53c406a_detect()
585 free_irq(irq_level, shpnt); in NCR53c406a_detect()
643 irq_level = 0; in NCR53c406a_setup()
644 DEB(printk("NCR53c406a: Specified irq %d\n", irq_level); in NCR53c406a_setup()
647 for (i = 0; i < INTR_COUNT && irq_level < 0; i++) in NCR53c406a_setup()
649 irq_level = ints[2]; in NCR53c406a_setup()
653 if (irq_level < 0) in NCR53c406a_setup()
660 DEB(printk("NCR53c406a: port_base=0x%x, irq=%d, fast_pio=%d\n", port_base, irq_level, fast_pio);) in NCR53c406a_setup()