Lines Matching refs:bmp1
191 * @bmp1: The first bitmap to intersect
202 ice_and_bitmap(ice_bitmap_t *dst, const ice_bitmap_t *bmp1,
210 dst[i] = bmp1[i] & bmp2[i];
221 dst[i] = (dst[i] & ~mask) | ((bmp1[i] & bmp2[i]) & mask);
230 * @bmp1: The first bitmap to intersect
239 ice_or_bitmap(ice_bitmap_t *dst, const ice_bitmap_t *bmp1,
247 dst[i] = bmp1[i] | bmp2[i];
255 dst[i] = (dst[i] & ~mask) | ((bmp1[i] | bmp2[i]) & mask);
261 * @bmp1: The first bitmap of XOR operation
270 ice_xor_bitmap(ice_bitmap_t *dst, const ice_bitmap_t *bmp1,
278 dst[i] = bmp1[i] ^ bmp2[i];
286 dst[i] = (dst[i] & ~mask) | ((bmp1[i] ^ bmp2[i]) & mask);
292 * @bmp1: The first bitmap of ANDNOT operation
301 ice_andnot_bitmap(ice_bitmap_t *dst, const ice_bitmap_t *bmp1,
309 dst[i] = bmp1[i] & ~bmp2[i];
317 dst[i] = (dst[i] & ~mask) | ((bmp1[i] & ~bmp2[i]) & mask);
455 * @bmp1: the bitmap to compare
456 * @bmp2: the bitmap to compare with bmp1
462 ice_cmp_bitmap(ice_bitmap_t *bmp1, ice_bitmap_t *bmp2, u16 size)
469 if (bmp1[i] != bmp2[i])
474 if ((bmp1[i] & mask) != (bmp2[i] & mask))