Lines Matching refs:irq_num
152 int irq_register(ul irq_num, void *arg, void (*handler)(ul irq_num, ul parameter, struct pt_regs *r… in irq_register() argument
157 if (irq_num >= 32 && irq_num < 0x80) in irq_register()
158 p = &interrupt_desc[irq_num - 32]; in irq_register()
159 else if (irq_num >= 150 && irq_num < 200) in irq_register()
160 p = &local_apic_interrupt_desc[irq_num - 150]; in irq_register()
163 kerror("irq_register(): invalid irq num: %ld.", irq_num); in irq_register()
180 p->controller->install(irq_num, arg); in irq_register()
182 p->controller->enable(irq_num); in irq_register()
194 int irq_unregister(ul irq_num) in irq_unregister() argument
196 irq_desc_t *p = &interrupt_desc[irq_num - 32]; in irq_unregister()
197 p->controller->disable(irq_num); in irq_unregister()
198 p->controller->uninstall(irq_num); in irq_unregister()