Lines Matching defs:mask
539 int mask, ret, old, new, shift;
541 u32 old, u32 new, u32 mask);
575 mask = 0xffffffff;
577 mask = 0xffff << shift;
579 mask = 0xff << shift;
585 new = old & (~mask | ~behavior[reg / 4].rw);
588 new |= (value << shift) & (behavior[reg / 4].rw & mask);
591 new &= ~((value << shift) & (behavior[reg / 4].w1c & mask));
593 new = old & ~mask;
594 new |= (value << shift) & mask;
604 * Clear the W1C bits not specified by the write mask, so that the
607 new &= ~(behavior[reg / 4].w1c & ~mask);
610 * Set the W1C bits specified by the write mask, so that write_op()
613 new |= (value << shift) & (behavior[reg / 4].w1c & mask);
617 write_op(bridge, reg, old, new, mask);