Lines Matching refs:word
81 unsigned int word) in reg_status() argument
83 return (0 * intc->n_words + word) * sizeof(u32); in reg_status()
87 unsigned int word) in reg_mask_status() argument
89 return (1 * intc->n_words + word) * sizeof(u32); in reg_mask_status()
93 unsigned int word) in reg_mask_set() argument
95 return (2 * intc->n_words + word) * sizeof(u32); in reg_mask_set()
99 unsigned int word) in reg_mask_clr() argument
101 return (3 * intc->n_words + word) * sizeof(u32); in reg_mask_clr()
155 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm7038_l1_unmask() local
158 intc->cpus[cpu_idx]->mask_cache[word] &= ~mask; in __bcm7038_l1_unmask()
160 reg_mask_clr(intc, word)); in __bcm7038_l1_unmask()
166 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm7038_l1_mask() local
169 intc->cpus[cpu_idx]->mask_cache[word] |= mask; in __bcm7038_l1_mask()
171 reg_mask_set(intc, word)); in __bcm7038_l1_mask()
202 u32 word = hw / IRQS_PER_WORD; in bcm7038_l1_set_affinity() local
209 was_disabled = !!(intc->cpus[intc->affinity[hw]]->mask_cache[word] & in bcm7038_l1_set_affinity()
299 int boot_cpu, word; in bcm7038_l1_suspend() local
310 for (word = 0; word < intc->n_words; word++) { in bcm7038_l1_suspend()
311 val = intc->wake_mask[word] | intc->irq_fwd_mask[word]; in bcm7038_l1_suspend()
313 intc->cpus[boot_cpu]->map_base + reg_mask_set(intc, word)); in bcm7038_l1_suspend()
315 intc->cpus[boot_cpu]->map_base + reg_mask_clr(intc, word)); in bcm7038_l1_suspend()
325 int boot_cpu, word; in bcm7038_l1_resume() local
334 for (word = 0; word < intc->n_words; word++) { in bcm7038_l1_resume()
335 l1_writel(intc->cpus[boot_cpu]->mask_cache[word], in bcm7038_l1_resume()
336 intc->cpus[boot_cpu]->map_base + reg_mask_set(intc, word)); in bcm7038_l1_resume()
337 l1_writel(~intc->cpus[boot_cpu]->mask_cache[word], in bcm7038_l1_resume()
338 intc->cpus[boot_cpu]->map_base + reg_mask_clr(intc, word)); in bcm7038_l1_resume()
352 u32 word = d->hwirq / IRQS_PER_WORD; in bcm7038_l1_set_wake() local
357 intc->wake_mask[word] |= mask; in bcm7038_l1_set_wake()
359 intc->wake_mask[word] &= ~mask; in bcm7038_l1_set_wake()
383 u32 word = hw_irq / IRQS_PER_WORD; in bcm7038_l1_map() local
385 if (intc->irq_fwd_mask[word] & mask) in bcm7038_l1_map()