Lines Matching refs:cpu
122 struct bcm7038_l1_cpu *cpu;
127 cpu = intc->cpus[cpu_logical_map(smp_processor_id())];
129 cpu = intc->cpus[0];
140 pending = l1_readl(cpu->map_base + reg_status(intc, idx)) &
141 ~cpu->mask_cache[idx];
228 struct bcm7038_l1_cpu *cpu;
252 cpu = intc->cpus[idx] = kzalloc(struct_size(cpu, mask_cache, n_words),
254 if (!cpu)
257 cpu->map_base = ioremap(res.start, sz);
258 if (!cpu->map_base)
263 cpu->map_base + reg_mask_set(intc, i));
265 cpu->map_base + reg_mask_clr(intc, i));
266 cpu->mask_cache[i] = ~intc->irq_fwd_mask[i];
301 /* Wakeup interrupt should only come from the boot cpu */
444 struct bcm7038_l1_cpu *cpu = intc->cpus[idx];
446 if (cpu) {
447 if (cpu->map_base)
448 iounmap(cpu->map_base);
449 kfree(cpu);