Lines Matching refs:word
80 unsigned int word) in reg_status() argument
82 return (0 * intc->n_words + word) * sizeof(u32); in reg_status()
86 unsigned int word) in reg_mask_status() argument
88 return (1 * intc->n_words + word) * sizeof(u32); in reg_mask_status()
92 unsigned int word) in reg_mask_set() argument
94 return (2 * intc->n_words + word) * sizeof(u32); in reg_mask_set()
98 unsigned int word) in reg_mask_clr() argument
100 return (3 * intc->n_words + word) * sizeof(u32); in reg_mask_clr()
154 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm7038_l1_unmask() local
157 intc->cpus[cpu_idx]->mask_cache[word] &= ~mask; in __bcm7038_l1_unmask()
159 reg_mask_clr(intc, word)); in __bcm7038_l1_unmask()
165 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm7038_l1_mask() local
168 intc->cpus[cpu_idx]->mask_cache[word] |= mask; in __bcm7038_l1_mask()
170 reg_mask_set(intc, word)); in __bcm7038_l1_mask()
201 u32 word = hw / IRQS_PER_WORD; in bcm7038_l1_set_affinity() local
208 was_disabled = !!(intc->cpus[intc->affinity[hw]]->mask_cache[word] & in bcm7038_l1_set_affinity()
298 int boot_cpu, word; in bcm7038_l1_suspend() local
309 for (word = 0; word < intc->n_words; word++) { in bcm7038_l1_suspend()
310 val = intc->wake_mask[word] | intc->irq_fwd_mask[word]; in bcm7038_l1_suspend()
312 intc->cpus[boot_cpu]->map_base + reg_mask_set(intc, word)); in bcm7038_l1_suspend()
314 intc->cpus[boot_cpu]->map_base + reg_mask_clr(intc, word)); in bcm7038_l1_suspend()
324 int boot_cpu, word; in bcm7038_l1_resume() local
333 for (word = 0; word < intc->n_words; word++) { in bcm7038_l1_resume()
334 l1_writel(intc->cpus[boot_cpu]->mask_cache[word], in bcm7038_l1_resume()
335 intc->cpus[boot_cpu]->map_base + reg_mask_set(intc, word)); in bcm7038_l1_resume()
336 l1_writel(~intc->cpus[boot_cpu]->mask_cache[word], in bcm7038_l1_resume()
337 intc->cpus[boot_cpu]->map_base + reg_mask_clr(intc, word)); in bcm7038_l1_resume()
351 u32 word = d->hwirq / IRQS_PER_WORD; in bcm7038_l1_set_wake() local
356 intc->wake_mask[word] |= mask; in bcm7038_l1_set_wake()
358 intc->wake_mask[word] &= ~mask; in bcm7038_l1_set_wake()
382 u32 word = hw_irq / IRQS_PER_WORD; in bcm7038_l1_map() local
384 if (intc->irq_fwd_mask[word] & mask) in bcm7038_l1_map()