Lines Matching defs:mask
98 uint32_t val, mask, shift;
103 mask = (1 << (bytes * 8)) - 1;
105 mask = 0xffffffff;
108 val &= ~(mask << shift);
109 val |= ((data & mask) << shift);
120 uint32_t data, shift, mask;
125 /* Create a mask based on the width, post-shift */
127 mask = 0xffff;
129 mask = 0xff;
131 mask = 0xffffffff;
142 data = (data >> shift) & mask;
188 /* Update the interrupt mask reg */
209 /* Update the interrupt mask reg */
586 uint32_t reg, irq, mask;
590 mask = ATH_READ_REG(AR724X_PCI_INTR_MASK);
594 reg &= mask;