Lines Matching refs:bg
269 static inline void expand8_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[])
271 fgm[0] = four2long[fg & 15] ^ (bgm[0] = four2long[bg & 15]);
273 fgm[1] = four2long[fg >> 4] ^ (bgm[1] = four2long[bg >> 4]);
301 static inline void fill8_2col(u8 *dst, u8 fg, u8 bg, u32 mask)
305 expand8_2col2mask(fg, bg, fgm, bgm);
343 static inline void expand16_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[])
345 bgm[0] = two2word[bg & 3];
348 bgm[1] = two2word[(bg >> 2) & 3];
352 bgm[2] = two2word[(bg >> 4) & 3];
354 bgm[3] = two2word[bg >> 6];