Lines Matching refs:irq_num
188 int irq_register(ul irq_num, void *arg, void (*handler)(ul irq_num, ul parameter, struct pt_regs *r… in irq_register() argument
193 if (irq_num >= 32 && irq_num < 0x80) in irq_register()
194 p = &interrupt_desc[irq_num - 32]; in irq_register()
195 else if (irq_num >= 150 && irq_num < 200) in irq_register()
196 p = &local_apic_interrupt_desc[irq_num - 150]; in irq_register()
199 kerror("irq_register(): invalid irq num: %ld.", irq_num); in irq_register()
215 p->controller->install(irq_num, arg); in irq_register()
217 p->controller->enable(irq_num); in irq_register()
229 int irq_unregister(ul irq_num) in irq_unregister() argument
231 irq_desc_t *p = &interrupt_desc[irq_num - 32]; in irq_unregister()
232 p->controller->disable(irq_num); in irq_unregister()
233 p->controller->uninstall(irq_num); in irq_unregister()