Searched refs:blue (Results 1 – 6 of 6) sorted by relevance
64 pub blue: u16, field74 color.blue = if col & 4 != 0 { 0xaa } else { 0x00 }; in from_256()78 color.blue = if col & 4 != 0 { 0xff } else { 0x55 }; in from_256()82 color.blue = ((col - 16) % 6 * 85 / 2) as u16; in from_256()87 color.blue = col; in from_256()
296 color.blue = DEFAULT_BLUE[idx]; in reset_palette()1074 max = max.max(color.blue); in csi_m()1083 if color.blue > max / 2 { in csi_m()1109 | ((color.blue as u8 & 0x80) >> 3); in csi_m()1253 color.blue = self.par[idx + 3] as u16; in t416_color()1518 self.palette[i].blue = self.par[j] as u16; in do_control()1525 self.palette[i].blue = self.par[j] as u16; in do_control()
291 mut blue: u16, in fb_set_color_register()308 | ((blue as u32 & 0xf800) >> 11); in fb_set_color_register()312 | ((blue as u32 & 0xf800) >> 11); in fb_set_color_register()318 blue >>= 8; in fb_set_color_register()321 | ((blue as u32) << var.blue.offset); in fb_set_color_register()938 fb_var.blue.length = boottime_screen_info.blue_size as u32; in vesa_fb_device_init()942 fb_var.blue.offset = boottime_screen_info.blue_pos as u32; in vesa_fb_device_init()947 fb_var.blue.offset = 0; in vesa_fb_device_init()952 fb_var.blue.length = fb_var.bits_per_pixel; in vesa_fb_device_init()
344 .fb_set_color_register(idx as u16, color.red, color.green, color.blue) in set_color_map()399 blue: u16, in fb_set_color_register()590 pub blue: FbBitfield, field638 blue: Default::default(), in default()
115 max_len = max_len.max(fb_info.current_fb_var().blue.length); in mono_color()383 col.blue = (vc_palette[i].blue << 8) | vc_palette[i].blue; in con_set_palette()
195 uint8_t blue; member