Lines Matching refs:n_words
78 unsigned int n_words; member
95 return (1 * intc->n_words - word - 1) * sizeof(u32); in reg_enable()
97 return (0 * intc->n_words + word) * sizeof(u32); in reg_enable()
105 return (2 * intc->n_words - word - 1) * sizeof(u32); in reg_status()
107 return (1 * intc->n_words + word) * sizeof(u32); in reg_status()
126 for (idx = 0; idx < intc->n_words; idx++) { in bcm6345_l1_irq_handle()
238 unsigned int i, n_words; in bcm6345_l1_init_one() local
243 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm6345_l1_init_one()
245 if (!intc->n_words) in bcm6345_l1_init_one()
246 intc->n_words = n_words; in bcm6345_l1_init_one()
247 else if (intc->n_words != n_words) in bcm6345_l1_init_one()
250 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()