Home
last modified time | relevance | path

Searched refs:color_mode (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/driver/video/console/
H A Ddummycon.rs53 vc_data.color_mode = true; in con_init()
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dvirtual_console.rs86 pub color_mode: bool, field
176 color_mode: Default::default(), in new()
1760 if !self.color_mode { in invert_attr()
1808 if !self.color_mode { in build_attr()
H A Dmod.rs176 vc_data.complement_mask = if vc_data.color_mode { 0x7700 } else { 0x0800 }; in install()
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs207 vc_data.color_mode = fb.color_depth() != 1; in con_init()
208 vc_data.complement_mask = if vc_data.color_mode { 0x7700 } else { 0x0800 }; in con_init()
215 if vc_data.color_mode { in con_init()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dmod.rs600 pub color_mode: FbColorMode, field
651 color_mode: Default::default(), in default()