Lines Matching refs:n_words
81 unsigned int n_words; member
97 return (1 * intc->n_words - word - 1) * sizeof(u32); in reg_enable()
99 return (0 * intc->n_words + word) * sizeof(u32); in reg_enable()
107 return (2 * intc->n_words - word - 1) * sizeof(u32); in reg_status()
109 return (1 * intc->n_words + word) * sizeof(u32); in reg_status()
134 for (idx = 0; idx < intc->n_words; idx++) { in bcm6345_l1_irq_handle()
246 unsigned int i, n_words; in bcm6345_l1_init_one() local
251 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm6345_l1_init_one()
253 if (!intc->n_words) in bcm6345_l1_init_one()
254 intc->n_words = n_words; in bcm6345_l1_init_one()
255 else if (intc->n_words != n_words) in bcm6345_l1_init_one()
258 cpu = intc->cpus[idx] = kzalloc(sizeof(*cpu) + n_words * sizeof(u32), in bcm6345_l1_init_one()
267 for (i = 0; i < n_words; i++) { in bcm6345_l1_init_one()
332 intc->domain = irq_domain_add_linear(dn, IRQS_PER_WORD * intc->n_words, in bcm6345_l1_of_init()
341 IRQS_PER_WORD * intc->n_words); in bcm6345_l1_of_init()