Lines Matching defs:bmp2
201 * @bmp2: The second bitmap to intersect wit the first
212 const ice_bitmap_t *bmp2, u16 size)
219 dst[i] = bmp1[i] & bmp2[i];
230 dst[i] = (dst[i] & ~mask) | ((bmp1[i] & bmp2[i]) & mask);
240 * @bmp2: The second bitmap to intersect wit the first
249 const ice_bitmap_t *bmp2, u16 size)
256 dst[i] = bmp1[i] | bmp2[i];
264 dst[i] = (dst[i] & ~mask) | ((bmp1[i] | bmp2[i]) & mask);
271 * @bmp2: The second bitmap to XOR with the first
280 const ice_bitmap_t *bmp2, u16 size)
287 dst[i] = bmp1[i] ^ bmp2[i];
295 dst[i] = (dst[i] & ~mask) | ((bmp1[i] ^ bmp2[i]) & mask);
302 * @bmp2: The second bitmap to ANDNOT operation
311 const ice_bitmap_t *bmp2, u16 size)
318 dst[i] = bmp1[i] & ~bmp2[i];
326 dst[i] = (dst[i] & ~mask) | ((bmp1[i] & ~bmp2[i]) & mask);
465 * @bmp2: the bitmap to compare with bmp1
471 ice_cmp_bitmap(ice_bitmap_t *bmp1, ice_bitmap_t *bmp2, u16 size)
478 if (bmp1[i] != bmp2[i])
483 if ((bmp1[i] & mask) != (bmp2[i] & mask))