Lines Matching refs:primary_ipic
29 static struct ipic * primary_ipic; variable
518 return primary_ipic; in ipic_from_irq()
759 primary_ipic = ipic; in ipic_init()
760 irq_set_default_host(primary_ipic->irqhost); in ipic_init()
766 primary_ipic->regs); in ipic_init()
773 ipic_write(primary_ipic->regs, IPIC_SIPRR_A, IPIC_PRIORITY_DEFAULT); in ipic_set_default_priority()
774 ipic_write(primary_ipic->regs, IPIC_SIPRR_B, IPIC_PRIORITY_DEFAULT); in ipic_set_default_priority()
775 ipic_write(primary_ipic->regs, IPIC_SIPRR_C, IPIC_PRIORITY_DEFAULT); in ipic_set_default_priority()
776 ipic_write(primary_ipic->regs, IPIC_SIPRR_D, IPIC_PRIORITY_DEFAULT); in ipic_set_default_priority()
777 ipic_write(primary_ipic->regs, IPIC_SMPRR_A, IPIC_PRIORITY_DEFAULT); in ipic_set_default_priority()
778 ipic_write(primary_ipic->regs, IPIC_SMPRR_B, IPIC_PRIORITY_DEFAULT); in ipic_set_default_priority()
783 return primary_ipic ? ipic_read(primary_ipic->regs, IPIC_SERSR) : 0; in ipic_get_mcp_status()
788 ipic_write(primary_ipic->regs, IPIC_SERSR, mask); in ipic_clear_mcp_status()
796 BUG_ON(primary_ipic == NULL); in ipic_get_irq()
799 irq = ipic_read(primary_ipic->regs, IPIC_SIVCR) & IPIC_SIVCR_VECTOR_MASK; in ipic_get_irq()
804 return irq_linear_revmap(primary_ipic->irqhost, irq); in ipic_get_irq()
822 struct ipic *ipic = primary_ipic; in ipic_suspend()
853 struct ipic *ipic = primary_ipic; in ipic_resume()
880 if (!primary_ipic || !primary_ipic->regs) in init_ipic_syscore()