Lines Matching refs:bit

42 	void (*update_irq_hw)(unsigned long bit, unsigned long mask);
43 void (*ack_irq_hw)(unsigned long bit);
93 sable_update_irq_hw(unsigned long bit, unsigned long mask) in sable_update_irq_hw() argument
97 if (bit >= 16) { in sable_update_irq_hw()
100 } else if (bit >= 8) { in sable_update_irq_hw()
109 sable_ack_irq_hw(unsigned long bit) in sable_ack_irq_hw() argument
113 if (bit >= 16) { in sable_ack_irq_hw()
115 val1 = 0xE0 | (bit - 16); in sable_ack_irq_hw()
117 } else if (bit >= 8) { in sable_ack_irq_hw()
119 val1 = 0xE0 | (bit - 8); in sable_ack_irq_hw()
123 val1 = 0xE0 | (bit - 0); in sable_ack_irq_hw()
221 unsigned long bit, mask; in sable_lynx_enable_irq() local
223 bit = sable_lynx_irq_swizzle->irq_to_mask[d->irq]; in sable_lynx_enable_irq()
225 mask = sable_lynx_irq_swizzle->shadow_mask &= ~(1UL << bit); in sable_lynx_enable_irq()
226 sable_lynx_irq_swizzle->update_irq_hw(bit, mask); in sable_lynx_enable_irq()
230 __func__, mask, bit, irq); in sable_lynx_enable_irq()
237 unsigned long bit, mask; in sable_lynx_disable_irq() local
239 bit = sable_lynx_irq_swizzle->irq_to_mask[d->irq]; in sable_lynx_disable_irq()
241 mask = sable_lynx_irq_swizzle->shadow_mask |= 1UL << bit; in sable_lynx_disable_irq()
242 sable_lynx_irq_swizzle->update_irq_hw(bit, mask); in sable_lynx_disable_irq()
246 __func__, mask, bit, irq); in sable_lynx_disable_irq()
253 unsigned long bit, mask; in sable_lynx_mask_and_ack_irq() local
255 bit = sable_lynx_irq_swizzle->irq_to_mask[d->irq]; in sable_lynx_mask_and_ack_irq()
257 mask = sable_lynx_irq_swizzle->shadow_mask |= 1UL << bit; in sable_lynx_mask_and_ack_irq()
258 sable_lynx_irq_swizzle->update_irq_hw(bit, mask); in sable_lynx_mask_and_ack_irq()
259 sable_lynx_irq_swizzle->ack_irq_hw(bit); in sable_lynx_mask_and_ack_irq()
277 int bit, irq; in sable_lynx_srm_device_interrupt() local
279 bit = (vector - 0x800) >> 4; in sable_lynx_srm_device_interrupt()
280 irq = sable_lynx_irq_swizzle->mask_to_irq[bit]; in sable_lynx_srm_device_interrupt()
283 __func__, vector, bit, irq); in sable_lynx_srm_device_interrupt()