Searched refs:fgm (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/video/fbdev/ |
H A D | atafb_utils.h | 269 static inline void expand8_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) in expand8_2col2mask() argument 271 fgm[0] = four2long[fg & 15] ^ (bgm[0] = four2long[bg & 15]); in expand8_2col2mask() 273 fgm[1] = four2long[fg >> 4] ^ (bgm[1] = four2long[bg >> 4]); in expand8_2col2mask() 303 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() 346 fgm[0] = two2word[fg & 3] ^ bgm[0]; in expand16_2col2mask() 349 fgm[1] = two2word[(fg >> 2) & 3] ^ bgm[1]; in expand16_2col2mask() 353 fgm[2] = two2word[(fg >> 4) & 3] ^ bgm[2]; in expand16_2col2mask() [all …]
|
H A D | atafb_iplan2p8.c | 294 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 D | atafb_iplan2p4.c | 259 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 D | atafb_iplan2p2.c | 245 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()
|