Searched refs:color_depth (Results 1 – 3 of 3) sorted by relevance
52 let depth = fb_info.color_depth(); in get_color()210 vc_data.color_mode = fb.color_depth() != 1; in con_init()377 let depth = fb_info.color_depth(); in con_set_palette()627 let attr = FbConAttr::get_attr(data[0], fb_info.color_depth()); in put_string()675 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()
301 fn color_depth(&self) -> u32 { in color_depth() method