Lines Matching refs:n_words
78 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()
131 for (idx = 0; idx < intc->n_words; idx++) { in bcm6345_l1_irq_handle()
239 unsigned int i, n_words; in bcm6345_l1_init_one() local
244 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm6345_l1_init_one()
246 if (!intc->n_words) in bcm6345_l1_init_one()
247 intc->n_words = n_words; in bcm6345_l1_init_one()
248 else if (intc->n_words != n_words) in bcm6345_l1_init_one()
251 cpu = intc->cpus[idx] = kzalloc(sizeof(*cpu) + n_words * sizeof(u32), in bcm6345_l1_init_one()
260 for (i = 0; i < n_words; i++) { in bcm6345_l1_init_one()
325 intc->domain = irq_domain_add_linear(dn, IRQS_PER_WORD * intc->n_words, in bcm6345_l1_of_init()
334 IRQS_PER_WORD * intc->n_words); in bcm6345_l1_of_init()