Lines Matching refs:mask
13 unsigned int val, mask; in iomd_ack_irq_a() local
15 mask = 1 << d->irq; in iomd_ack_irq_a()
17 iomd_writeb(val & ~mask, IOMD_IRQMASKA); in iomd_ack_irq_a()
18 iomd_writeb(mask, IOMD_IRQCLRA); in iomd_ack_irq_a()
23 unsigned int val, mask; in iomd_mask_irq_a() local
25 mask = 1 << d->irq; in iomd_mask_irq_a()
27 iomd_writeb(val & ~mask, IOMD_IRQMASKA); in iomd_mask_irq_a()
32 unsigned int val, mask; in iomd_unmask_irq_a() local
34 mask = 1 << d->irq; in iomd_unmask_irq_a()
36 iomd_writeb(val | mask, IOMD_IRQMASKA); in iomd_unmask_irq_a()
47 unsigned int val, mask; in iomd_mask_irq_b() local
49 mask = 1 << (d->irq & 7); in iomd_mask_irq_b()
51 iomd_writeb(val & ~mask, IOMD_IRQMASKB); in iomd_mask_irq_b()
56 unsigned int val, mask; in iomd_unmask_irq_b() local
58 mask = 1 << (d->irq & 7); in iomd_unmask_irq_b()
60 iomd_writeb(val | mask, IOMD_IRQMASKB); in iomd_unmask_irq_b()
71 unsigned int val, mask; in iomd_mask_irq_dma() local
73 mask = 1 << (d->irq & 7); in iomd_mask_irq_dma()
75 iomd_writeb(val & ~mask, IOMD_DMAMASK); in iomd_mask_irq_dma()
80 unsigned int val, mask; in iomd_unmask_irq_dma() local
82 mask = 1 << (d->irq & 7); in iomd_unmask_irq_dma()
84 iomd_writeb(val | mask, IOMD_DMAMASK); in iomd_unmask_irq_dma()
95 unsigned int val, mask; in iomd_mask_irq_fiq() local
97 mask = 1 << (d->irq & 7); in iomd_mask_irq_fiq()
99 iomd_writeb(val & ~mask, IOMD_FIQMASK); in iomd_mask_irq_fiq()
104 unsigned int val, mask; in iomd_unmask_irq_fiq() local
106 mask = 1 << (d->irq & 7); in iomd_unmask_irq_fiq()
108 iomd_writeb(val | mask, IOMD_FIQMASK); in iomd_unmask_irq_fiq()