Home
last modified time | relevance | path

Searched refs:fgm (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/video/
Datafb_utils.h268 static inline void expand8_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) in expand8_2col2mask() argument
270 fgm[0] = four2long[fg & 15] ^ (bgm[0] = four2long[bg & 15]); in expand8_2col2mask()
272 fgm[1] = four2long[fg >> 4] ^ (bgm[1] = four2long[bg >> 4]); in expand8_2col2mask()
302 u32 fgm[2], bgm[2], tmp; in fill8_2col() local
304 expand8_2col2mask(fg, bg, fgm, bgm); in fill8_2col()
310 tmp = (mask & fgm[0]) ^ bgm[0]; in fill8_2col()
318 tmp = (mask & fgm[1]) ^ bgm[1]; in fill8_2col()
342 static inline void expand16_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) in expand16_2col2mask() argument
345 fgm[0] = two2word[fg & 3] ^ bgm[0]; in expand16_2col2mask()
348 fgm[1] = two2word[(fg >> 2) & 3] ^ bgm[1]; in expand16_2col2mask()
[all …]
Datafb_iplan2p8.c295 u32 fgm[4], bgm[4], m; in atafb_iplan2p8_linefill() local
306 expand16_2col2mask(fgcolor, bgcolor, fgm, bgm); in atafb_iplan2p8_linefill()
311 *dest++ = (m & fgm[0]) ^ bgm[0]; in atafb_iplan2p8_linefill()
312 *dest++ = (m & fgm[1]) ^ bgm[1]; in atafb_iplan2p8_linefill()
313 *dest++ = (m & fgm[2]) ^ bgm[2]; in atafb_iplan2p8_linefill()
314 *dest++ = (m & fgm[3]) ^ bgm[3]; in atafb_iplan2p8_linefill()
Datafb_iplan2p4.c260 u32 fgm[4], bgm[4], m; in atafb_iplan2p4_linefill() local
271 expand16_2col2mask(fgcolor, bgcolor, fgm, bgm); in atafb_iplan2p4_linefill()
276 *dest++ = (m & fgm[0]) ^ bgm[0]; in atafb_iplan2p4_linefill()
277 *dest++ = (m & fgm[1]) ^ bgm[1]; in atafb_iplan2p4_linefill()
Datafb_iplan2p2.c246 u32 fgm[4], bgm[4], m; in atafb_iplan2p2_linefill() local
257 expand16_2col2mask(fgcolor, bgcolor, fgm, bgm); in atafb_iplan2p2_linefill()
262 *dest++ = (m & fgm[0]) ^ bgm[0]; in atafb_iplan2p2_linefill()