Searched refs:bgm (Results 1 - 4 of 4) sorted by relevance

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

Completed in 123 milliseconds