Lines Matching defs:bmp1
200 * @bmp1: The first bitmap to intersect
211 ice_and_bitmap(ice_bitmap_t *dst, const ice_bitmap_t *bmp1,
219 dst[i] = bmp1[i] & bmp2[i];
230 dst[i] = (dst[i] & ~mask) | ((bmp1[i] & bmp2[i]) & mask);
239 * @bmp1: The first bitmap to intersect
248 ice_or_bitmap(ice_bitmap_t *dst, const ice_bitmap_t *bmp1,
256 dst[i] = bmp1[i] | bmp2[i];
264 dst[i] = (dst[i] & ~mask) | ((bmp1[i] | bmp2[i]) & mask);
270 * @bmp1: The first bitmap of XOR operation
279 ice_xor_bitmap(ice_bitmap_t *dst, const ice_bitmap_t *bmp1,
287 dst[i] = bmp1[i] ^ bmp2[i];
295 dst[i] = (dst[i] & ~mask) | ((bmp1[i] ^ bmp2[i]) & mask);
301 * @bmp1: The first bitmap of ANDNOT operation
310 ice_andnot_bitmap(ice_bitmap_t *dst, const ice_bitmap_t *bmp1,
318 dst[i] = bmp1[i] & ~bmp2[i];
326 dst[i] = (dst[i] & ~mask) | ((bmp1[i] & ~bmp2[i]) & mask);
464 * @bmp1: the bitmap to compare
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))