Lines Matching refs:mmp_icu_base
60 static void __iomem *mmp_icu_base; variable
76 r = readl_relaxed(mmp_icu_base + (hwirq << 2)); in icu_mask_ack_irq()
79 writel_relaxed(r, mmp_icu_base + (hwirq << 2)); in icu_mask_ack_irq()
100 r = readl_relaxed(mmp_icu_base + (hwirq << 2)); in icu_mask_irq()
103 writel_relaxed(r, mmp_icu_base + (hwirq << 2)); in icu_mask_irq()
129 r = readl_relaxed(mmp_icu_base + (hwirq << 2)); in icu_unmask_irq()
132 writel_relaxed(r, mmp_icu_base + (hwirq << 2)); in icu_unmask_irq()
229 hwirq = readl_relaxed(mmp_icu_base + PJ1_INT_SEL); in mmp_handle_irq()
240 hwirq = readl_relaxed(mmp_icu_base + PJ4_INT_SEL); in mmp2_handle_irq()
253 mmp_icu_base = ioremap(0xd4282000, 0x1000); in icu_init_irq()
276 mmp_icu_base = ioremap(0xd4282000, 0x1000); in mmp2_init_icu()
285 icu_data[1].reg_status = mmp_icu_base + 0x150; in mmp2_init_icu()
286 icu_data[1].reg_mask = mmp_icu_base + 0x168; in mmp2_init_icu()
297 icu_data[2].reg_status = mmp_icu_base + 0x154; in mmp2_init_icu()
298 icu_data[2].reg_mask = mmp_icu_base + 0x16c; in mmp2_init_icu()
306 icu_data[3].reg_status = mmp_icu_base + 0x180; in mmp2_init_icu()
307 icu_data[3].reg_mask = mmp_icu_base + 0x17c; in mmp2_init_icu()
315 icu_data[4].reg_status = mmp_icu_base + 0x158; in mmp2_init_icu()
316 icu_data[4].reg_mask = mmp_icu_base + 0x170; in mmp2_init_icu()
324 icu_data[5].reg_status = mmp_icu_base + 0x15c; in mmp2_init_icu()
325 icu_data[5].reg_mask = mmp_icu_base + 0x174; in mmp2_init_icu()
333 icu_data[6].reg_status = mmp_icu_base + 0x160; in mmp2_init_icu()
334 icu_data[6].reg_mask = mmp_icu_base + 0x178; in mmp2_init_icu()
342 icu_data[7].reg_status = mmp_icu_base + 0x188; in mmp2_init_icu()
343 icu_data[7].reg_mask = mmp_icu_base + 0x184; in mmp2_init_icu()
383 mmp_icu_base = of_iomap(node, 0); in mmp_init_bases()
384 if (!mmp_icu_base) { in mmp_init_bases()
410 iounmap(mmp_icu_base); in mmp_init_bases()
513 icu_data[i].reg_status = mmp_icu_base + reg[0]; in mmp2_mux_of_init()
514 icu_data[i].reg_mask = mmp_icu_base + reg[2]; in mmp2_mux_of_init()