Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/fbdev/
H A Datafb_utils.h303 u32 fgm[2], bgm[2], tmp; in fill8_2col() local
305 expand8_2col2mask(fg, bg, fgm, bgm); in fill8_2col()
311 tmp = (mask & fgm[0]) ^ bgm[0]; in fill8_2col()
319 tmp = (mask & fgm[1]) ^ bgm[1]; in fill8_2col()
345 bgm[0] = two2word[bg & 3]; in expand16_2col2mask()
346 fgm[0] = two2word[fg & 3] ^ bgm[0]; in expand16_2col2mask()
348 bgm[1] = two2word[(bg >> 2) & 3]; in expand16_2col2mask()
349 fgm[1] = two2word[(fg >> 2) & 3] ^ bgm[1]; in expand16_2col2mask()
352 bgm[2] = two2word[(bg >> 4) & 3]; in expand16_2col2mask()
354 bgm[3] = two2word[bg >> 6]; in expand16_2col2mask()
[all …]
H A Datafb_iplan2p8.c294 u32 fgm[4], bgm[4], m; in atafb_iplan2p8_linefill() local
305 expand16_2col2mask(fgcolor, bgcolor, fgm, bgm); in atafb_iplan2p8_linefill()
310 *dest++ = (m & fgm[0]) ^ bgm[0]; in atafb_iplan2p8_linefill()
311 *dest++ = (m & fgm[1]) ^ bgm[1]; in atafb_iplan2p8_linefill()
312 *dest++ = (m & fgm[2]) ^ bgm[2]; in atafb_iplan2p8_linefill()
313 *dest++ = (m & fgm[3]) ^ bgm[3]; in atafb_iplan2p8_linefill()
H A Datafb_iplan2p4.c259 u32 fgm[4], bgm[4], m; in atafb_iplan2p4_linefill() local
270 expand16_2col2mask(fgcolor, bgcolor, fgm, bgm); in atafb_iplan2p4_linefill()
275 *dest++ = (m & fgm[0]) ^ bgm[0]; in atafb_iplan2p4_linefill()
276 *dest++ = (m & fgm[1]) ^ bgm[1]; in atafb_iplan2p4_linefill()
H A Datafb_iplan2p2.c245 u32 fgm[4], bgm[4], m; in atafb_iplan2p2_linefill() local
256 expand16_2col2mask(fgcolor, bgcolor, fgm, bgm); in atafb_iplan2p2_linefill()
261 *dest++ = (m & fgm[0]) ^ bgm[0]; in atafb_iplan2p2_linefill()