Lines Matching refs:n_words
44 unsigned int n_words; member
82 return (0 * intc->n_words + word) * sizeof(u32); in reg_status()
88 return (1 * intc->n_words + word) * sizeof(u32); in reg_mask_status()
94 return (2 * intc->n_words + word) * sizeof(u32); in reg_mask_set()
100 return (3 * intc->n_words + word) * sizeof(u32); in reg_mask_clr()
134 for (idx = 0; idx < intc->n_words; idx++) { in bcm7038_l1_irq_handle()
227 unsigned int i, n_words, parent_irq; in bcm7038_l1_init_one() local
232 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm7038_l1_init_one()
234 if (n_words > MAX_WORDS) in bcm7038_l1_init_one()
236 else if (!intc->n_words) in bcm7038_l1_init_one()
237 intc->n_words = n_words; in bcm7038_l1_init_one()
238 else if (intc->n_words != n_words) in bcm7038_l1_init_one()
241 cpu = intc->cpus[idx] = kzalloc(sizeof(*cpu) + n_words * sizeof(u32), in bcm7038_l1_init_one()
250 for (i = 0; i < n_words; i++) { in bcm7038_l1_init_one()
307 intc->domain = irq_domain_add_linear(dn, IRQS_PER_WORD * intc->n_words, in bcm7038_l1_of_init()
316 intc->cpus[0]->map_base, IRQS_PER_WORD * intc->n_words); in bcm7038_l1_of_init()