Lines Matching refs:bit
43 void (*update_irq_hw)(unsigned long bit, unsigned long mask);
44 void (*ack_irq_hw)(unsigned long bit);
94 sable_update_irq_hw(unsigned long bit, unsigned long mask) in sable_update_irq_hw() argument
98 if (bit >= 16) { in sable_update_irq_hw()
101 } else if (bit >= 8) { in sable_update_irq_hw()
110 sable_ack_irq_hw(unsigned long bit) in sable_ack_irq_hw() argument
114 if (bit >= 16) { in sable_ack_irq_hw()
116 val1 = 0xE0 | (bit - 16); in sable_ack_irq_hw()
118 } else if (bit >= 8) { in sable_ack_irq_hw()
120 val1 = 0xE0 | (bit - 8); in sable_ack_irq_hw()
124 val1 = 0xE0 | (bit - 0); in sable_ack_irq_hw()
293 lynx_update_irq_hw(unsigned long bit, unsigned long mask) in lynx_update_irq_hw() argument
309 lynx_ack_irq_hw(unsigned long bit) in lynx_ack_irq_hw() argument
311 *(vulp)T2_VAR = (u_long) bit; in lynx_ack_irq_hw()
448 unsigned long bit, mask; in sable_lynx_enable_irq() local
450 bit = sable_lynx_irq_swizzle->irq_to_mask[d->irq]; in sable_lynx_enable_irq()
452 mask = sable_lynx_irq_swizzle->shadow_mask &= ~(1UL << bit); in sable_lynx_enable_irq()
453 sable_lynx_irq_swizzle->update_irq_hw(bit, mask); in sable_lynx_enable_irq()
457 __func__, mask, bit, irq); in sable_lynx_enable_irq()
464 unsigned long bit, mask; in sable_lynx_disable_irq() local
466 bit = sable_lynx_irq_swizzle->irq_to_mask[d->irq]; in sable_lynx_disable_irq()
468 mask = sable_lynx_irq_swizzle->shadow_mask |= 1UL << bit; in sable_lynx_disable_irq()
469 sable_lynx_irq_swizzle->update_irq_hw(bit, mask); in sable_lynx_disable_irq()
473 __func__, mask, bit, irq); in sable_lynx_disable_irq()
480 unsigned long bit, mask; in sable_lynx_mask_and_ack_irq() local
482 bit = sable_lynx_irq_swizzle->irq_to_mask[d->irq]; in sable_lynx_mask_and_ack_irq()
484 mask = sable_lynx_irq_swizzle->shadow_mask |= 1UL << bit; in sable_lynx_mask_and_ack_irq()
485 sable_lynx_irq_swizzle->update_irq_hw(bit, mask); in sable_lynx_mask_and_ack_irq()
486 sable_lynx_irq_swizzle->ack_irq_hw(bit); in sable_lynx_mask_and_ack_irq()
504 int bit, irq; in sable_lynx_srm_device_interrupt() local
506 bit = (vector - 0x800) >> 4; in sable_lynx_srm_device_interrupt()
507 irq = sable_lynx_irq_swizzle->mask_to_irq[bit]; in sable_lynx_srm_device_interrupt()
510 __func__, vector, bit, irq); in sable_lynx_srm_device_interrupt()