Lines Matching refs:n_words
43 unsigned int n_words; member
81 return (0 * intc->n_words + word) * sizeof(u32); in reg_status()
87 return (1 * intc->n_words + word) * sizeof(u32); in reg_mask_status()
93 return (2 * intc->n_words + word) * sizeof(u32); in reg_mask_set()
99 return (3 * intc->n_words + word) * sizeof(u32); in reg_mask_clr()
133 for (idx = 0; idx < intc->n_words; idx++) { in bcm7038_l1_irq_handle()
226 unsigned int i, n_words, parent_irq; in bcm7038_l1_init_one() local
231 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm7038_l1_init_one()
233 if (n_words > MAX_WORDS) in bcm7038_l1_init_one()
235 else if (!intc->n_words) in bcm7038_l1_init_one()
236 intc->n_words = n_words; in bcm7038_l1_init_one()
237 else if (intc->n_words != n_words) in bcm7038_l1_init_one()
240 cpu = intc->cpus[idx] = kzalloc(sizeof(*cpu) + n_words * sizeof(u32), in bcm7038_l1_init_one()
249 for (i = 0; i < n_words; i++) { in bcm7038_l1_init_one()
306 intc->domain = irq_domain_add_linear(dn, IRQS_PER_WORD * intc->n_words, in bcm7038_l1_of_init()
315 intc->cpus[0]->map_base, IRQS_PER_WORD * intc->n_words); in bcm7038_l1_of_init()