Lines Matching refs:irq_map
76 static struct ipu_irq_map irq_map[CONFIG_MX3_IPU_IRQS]; variable
87 if (irq_map[i].source == src) in src2map()
88 return irq_map + i; in src2map()
209 if (irq_map[i].source < 0) { in ipu_irq_map()
213 irq_map[i].source = source; in ipu_irq_map()
214 irq_map[i].bank = irq_bank + source / 32; in ipu_irq_map()
217 ret = irq_map[i].irq; in ipu_irq_map()
245 if (irq_map[i].source == source) { in ipu_irq_unmap()
249 source, irq_map[i].irq); in ipu_irq_unmap()
252 irq_map[i].source = -EINVAL; in ipu_irq_unmap()
253 irq_map[i].bank = NULL; in ipu_irq_unmap()
333 ret = irq_set_chip_data(irq, irq_map + i); in ipu_irq_attach_irq()
336 irq_map[i].ipu = ipu; in ipu_irq_attach_irq()
337 irq_map[i].irq = irq; in ipu_irq_attach_irq()
338 irq_map[i].source = -EINVAL; in ipu_irq_attach_irq()