Lines Matching refs:iic
37 struct iic {
45 static DEFINE_PER_CPU(struct iic, cpu_iic);
73 struct iic *iic = this_cpu_ptr(&cpu_iic);
74 out_be64(&iic->regs->prio, iic->eoi_stack[--iic->eoi_ptr]);
75 BUG_ON(iic->eoi_ptr < 0);
133 struct iic *iic;
136 iic = this_cpu_ptr(&cpu_iic);
138 in_be64((u64 __iomem *) &iic->regs->pending_destr);
144 iic->eoi_stack[++iic->eoi_ptr] = pending.prio;
145 BUG_ON(iic->eoi_ptr > 15);
181 "iic: failed to map IPI %s\n", smp_ipi_name[msg]);
262 /* Dummy flags, ignored by iic code */
280 struct iic *iic = &per_cpu(cpu_iic, hw_cpu);
282 iic->regs = ioremap(addr, sizeof(struct cbe_iic_thread_regs));
283 BUG_ON(iic->regs == NULL);
285 iic->target_id = ((hw_cpu & 2) << 3) | ((hw_cpu & 1) ? 0xf : 0xe);
286 iic->eoi_stack[0] = 0xff;
287 iic->node = of_node_get(node);
288 out_be64(&iic->regs->prio, 0);
291 hw_cpu, iic->target_id, node);