Lines Matching refs:irq_desc
53 struct irqdesc irq_desc[NR_IRQS]; variable
80 struct irqdesc *desc = irq_desc + irq; in disable_irq()
104 struct irqdesc *desc = irq_desc + irq; in enable_irq()
137 action = irq_desc[i].action; in get_irq_list()
215 struct irqdesc *desc = irq_desc + irq; in do_IRQ()
296 do_IRQ(desc - irq_desc, regs); in do_pending_irqs()
363 desc->unmask(desc - irq_desc); in irqlck_timeout()
375 desc = irq_desc + irq; in do_ecard_IRQ()
423 desc = irq_desc + irq; in setup_arm_irq()
495 if (irq >= NR_IRQS || !irq_desc[irq].valid || !handler || in request_irq()
534 if (irq >= NR_IRQS || !irq_desc[irq].valid) { in free_irq()
543 for (p = &irq_desc[irq].action; (action = *p) != NULL; p = &action->next) { in free_irq()
581 if (!irq_desc[i].probe_ok || irq_desc[i].action) in probe_irq_on()
584 irq_desc[i].probing = 1; in probe_irq_on()
585 irq_desc[i].triggered = 0; in probe_irq_on()
586 irq_desc[i].unmask(i); in probe_irq_on()
602 if (irq_desc[i].probing && irq_desc[i].triggered) { in probe_irq_on()
603 irq_desc[i].probing = 0; in probe_irq_on()
618 if (irq_desc[i].probing && irq_desc[i].triggered) in probe_irq_mask()
643 if (irq_desc[i].probing && in probe_irq_off()
644 irq_desc[i].triggered) { in probe_irq_off()
673 irq_desc[irq].disable_depth = 1; in init_IRQ()
674 irq_desc[irq].probe_ok = 0; in init_IRQ()
675 irq_desc[irq].valid = 0; in init_IRQ()
676 irq_desc[irq].noautoenable = 0; in init_IRQ()
677 irq_desc[irq].mask_ack = dummy_mask_unmask_irq; in init_IRQ()
678 irq_desc[irq].mask = dummy_mask_unmask_irq; in init_IRQ()
679 irq_desc[irq].unmask = dummy_mask_unmask_irq; in init_IRQ()
680 INIT_LIST_HEAD(&irq_desc[irq].pend); in init_IRQ()
681 init_timer(&irq_desc[irq].lck_timer); in init_IRQ()
682 irq_desc[irq].lck_timer.data = (unsigned long)&irq_desc[irq]; in init_IRQ()
683 irq_desc[irq].lck_timer.function = irqlck_timeout; in init_IRQ()