Lines Matching refs:ami_irq_list
59 static irq_node_t *ami_irq_list[AMI_STD_IRQS]; variable
94 ami_irq_list[i] = NULL; in amiga_init_IRQ()
96 ami_irq_list[i] = new_irq_node(); in amiga_init_IRQ()
97 ami_irq_list[i]->handler = ami_badint; in amiga_init_IRQ()
98 ami_irq_list[i]->flags = 0; in amiga_init_IRQ()
99 ami_irq_list[i]->dev_id = NULL; in amiga_init_IRQ()
100 ami_irq_list[i]->devname = NULL; in amiga_init_IRQ()
101 ami_irq_list[i]->next = NULL; in amiga_init_IRQ()
223 error = amiga_insert_irq(&ami_irq_list[irq], node); in amiga_request_irq()
225 ami_irq_list[irq]->handler = handler; in amiga_request_irq()
226 ami_irq_list[irq]->flags = flags; in amiga_request_irq()
227 ami_irq_list[irq]->dev_id = dev_id; in amiga_request_irq()
228 ami_irq_list[irq]->devname = devname; in amiga_request_irq()
259 amiga_delete_irq(&ami_irq_list[irq], dev_id); in amiga_free_irq()
261 if (!ami_irq_list[irq] && irq < IRQ_AMIGA_PORTS) in amiga_free_irq()
264 if (ami_irq_list[irq]->dev_id != dev_id) in amiga_free_irq()
266 __FUNCTION__, irq, ami_irq_list[irq]->devname); in amiga_free_irq()
267 ami_irq_list[irq]->handler = ami_badint; in amiga_free_irq()
268 ami_irq_list[irq]->flags = 0; in amiga_free_irq()
269 ami_irq_list[irq]->dev_id = NULL; in amiga_free_irq()
270 ami_irq_list[irq]->devname = NULL; in amiga_free_irq()
352 ami_irq_list[irq]->handler(irq, ami_irq_list[irq]->dev_id, fp); in amiga_do_irq()
363 for (node = ami_irq_list[irq]; node; node = node->next) in amiga_do_irq_list()
477 if (!(node = ami_irq_list[i])) in amiga_get_irq_list()