Lines Matching refs:idx
123 unsigned int idx; in bcm7038_l1_irq_handle() local
133 for (idx = 0; idx < intc->n_words; idx++) { in bcm7038_l1_irq_handle()
134 int base = idx * IRQS_PER_WORD; in bcm7038_l1_irq_handle()
139 pending = l1_readl(cpu->map_base + reg_status(intc, idx)) & in bcm7038_l1_irq_handle()
140 ~cpu->mask_cache[idx]; in bcm7038_l1_irq_handle()
220 unsigned int idx, in bcm7038_l1_init_one() argument
228 if (of_address_to_resource(dn, idx, &res)) in bcm7038_l1_init_one()
240 cpu = intc->cpus[idx] = kzalloc(sizeof(*cpu) + n_words * sizeof(u32), in bcm7038_l1_init_one()
254 parent_irq = irq_of_parse_and_map(dn, idx); in bcm7038_l1_init_one()
289 int idx, ret; in bcm7038_l1_of_init() local
296 for_each_possible_cpu(idx) { in bcm7038_l1_of_init()
297 ret = bcm7038_l1_init_one(dn, idx, intc); in bcm7038_l1_of_init()
299 if (idx) in bcm7038_l1_of_init()
320 for_each_possible_cpu(idx) { in bcm7038_l1_of_init()
321 struct bcm7038_l1_cpu *cpu = intc->cpus[idx]; in bcm7038_l1_of_init()