Lines Matching refs:n_words
77 unsigned int n_words; member
94 return (1 * intc->n_words - word - 1) * sizeof(u32); in reg_enable()
96 return (0 * intc->n_words + word) * sizeof(u32); in reg_enable()
104 return (2 * intc->n_words - word - 1) * sizeof(u32); in reg_status()
106 return (1 * intc->n_words + word) * sizeof(u32); in reg_status()
125 for (idx = 0; idx < intc->n_words; idx++) { in bcm6345_l1_irq_handle()
229 unsigned int i, n_words; in bcm6345_l1_init_one() local
234 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm6345_l1_init_one()
236 if (!intc->n_words) in bcm6345_l1_init_one()
237 intc->n_words = n_words; in bcm6345_l1_init_one()
238 else if (intc->n_words != n_words) in bcm6345_l1_init_one()
241 cpu = intc->cpus[idx] = kzalloc(struct_size(cpu, enable_cache, n_words), in bcm6345_l1_init_one()
254 for (i = 0; i < n_words; i++) { in bcm6345_l1_init_one()
319 intc->domain = irq_domain_add_linear(dn, IRQS_PER_WORD * intc->n_words, in bcm6345_l1_of_init()
328 IRQS_PER_WORD * intc->n_words); in bcm6345_l1_of_init()