Lines Matching refs:mask
14 comp(unsigned long a, unsigned long b, unsigned long mask) in comp() argument
16 return ((a ^ b) & mask) ^ b; in comp()
103 u32 mask; in fb_shifted_pixels_mask_u32() local
106 mask = FB_SHIFT_HIGH(p, ~(u32)0, index); in fb_shifted_pixels_mask_u32()
108 mask = 0xff << FB_LEFT_POS(p, 8); in fb_shifted_pixels_mask_u32()
109 mask = FB_SHIFT_LOW(p, mask, index & (bswapmask)) & mask; in fb_shifted_pixels_mask_u32()
110 mask = FB_SHIFT_HIGH(p, mask, index & ~(bswapmask)); in fb_shifted_pixels_mask_u32()
115 mask |= FB_SHIFT_HIGH(p, ~(u32)0, in fb_shifted_pixels_mask_u32()
118 return mask; in fb_shifted_pixels_mask_u32()
125 unsigned long mask; in fb_shifted_pixels_mask_long() local
128 mask = FB_SHIFT_HIGH(p, ~0UL, index); in fb_shifted_pixels_mask_long()
130 mask = 0xff << FB_LEFT_POS(p, 8); in fb_shifted_pixels_mask_long()
131 mask = FB_SHIFT_LOW(p, mask, index & (bswapmask)) & mask; in fb_shifted_pixels_mask_long()
132 mask = FB_SHIFT_HIGH(p, mask, index & ~(bswapmask)); in fb_shifted_pixels_mask_long()
137 mask |= FB_SHIFT_HIGH(p, ~0UL, in fb_shifted_pixels_mask_long()
140 return mask; in fb_shifted_pixels_mask_long()