Lines Matching refs:fg
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[])
346 fgm[0] = two2word[fg & 3] ^ bgm[0];
349 fgm[1] = two2word[(fg >> 2) & 3] ^ bgm[1];
353 fgm[2] = two2word[(fg >> 4) & 3] ^ bgm[2];
355 fgm[3] = two2word[fg >> 6] ^ bgm[3];