Searched refs:pesudo_palette (Results 1 – 2 of 2) sorted by relevance
87 fb_info_data.pesudo_palette.resize(256, 0); in new()293 if regno as usize >= fb_data.pesudo_palette.len() { in fb_set_color_register()304 fb_data.pesudo_palette[regno as usize] = ((red as u32 & 0xf800) >> 1) in fb_set_color_register()308 fb_data.pesudo_palette[regno as usize] = (red as u32 & 0xf800) in fb_set_color_register()317 fb_data.pesudo_palette[regno as usize] = ((red as u32) << var.red.offset) in fb_set_color_register()395 self.fb_data.read().pesudo_palette[rect.color as usize] in fb_fillrect()
96 fg = fb_info_data.pesudo_palette[image.fg as usize]; in generic_imageblit()97 bg = fb_info_data.pesudo_palette[image.bg as usize]; in generic_imageblit()263 pub pesudo_palette: Vec<u32>, field