Lines Matching +full:5 +full:bg
54 #define RIVAFB_VERSION "0.9.5b"
466 * @bg: background color (ARGB1555) - alpha bit determines opacity
479 u16 bg, u16 fg, u32 w, u32 h) in rivafb_load_cursor_image() argument
484 bg = le16_to_cpu(bg); in rivafb_load_cursor_image()
496 tmp = (b & (1 << 31)) ? fg << 16 : bg << 16; in rivafb_load_cursor_image()
498 tmp |= (b & (1 << 31)) ? fg : bg; in rivafb_load_cursor_image()
501 tmp = (b & 1) ? fg : bg; in rivafb_load_cursor_image()
503 tmp |= (b & 1) ? fg << 16 : bg << 16; in rivafb_load_cursor_image()
677 if (bpp == 16 && info->var.green.length == 5) in riva_load_video_mode()
686 info->var.hsync_len + info->var.left_margin) / 8 - 5; in riva_load_video_mode()
720 newmode.crtc[0x5] = SetBitField (hBlankEnd, 5: 5, 7:7) in riva_load_video_mode()
728 | SetBitField (vTotal, 9: 9, 5:5) in riva_load_video_mode()
731 newmode.crtc[0x9] = SetBitField (vBlankStart, 9: 9, 5:5) in riva_load_video_mode()
735 | SetBit (5); in riva_load_video_mode()
1003 case 5: in riva_get_cmap_len()
1004 rc = 32; /* 32 entries (2^5), 16 bpp, RGB555 */ in riva_get_cmap_len()
1093 var->green.length = 5; in rivafb_check_var()
1099 var->green.length = 5; in rivafb_check_var()
1100 if (var->green.length == 5) { in rivafb_check_var()
1103 var->green.offset = 5; in rivafb_check_var()
1105 var->red.length = 5; in rivafb_check_var()
1106 var->green.length = 5; in rivafb_check_var()
1107 var->blue.length = 5; in rivafb_check_var()
1111 var->green.offset = 5; in rivafb_check_var()
1113 var->red.length = 5; in rivafb_check_var()
1115 var->blue.length = 5; in rivafb_check_var()
1340 if (info->var.green.length == 5) { in rivafb_setcolreg()
1462 | ((*col & 0x00007E0) << 5) in convert_bgcolor_16()
1575 u16 fg, bg; in rivafb_cursor() local
1629 bg = ((info->cmap.red[bg_idx] & 0xf8) << 7) | in rivafb_cursor()
1641 rivafb_load_cursor_image(par, data, bg, fg, in rivafb_cursor()