Lines Matching full:vec
45 void irq_install_handler (int vec, interrupt_handler_t * handler, void *arg) in irq_install_handler() argument
47 if ((vec < 0) || (vec >= NR_IRQS)) { in irq_install_handler()
49 vec); in irq_install_handler()
53 irq_vecs[vec].handler = handler; in irq_install_handler()
54 irq_vecs[vec].arg = arg; in irq_install_handler()
57 void irq_free_handler (int vec) in irq_free_handler() argument
59 if ((vec < 0) || (vec >= NR_IRQS)) { in irq_free_handler()
63 irq_vecs[vec].handler = NULL; in irq_free_handler()
64 irq_vecs[vec].arg = NULL; in irq_free_handler()
87 int vec; in int_handler() local
89 vec = (fp->vector >> 2) & 0xff; in int_handler()
90 if (vec > 0x40) in int_handler()
91 vec -= 0x40; in int_handler()
93 if (irq_vecs[vec].handler != NULL) { in int_handler()
94 irq_vecs[vec].handler (irq_vecs[vec].arg); in int_handler()
96 printf ("\nBogus External Interrupt Vector %d\n", vec); in int_handler()