Lines Matching refs:iic
36 struct iic {
44 static DEFINE_PER_CPU(struct iic, cpu_iic);
72 struct iic *iic = this_cpu_ptr(&cpu_iic);
73 out_be64(&iic->regs->prio, iic->eoi_stack[--iic->eoi_ptr]);
74 BUG_ON(iic->eoi_ptr < 0);
136 struct iic *iic;
139 iic = this_cpu_ptr(&cpu_iic);
141 in_be64((u64 __iomem *) &iic->regs->pending_destr);
147 iic->eoi_stack[++iic->eoi_ptr] = pending.prio;
148 BUG_ON(iic->eoi_ptr > 15);
184 "iic: failed to map IPI %s\n", smp_ipi_name[msg]);
265 /* Dummy flags, ignored by iic code */
283 struct iic *iic = &per_cpu(cpu_iic, hw_cpu);
285 iic->regs = ioremap(addr, sizeof(struct cbe_iic_thread_regs));
286 BUG_ON(iic->regs == NULL);
288 iic->target_id = ((hw_cpu & 2) << 3) | ((hw_cpu & 1) ? 0xf : 0xe);
289 iic->eoi_stack[0] = 0xff;
290 iic->node = of_node_get(node);
291 out_be64(&iic->regs->prio, 0);
294 hw_cpu, iic->target_id, node);