Lines Matching refs:irq_fd
28 static struct irq_fd *active_fds = NULL;
29 static struct irq_fd **last_irq_ptr = &active_fds;
35 struct irq_fd *irq_fd; in sigio_handler() local
49 for (irq_fd = active_fds; irq_fd != NULL; in sigio_handler()
50 irq_fd = irq_fd->next) { in sigio_handler()
51 if (irq_fd->current_events != 0) { in sigio_handler()
52 irq_fd->current_events = 0; in sigio_handler()
53 do_IRQ(irq_fd->irq, regs); in sigio_handler()
66 struct irq_fd *new_fd, *irq_fd; in activate_fd() local
75 new_fd = kmalloc(sizeof(struct irq_fd), GFP_KERNEL); in activate_fd()
82 *new_fd = ((struct irq_fd) { .next = NULL, in activate_fd()
92 for (irq_fd = active_fds; irq_fd != NULL; irq_fd = irq_fd->next) { in activate_fd()
93 if ((irq_fd->fd == fd) && (irq_fd->type == type)) { in activate_fd()
95 printk(KERN_ERR "Irqs : %d, %d\n", irq_fd->irq, irq); in activate_fd()
96 printk(KERN_ERR "Ids : 0x%p, 0x%p\n", irq_fd->id, in activate_fd()
156 static void free_irq_by_cb(int (*test)(struct irq_fd *, void *), void *arg) in free_irq_by_cb() argument
170 static int same_irq_and_dev(struct irq_fd *irq, void *d) in same_irq_and_dev()
185 static int same_fd(struct irq_fd *irq, void *fd) in same_fd()
196 static struct irq_fd *find_irq_by_fd(int fd, int irqnum, int *index_out) in find_irq_by_fd()
198 struct irq_fd *irq; in find_irq_by_fd()
227 struct irq_fd *irq; in reactivate_fd()
245 struct irq_fd *irq; in deactivate_fd()
271 struct irq_fd *irq; in deactivate_all_fds()