Lines Matching refs:bits
208 int irq, bits; in gatwick_action() local
214 bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i]; in gatwick_action()
215 bits |= in_le32(&pmac_irq_hw[i]->level); in gatwick_action()
216 bits &= ppc_cached_irq_mask[i]; in gatwick_action()
217 if (bits == 0) in gatwick_action()
219 irq += __ilog2(bits); in gatwick_action()
232 unsigned long bits = 0; in pmac_pic_get_irq() local
244 bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i]; in pmac_pic_get_irq()
245 bits |= in_le32(&pmac_irq_hw[i]->level); in pmac_pic_get_irq()
246 bits &= ppc_cached_irq_mask[i]; in pmac_pic_get_irq()
247 if (bits == 0) in pmac_pic_get_irq()
249 irq += __ilog2(bits); in pmac_pic_get_irq()