Lines Matching refs:n_words
39 unsigned int n_words; member
82 return (0 * intc->n_words + word) * sizeof(u32); in reg_status()
88 return (1 * intc->n_words + word) * sizeof(u32); in reg_mask_status()
94 return (2 * intc->n_words + word) * sizeof(u32); in reg_mask_set()
100 return (3 * intc->n_words + word) * sizeof(u32); in reg_mask_clr()
134 for (idx = 0; idx < intc->n_words; idx++) { in bcm7038_l1_irq_handle()
229 unsigned int i, n_words, parent_irq; in bcm7038_l1_init_one() local
235 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm7038_l1_init_one()
237 if (n_words > MAX_WORDS) in bcm7038_l1_init_one()
239 else if (!intc->n_words) in bcm7038_l1_init_one()
240 intc->n_words = n_words; in bcm7038_l1_init_one()
241 else if (intc->n_words != n_words) in bcm7038_l1_init_one()
245 intc->irq_fwd_mask, n_words); in bcm7038_l1_init_one()
252 cpu = intc->cpus[idx] = kzalloc(struct_size(cpu, mask_cache, n_words), in bcm7038_l1_init_one()
261 for (i = 0; i < n_words; i++) { in bcm7038_l1_init_one()
309 for (word = 0; word < intc->n_words; word++) { in bcm7038_l1_suspend()
333 for (word = 0; word < intc->n_words; word++) { in bcm7038_l1_resume()
419 intc->domain = irq_domain_add_linear(dn, IRQS_PER_WORD * intc->n_words, in bcm7038_l1_of_init()
438 dn, IRQS_PER_WORD * intc->n_words); in bcm7038_l1_of_init()