Lines Matching defs:mask
115 uint32_t val, mask, shift;
120 mask = (1 << (bytes * 8)) - 1;
122 mask = 0xffffffff;
125 val &= ~(mask << shift);
126 val |= ((data & mask) << shift);
138 uint32_t data, shift, mask;
143 /* Create a mask based on the width, post-shift */
145 mask = 0xffff;
147 mask = 0xff;
149 mask = 0xffffffff;
160 data = (data >> shift) & mask;
193 /* Update the interrupt mask reg */
214 /* Update the interrupt mask reg */
524 uint32_t reg, irq, mask;
530 mask = ATH_READ_REG(sc->sc_pci_ctrl_base + QCA955X_PCI_INTR_MASK);
535 reg &= mask;