Lines Matching full:bank
72 struct ipu_irq_bank *bank; member
96 struct ipu_irq_bank *bank; in ipu_irq_unmask() local
102 bank = map->bank; in ipu_irq_unmask()
103 if (!bank) { in ipu_irq_unmask()
109 reg = ipu_read_reg(bank->ipu, bank->control); in ipu_irq_unmask()
111 ipu_write_reg(bank->ipu, reg, bank->control); in ipu_irq_unmask()
119 struct ipu_irq_bank *bank; in ipu_irq_mask() local
125 bank = map->bank; in ipu_irq_mask()
126 if (!bank) { in ipu_irq_mask()
132 reg = ipu_read_reg(bank->ipu, bank->control); in ipu_irq_mask()
134 ipu_write_reg(bank->ipu, reg, bank->control); in ipu_irq_mask()
142 struct ipu_irq_bank *bank; in ipu_irq_ack() local
147 bank = map->bank; in ipu_irq_ack()
148 if (!bank) { in ipu_irq_ack()
154 ipu_write_reg(bank->ipu, 1UL << (map->source & 31), bank->status); in ipu_irq_ack()
167 struct ipu_irq_bank *bank; in ipu_irq_status() local
172 bank = map->bank; in ipu_irq_status()
173 ret = bank && ipu_read_reg(bank->ipu, bank->status) & in ipu_irq_status()
214 irq_map[i].bank = irq_bank + source / 32; in ipu_irq_map()
253 irq_map[i].bank = NULL; in ipu_irq_unmap()
273 struct ipu_irq_bank *bank = irq_bank + i; in ipu_irq_handler() local
276 status = ipu_read_reg(ipu, bank->status); in ipu_irq_handler()
282 status &= ipu_read_reg(ipu, bank->control); in ipu_irq_handler()
295 pr_err("IPU: Interrupt on unmapped source %u bank %d\n", in ipu_irq_handler()