Lines Matching +full:console +full:- +full:size

1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Data structure describing single virtual console except for data
8 * Fields marked with [#] must be set by the low-level driver.
9 * Fields marked with [!] can be changed by the low-level driver
33 * struct vc_state -- state of a VC
34 * @x: cursor's x-position
35 * @y: cursor's y-position
62 * Example: vc_data of a console that was scrolled 3 lines down.
64 * Console buffer
65 * vc_screenbuf ---------> +----------------------+-.
68 * | initializing Y | > scroll-back area
71 * vc_visible_origin ---> ^+----------------------+-:
74 * vc_rows --->< | login: root | | visible on console
76 * vc_origin -----------> || | | vc_size_row * vc_rows)
78 * v+----------------------+-:
80 * vc_pos -----------------|--------v | > scroll-front area
82 * vc_scr_end -----------> +----------------------+-:
85 * +----------------------+-'
86 * <---- 2 * vc_cols ----->
87 * <---- vc_size_row ----->
89 * Note that every character in the console buffer is accompanied with an
98 unsigned short vc_num; /* Console number */
99 unsigned int vc_cols; /* [#] Console size */
109 unsigned short *vc_screenbuf; /* In-memory character/attribute buffer */
148 unsigned char vc_utf : 1; /* Unicode UTF-8 encoding */
155 unsigned int vc_bell_pitch; /* Console bell pitch */
156 unsigned int vc_bell_duration; /* Console bell duration */
158 struct vc_data **vc_display_fg; /* [!] Ptr to var holding fg console for this display */
160 …struct uni_pagedict **uni_pagedict_loc; /* [!] Location of uni_pagedict variable for this console
176 #define CUR_MAKE(size, change, set) ((size) | ((change) << 8) | \ argument