Lines Matching refs:idx
124 unsigned int idx; in bcm7038_l1_irq_handle() local
134 for (idx = 0; idx < intc->n_words; idx++) { in bcm7038_l1_irq_handle()
135 int base = idx * IRQS_PER_WORD; in bcm7038_l1_irq_handle()
140 pending = l1_readl(cpu->map_base + reg_status(intc, idx)) & in bcm7038_l1_irq_handle()
141 ~cpu->mask_cache[idx]; in bcm7038_l1_irq_handle()
221 unsigned int idx, in bcm7038_l1_init_one() argument
229 if (of_address_to_resource(dn, idx, &res)) in bcm7038_l1_init_one()
241 cpu = intc->cpus[idx] = kzalloc(sizeof(*cpu) + n_words * sizeof(u32), in bcm7038_l1_init_one()
255 parent_irq = irq_of_parse_and_map(dn, idx); in bcm7038_l1_init_one()
290 int idx, ret; in bcm7038_l1_of_init() local
297 for_each_possible_cpu(idx) { in bcm7038_l1_of_init()
298 ret = bcm7038_l1_init_one(dn, idx, intc); in bcm7038_l1_of_init()
300 if (idx) in bcm7038_l1_of_init()
321 for_each_possible_cpu(idx) { in bcm7038_l1_of_init()
322 struct bcm7038_l1_cpu *cpu = intc->cpus[idx]; in bcm7038_l1_of_init()