Lines Matching refs:ipic_info
36 static struct ipic_info ipic_info[] = { variable
532 temp = ipic_read(ipic->regs, ipic_info[src].mask); in ipic_unmask_irq()
533 temp |= (1 << (31 - ipic_info[src].bit)); in ipic_unmask_irq()
534 ipic_write(ipic->regs, ipic_info[src].mask, temp); in ipic_unmask_irq()
548 temp = ipic_read(ipic->regs, ipic_info[src].mask); in ipic_mask_irq()
549 temp &= ~(1 << (31 - ipic_info[src].bit)); in ipic_mask_irq()
550 ipic_write(ipic->regs, ipic_info[src].mask, temp); in ipic_mask_irq()
568 temp = 1 << (31 - ipic_info[src].bit); in ipic_ack_irq()
569 ipic_write(ipic->regs, ipic_info[src].ack, temp); in ipic_ack_irq()
587 temp = ipic_read(ipic->regs, ipic_info[src].mask); in ipic_mask_irq_and_ack()
588 temp &= ~(1 << (31 - ipic_info[src].bit)); in ipic_mask_irq_and_ack()
589 ipic_write(ipic->regs, ipic_info[src].mask, temp); in ipic_mask_irq_and_ack()
591 temp = 1 << (31 - ipic_info[src].bit); in ipic_mask_irq_and_ack()
592 ipic_write(ipic->regs, ipic_info[src].ack, temp); in ipic_mask_irq_and_ack()
618 if ((flow_type & IRQ_TYPE_EDGE_FALLING) && !ipic_info[src].ack) { in ipic_set_irq_type()
783 if (ipic_info[src].prio == 0) in ipic_set_priority()
786 temp = ipic_read(ipic->regs, ipic_info[src].prio); in ipic_set_priority()
790 temp |= ipic_info[src].prio_mask << (20 + (3 - priority) * 3); in ipic_set_priority()
793 temp |= ipic_info[src].prio_mask << (4 + (7 - priority) * 3); in ipic_set_priority()
796 ipic_write(ipic->regs, ipic_info[src].prio, temp); in ipic_set_priority()