Lines Matching refs:bg_color
740 u32 fg_color = 0, bg_color = 0; in viafb_imageblit() local
754 bg_color = in viafb_imageblit()
755 ((u32 *)info->pseudo_palette)[image->bg_color]; in viafb_imageblit()
758 bg_color = image->bg_color; in viafb_imageblit()
767 (u32 *)image->data, 0, 0, 0, 0, fg_color, bg_color, 0)) in viafb_imageblit()
775 u32 temp, xx, yy, bg_color = 0, fg_color = 0, in viafb_cursor() local
824 bg_color = cursor->image.bg_color; in viafb_cursor()
833 bg_color = in viafb_cursor()
834 ((info->cmap.red[bg_color] & 0xFFC0) << 14) | in viafb_cursor()
835 ((info->cmap.green[bg_color] & 0xFFC0) << 4) | in viafb_cursor()
836 ((info->cmap.blue[bg_color] & 0xFFC0) >> 6); in viafb_cursor()
842 bg_color = in viafb_cursor()
843 ((info->cmap.red[bg_color] & 0xFF00) << 8) | in viafb_cursor()
844 (info->cmap.green[bg_color] & 0xFF00) | in viafb_cursor()
845 ((info->cmap.blue[bg_color] & 0xFF00) >> 8); in viafb_cursor()
848 writel(bg_color, engine + VIA_REG_CURSOR_BG); in viafb_cursor()