Lines Matching refs:bg
268 static inline void expand8_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[])
270 fgm[0] = four2long[fg & 15] ^ (bgm[0] = four2long[bg & 15]);
272 fgm[1] = four2long[fg >> 4] ^ (bgm[1] = four2long[bg >> 4]);
300 static inline void fill8_2col(u8 *dst, u8 fg, u8 bg, u32 mask)
304 expand8_2col2mask(fg, bg, fgm, bgm);
342 static inline void expand16_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[])
344 bgm[0] = two2word[bg & 3];
347 bgm[1] = two2word[(bg >> 2) & 3];
351 bgm[2] = two2word[(bg >> 4) & 3];
353 bgm[3] = two2word[bg >> 6];