Lines Matching refs:irq_tab
63 } irq_tab[Q40_IRQ_MAX+1]; variable
86 irq_tab[i].handler = q40_defhand; in q40_init_IRQ()
87 irq_tab[i].flags = 0; in q40_init_IRQ()
88 irq_tab[i].dev_id = NULL; in q40_init_IRQ()
90 irq_tab[i].devname[0] = 0; in q40_init_IRQ()
91 irq_tab[i].count = 0; in q40_init_IRQ()
92 irq_tab[i].state =0; in q40_init_IRQ()
131 if (irq_tab[irq].dev_id != NULL) in q40_request_irq()
134 __FUNCTION__, irq, irq_tab[irq].devname); in q40_request_irq()
143 irq_tab[irq].handler = handler; in q40_request_irq()
144 irq_tab[irq].flags = flags; in q40_request_irq()
145 irq_tab[irq].dev_id = dev_id; in q40_request_irq()
146 strncpy(irq_tab[irq].devname,devname,DEVNAME_SIZE); in q40_request_irq()
147 irq_tab[irq].state = 0; in q40_request_irq()
177 if (irq_tab[irq].dev_id != dev_id) in q40_free_irq()
179 __FUNCTION__, irq, irq_tab[irq].devname); in q40_free_irq()
181 irq_tab[irq].handler = q40_defhand; in q40_free_irq()
182 irq_tab[irq].flags = 0; in q40_free_irq()
183 irq_tab[irq].dev_id = NULL; in q40_free_irq()
318 irq_tab[Q40_IRQ_FRAME].count++; in q40_irq2_handler()
319 irq_tab[Q40_IRQ_FRAME].handler(Q40_IRQ_FRAME,irq_tab[Q40_IRQ_FRAME].dev_id,fp); in q40_irq2_handler()
337 if (irq_tab[irq].handler == q40_defhand ) { in q40_irq2_handler()
341 if ( irq_tab[irq].state & IRQ_INPROGRESS ) { in q40_irq2_handler()
356 irq_tab[irq].count++; in q40_irq2_handler()
357 irq_tab[irq].state |= IRQ_INPROGRESS; in q40_irq2_handler()
358 irq_tab[irq].handler(irq,irq_tab[irq].dev_id,fp); in q40_irq2_handler()
359 irq_tab[irq].state &= ~IRQ_INPROGRESS; in q40_irq2_handler()
385 irq_tab[Q40_IRQ_KEYBOARD].count++; in q40_irq2_handler()
386 irq_tab[Q40_IRQ_KEYBOARD].handler(Q40_IRQ_KEYBOARD,irq_tab[Q40_IRQ_KEYBOARD].dev_id,fp); in q40_irq2_handler()
396 if (irq_tab[i].count) in q40_get_irq_list()
399 i, irq_tab[i].count, in q40_get_irq_list()
400 irq_tab[i].devname[0] ? irq_tab[i].devname : "?", in q40_get_irq_list()
401 irq_tab[i].handler == q40_defhand ? in q40_get_irq_list()