Searched refs:color_depth (Results 1 – 3 of 3) sorted by relevance
52 let depth = fb_info.color_depth(); in get_color()207 vc_data.color_mode = fb.color_depth() != 1; in con_init()374 let depth = fb_info.color_depth(); in con_set_palette()624 let attr = FbConAttr::get_attr(data[0], fb_info.color_depth()); in put_string()672 let attr = FbConAttr::get_attr(c, fb_info.color_depth()); in cursor()
461 pub fn get_attr(c: u16, color_depth: u32) -> Self { in get_attr()463 if color_depth == 1 { in get_attr()
330 fn color_depth(&self) -> u32 { in color_depth() method