Lines Matching refs:bgm
269 static inline void expand8_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) in expand8_2col2mask() argument
271 fgm[0] = four2long[fg & 15] ^ (bgm[0] = four2long[bg & 15]); in expand8_2col2mask()
273 fgm[1] = four2long[fg >> 4] ^ (bgm[1] = four2long[bg >> 4]); in expand8_2col2mask()
303 u32 fgm[2], bgm[2], tmp; in fill8_2col() local
305 expand8_2col2mask(fg, bg, fgm, bgm); in fill8_2col()
311 tmp = (mask & fgm[0]) ^ bgm[0]; in fill8_2col()
319 tmp = (mask & fgm[1]) ^ bgm[1]; in fill8_2col()
343 static inline void expand16_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) in expand16_2col2mask() argument
345 bgm[0] = two2word[bg & 3]; in expand16_2col2mask()
346 fgm[0] = two2word[fg & 3] ^ bgm[0]; in expand16_2col2mask()
348 bgm[1] = two2word[(bg >> 2) & 3]; in expand16_2col2mask()
349 fgm[1] = two2word[(fg >> 2) & 3] ^ bgm[1]; in expand16_2col2mask()
352 bgm[2] = two2word[(bg >> 4) & 3]; in expand16_2col2mask()
353 fgm[2] = two2word[(fg >> 4) & 3] ^ bgm[2]; in expand16_2col2mask()
354 bgm[3] = two2word[bg >> 6]; in expand16_2col2mask()
355 fgm[3] = two2word[fg >> 6] ^ bgm[3]; in expand16_2col2mask()