Lines Matching refs:source
74 int source; member
90 if (irq_map[i].source == src) in src2map()
113 reg |= (1UL << (map->source & 31)); in ipu_irq_unmask()
136 reg &= ~(1UL << (map->source & 31)); in ipu_irq_mask()
157 ipu_write_reg(bank->ipu, 1UL << (map->source & 31), bank->status); in ipu_irq_ack()
177 (1UL << (map->source & 31)); in ipu_irq_status()
196 int ipu_irq_map(unsigned int source) in ipu_irq_map() argument
204 map = src2map(source); in ipu_irq_map()
206 pr_err("IPU: Source %u already mapped to IRQ %u\n", source, map->irq); in ipu_irq_map()
212 if (irq_map[i].source < 0) { in ipu_irq_map()
216 irq_map[i].source = source; in ipu_irq_map()
217 irq_map[i].bank = irq_bank + source / 32; in ipu_irq_map()
222 source, ret); in ipu_irq_map()
230 pr_err("IPU: couldn't map source %u: %d\n", source, ret); in ipu_irq_map()
240 int ipu_irq_unmap(unsigned int source) in ipu_irq_unmap() argument
248 if (irq_map[i].source == source) { in ipu_irq_unmap()
252 source, irq_map[i].irq); in ipu_irq_unmap()
255 irq_map[i].source = -EINVAL; in ipu_irq_unmap()
341 irq_map[i].source = -EINVAL; in ipu_irq_attach_irq()