Lines Matching refs:cpic_reg
55 static cpic8xx_t __iomem *cpic_reg; variable
63 clrbits32(&cpic_reg->cpic_cimr, (1 << cpm_vec)); in cpm_mask_irq()
70 setbits32(&cpic_reg->cpic_cimr, (1 << cpm_vec)); in cpm_unmask_irq()
77 out_be32(&cpic_reg->cpic_cisr, (1 << cpm_vec)); in cpm_end_irq()
94 out_be16(&cpic_reg->cpic_civr, 1); in cpm_get_irq()
95 cpm_vec = in_be16(&cpic_reg->cpic_civr); in cpm_get_irq()
152 cpic_reg = ioremap(res.start, resource_size(&res)); in cpm_pic_init()
153 if (cpic_reg == NULL) in cpm_pic_init()
162 out_be32(&cpic_reg->cpic_cicr, in cpm_pic_init()
166 out_be32(&cpic_reg->cpic_cimr, 0); in cpm_pic_init()
191 setbits32(&cpic_reg->cpic_cicr, CICR_IEN); in cpm_pic_init()