Lines Matching refs:n_words
40 unsigned int n_words; member
83 return (0 * intc->n_words + word) * sizeof(u32); in reg_status()
89 return (1 * intc->n_words + word) * sizeof(u32); in reg_mask_status()
95 return (2 * intc->n_words + word) * sizeof(u32); in reg_mask_set()
101 return (3 * intc->n_words + word) * sizeof(u32); in reg_mask_clr()
135 for (idx = 0; idx < intc->n_words; idx++) { in bcm7038_l1_irq_handle()
230 unsigned int i, n_words, parent_irq; in bcm7038_l1_init_one() local
236 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm7038_l1_init_one()
238 if (n_words > MAX_WORDS) in bcm7038_l1_init_one()
240 else if (!intc->n_words) in bcm7038_l1_init_one()
241 intc->n_words = n_words; in bcm7038_l1_init_one()
242 else if (intc->n_words != n_words) in bcm7038_l1_init_one()
246 intc->irq_fwd_mask, n_words); in bcm7038_l1_init_one()
253 cpu = intc->cpus[idx] = kzalloc(sizeof(*cpu) + n_words * sizeof(u32), in bcm7038_l1_init_one()
262 for (i = 0; i < n_words; i++) { in bcm7038_l1_init_one()
310 for (word = 0; word < intc->n_words; word++) { in bcm7038_l1_suspend()
334 for (word = 0; word < intc->n_words; word++) { in bcm7038_l1_resume()
420 intc->domain = irq_domain_add_linear(dn, IRQS_PER_WORD * intc->n_words, in bcm7038_l1_of_init()
439 dn, IRQS_PER_WORD * intc->n_words); in bcm7038_l1_of_init()