tag | line | file | source code |
currcons | 142 | drivers/char/console.c | static void get_scrmem(int currcons); |
currcons | 143 | drivers/char/console.c | static void set_scrmem(int currcons, long offset); |
currcons | 144 | drivers/char/console.c | static void set_origin(int currcons); |
currcons | 148 | drivers/char/console.c | static void gotoxy(int currcons, int new_x, int new_y); |
currcons | 149 | drivers/char/console.c | static void save_cur(int currcons); |
currcons | 150 | drivers/char/console.c | static inline void set_cursor(int currcons); |
currcons | 151 | drivers/char/console.c | static void reset_terminal(int currcons, int do_clear); |
currcons | 158 | drivers/char/console.c | extern void reset_palette(int currcons); |
currcons | 258 | drivers/char/console.c | #define screenbuf_size (vc_cons[currcons].d->vc_screenbuf_size) |
currcons | 259 | drivers/char/console.c | #define origin (vc_cons[currcons].d->vc_origin) |
currcons | 260 | drivers/char/console.c | #define scr_end (vc_cons[currcons].d->vc_scr_end) |
currcons | 261 | drivers/char/console.c | #define pos (vc_cons[currcons].d->vc_pos) |
currcons | 262 | drivers/char/console.c | #define top (vc_cons[currcons].d->vc_top) |
currcons | 263 | drivers/char/console.c | #define bottom (vc_cons[currcons].d->vc_bottom) |
currcons | 264 | drivers/char/console.c | #define x (vc_cons[currcons].d->vc_x) |
currcons | 265 | drivers/char/console.c | #define y (vc_cons[currcons].d->vc_y) |
currcons | 266 | drivers/char/console.c | #define vc_state (vc_cons[currcons].d->vc_state) |
currcons | 267 | drivers/char/console.c | #define npar (vc_cons[currcons].d->vc_npar) |
currcons | 268 | drivers/char/console.c | #define par (vc_cons[currcons].d->vc_par) |
currcons | 269 | drivers/char/console.c | #define ques (vc_cons[currcons].d->vc_ques) |
currcons | 270 | drivers/char/console.c | #define attr (vc_cons[currcons].d->vc_attr) |
currcons | 271 | drivers/char/console.c | #define saved_x (vc_cons[currcons].d->vc_saved_x) |
currcons | 272 | drivers/char/console.c | #define saved_y (vc_cons[currcons].d->vc_saved_y) |
currcons | 273 | drivers/char/console.c | #define translate (vc_cons[currcons].d->vc_translate) |
currcons | 274 | drivers/char/console.c | #define G0_charset (vc_cons[currcons].d->vc_G0_charset) |
currcons | 275 | drivers/char/console.c | #define G1_charset (vc_cons[currcons].d->vc_G1_charset) |
currcons | 276 | drivers/char/console.c | #define saved_G0 (vc_cons[currcons].d->vc_saved_G0) |
currcons | 277 | drivers/char/console.c | #define saved_G1 (vc_cons[currcons].d->vc_saved_G1) |
currcons | 278 | drivers/char/console.c | #define utf (vc_cons[currcons].d->vc_utf) |
currcons | 279 | drivers/char/console.c | #define utf_count (vc_cons[currcons].d->vc_utf_count) |
currcons | 280 | drivers/char/console.c | #define utf_char (vc_cons[currcons].d->vc_utf_char) |
currcons | 281 | drivers/char/console.c | #define video_mem_start (vc_cons[currcons].d->vc_video_mem_start) |
currcons | 282 | drivers/char/console.c | #define video_mem_end (vc_cons[currcons].d->vc_video_mem_end) |
currcons | 283 | drivers/char/console.c | #define video_erase_char (vc_cons[currcons].d->vc_video_erase_char) |
currcons | 284 | drivers/char/console.c | #define disp_ctrl (vc_cons[currcons].d->vc_disp_ctrl) |
currcons | 285 | drivers/char/console.c | #define toggle_meta (vc_cons[currcons].d->vc_toggle_meta) |
currcons | 286 | drivers/char/console.c | #define decscnm (vc_cons[currcons].d->vc_decscnm) |
currcons | 287 | drivers/char/console.c | #define decom (vc_cons[currcons].d->vc_decom) |
currcons | 288 | drivers/char/console.c | #define decawm (vc_cons[currcons].d->vc_decawm) |
currcons | 289 | drivers/char/console.c | #define deccm (vc_cons[currcons].d->vc_deccm) |
currcons | 290 | drivers/char/console.c | #define decim (vc_cons[currcons].d->vc_decim) |
currcons | 291 | drivers/char/console.c | #define deccolm (vc_cons[currcons].d->vc_deccolm) |
currcons | 292 | drivers/char/console.c | #define need_wrap (vc_cons[currcons].d->vc_need_wrap) |
currcons | 293 | drivers/char/console.c | #define has_scrolled (vc_cons[currcons].d->vc_has_scrolled) |
currcons | 294 | drivers/char/console.c | #define kmalloced (vc_cons[currcons].d->vc_kmalloced) |
currcons | 295 | drivers/char/console.c | #define report_mouse (vc_cons[currcons].d->vc_report_mouse) |
currcons | 296 | drivers/char/console.c | #define color (vc_cons[currcons].d->vc_color) |
currcons | 297 | drivers/char/console.c | #define s_color (vc_cons[currcons].d->vc_s_color) |
currcons | 298 | drivers/char/console.c | #define def_color (vc_cons[currcons].d->vc_def_color) |
currcons | 301 | drivers/char/console.c | #define charset (vc_cons[currcons].d->vc_charset) |
currcons | 302 | drivers/char/console.c | #define s_charset (vc_cons[currcons].d->vc_s_charset) |
currcons | 303 | drivers/char/console.c | #define intensity (vc_cons[currcons].d->vc_intensity) |
currcons | 304 | drivers/char/console.c | #define underline (vc_cons[currcons].d->vc_underline) |
currcons | 305 | drivers/char/console.c | #define blink (vc_cons[currcons].d->vc_blink) |
currcons | 306 | drivers/char/console.c | #define reverse (vc_cons[currcons].d->vc_reverse) |
currcons | 307 | drivers/char/console.c | #define s_intensity (vc_cons[currcons].d->vc_s_intensity) |
currcons | 308 | drivers/char/console.c | #define s_underline (vc_cons[currcons].d->vc_s_underline) |
currcons | 309 | drivers/char/console.c | #define s_blink (vc_cons[currcons].d->vc_s_blink) |
currcons | 310 | drivers/char/console.c | #define s_reverse (vc_cons[currcons].d->vc_s_reverse) |
currcons | 311 | drivers/char/console.c | #define ulcolor (vc_cons[currcons].d->vc_ulcolor) |
currcons | 312 | drivers/char/console.c | #define halfcolor (vc_cons[currcons].d->vc_halfcolor) |
currcons | 313 | drivers/char/console.c | #define tab_stop (vc_cons[currcons].d->vc_tab_stop) |
currcons | 314 | drivers/char/console.c | #define palette (vc_cons[currcons].d->vc_palette) |
currcons | 316 | drivers/char/console.c | #define vcmode (vt_cons[currcons]->vc_mode) |
currcons | 389 | drivers/char/console.c | unsigned int currcons, i; |
currcons | 407 | drivers/char/console.c | for (currcons = 0; currcons < MAX_NR_CONSOLES; currcons++) { |
currcons | 408 | drivers/char/console.c | if (!vc_cons_allocated(currcons)) |
currcons | 409 | drivers/char/console.c | newscreens[currcons] = 0; |
currcons | 413 | drivers/char/console.c | for (i = 0; i< currcons; i++) |
currcons | 418 | drivers/char/console.c | newscreens[currcons] = p; |
currcons | 434 | drivers/char/console.c | for (currcons = 0; currcons < MAX_NR_CONSOLES; currcons++) { |
currcons | 435 | drivers/char/console.c | if (!vc_cons_allocated(currcons)) |
currcons | 441 | drivers/char/console.c | nl = (long) newscreens[currcons]; |
currcons | 454 | drivers/char/console.c | kfree_s(vc_scrbuf[currcons], screenbuf_size); |
currcons | 455 | drivers/char/console.c | vc_scrbuf[currcons] = newscreens[currcons]; |
currcons | 459 | drivers/char/console.c | origin = video_mem_start = (long) vc_scrbuf[currcons]; |
currcons | 468 | drivers/char/console.c | gotoxy(currcons, x, y); |
currcons | 469 | drivers/char/console.c | save_cur(currcons); |
currcons | 479 | drivers/char/console.c | void vc_disallocate(unsigned int currcons) |
currcons | 481 | drivers/char/console.c | if (vc_cons_allocated(currcons)) { |
currcons | 483 | drivers/char/console.c | kfree_s(vc_scrbuf[currcons], screenbuf_size); |
currcons | 484 | drivers/char/console.c | if (currcons >= MIN_NR_CONSOLES) |
currcons | 485 | drivers/char/console.c | kfree_s(vc_cons[currcons].d, structsize); |
currcons | 486 | drivers/char/console.c | vc_cons[currcons].d = 0; |
currcons | 491 | drivers/char/console.c | #define set_kbd(x) set_vc_kbd_mode(kbd_table+currcons,x) |
currcons | 492 | drivers/char/console.c | #define clr_kbd(x) clr_vc_kbd_mode(kbd_table+currcons,x) |
currcons | 493 | drivers/char/console.c | #define is_kbd(x) vc_kbd_mode(kbd_table+currcons,x) |
currcons | 522 | drivers/char/console.c | static void gotoxy(int currcons, int new_x, int new_y) |
currcons | 625 | drivers/char/console.c | static void set_origin(int currcons) |
currcons | 630 | drivers/char/console.c | if (currcons != fg_console || console_blanked || vcmode == KD_GRAPHICS) |
currcons | 650 | drivers/char/console.c | static inline void set_cursor(int currcons) |
currcons | 654 | drivers/char/console.c | if (currcons != fg_console || console_blanked || vcmode == KD_GRAPHICS) |
currcons | 669 | drivers/char/console.c | static void scrup(int currcons, unsigned int t, unsigned int b) |
currcons | 703 | drivers/char/console.c | if (currcons == fg_console) |
currcons | 718 | drivers/char/console.c | set_origin(currcons); |
currcons | 736 | drivers/char/console.c | static void scrdown(int currcons, unsigned int t, unsigned int b) |
currcons | 758 | drivers/char/console.c | static void lf(int currcons) |
currcons | 764 | drivers/char/console.c | scrup(currcons,top,bottom); |
currcons | 772 | drivers/char/console.c | static void ri(int currcons) |
currcons | 778 | drivers/char/console.c | scrdown(currcons,top,bottom); |
currcons | 786 | drivers/char/console.c | static inline void cr(int currcons) |
currcons | 792 | drivers/char/console.c | static inline void bs(int currcons) |
currcons | 801 | drivers/char/console.c | static inline void del(int currcons) |
currcons | 806 | drivers/char/console.c | static void csi_J(int currcons, int vpar) |
currcons | 834 | drivers/char/console.c | static void csi_K(int currcons, int vpar) |
currcons | 862 | drivers/char/console.c | static void csi_X(int currcons, int vpar) /* erase the following vpar positions */ |
currcons | 880 | drivers/char/console.c | static void update_attr(int currcons) |
currcons | 907 | drivers/char/console.c | static void default_attr(int currcons) |
currcons | 916 | drivers/char/console.c | static void csi_m(int currcons) |
currcons | 923 | drivers/char/console.c | default_attr(currcons); |
currcons | 1008 | drivers/char/console.c | update_attr(currcons); |
currcons | 1020 | drivers/char/console.c | static void cursor_report(int currcons, struct tty_struct * tty) |
currcons | 1050 | drivers/char/console.c | int currcons = fg_console; |
currcons | 1055 | drivers/char/console.c | static inline unsigned short *screenpos(int currcons, int offset, int viewed) |
currcons | 1058 | drivers/char/console.c | if (viewed && currcons == fg_console) |
currcons | 1064 | drivers/char/console.c | void invert_screen(int currcons, int offset, int count, int viewed) |
currcons | 1069 | drivers/char/console.c | p = screenpos(currcons, offset, viewed); |
currcons | 1086 | drivers/char/console.c | void complement_pos(int currcons, int offset) |
currcons | 1096 | drivers/char/console.c | p = screenpos(currcons, offset, 1); |
currcons | 1103 | drivers/char/console.c | unsigned short screen_word(int currcons, int offset, int viewed) |
currcons | 1105 | drivers/char/console.c | return scr_readw(screenpos(currcons, offset, viewed)); |
currcons | 1117 | drivers/char/console.c | unsigned short *screen_pos(int currcons, int w_offset, int viewed) |
currcons | 1119 | drivers/char/console.c | return screenpos(currcons, 2 * w_offset, viewed); |
currcons | 1122 | drivers/char/console.c | void getconsxy(int currcons, char *p) |
currcons | 1128 | drivers/char/console.c | void putconsxy(int currcons, char *p) |
currcons | 1130 | drivers/char/console.c | gotoxy(currcons, p[0], p[1]); |
currcons | 1131 | drivers/char/console.c | set_cursor(currcons); |
currcons | 1134 | drivers/char/console.c | static void set_mode(int currcons, int on_off) |
currcons | 1157 | drivers/char/console.c | invert_screen(currcons, 0, video_screen_size, 0); |
currcons | 1158 | drivers/char/console.c | update_attr(currcons); |
currcons | 1163 | drivers/char/console.c | gotoxy(currcons,0,0); |
currcons | 1179 | drivers/char/console.c | set_cursor(currcons); |
currcons | 1200 | drivers/char/console.c | static void setterm_command(int currcons) |
currcons | 1207 | drivers/char/console.c | update_attr(currcons); |
currcons | 1214 | drivers/char/console.c | update_attr(currcons); |
currcons | 1219 | drivers/char/console.c | default_attr(currcons); |
currcons | 1220 | drivers/char/console.c | update_attr(currcons); |
currcons | 1229 | drivers/char/console.c | static void insert_char(int currcons) |
currcons | 1244 | drivers/char/console.c | static void insert_line(int currcons) |
currcons | 1246 | drivers/char/console.c | scrdown(currcons,y,bottom); |
currcons | 1250 | drivers/char/console.c | static void delete_char(int currcons) |
currcons | 1263 | drivers/char/console.c | static void delete_line(int currcons) |
currcons | 1265 | drivers/char/console.c | scrup(currcons,y,bottom); |
currcons | 1269 | drivers/char/console.c | static void csi_at(int currcons, unsigned int nr) |
currcons | 1276 | drivers/char/console.c | insert_char(currcons); |
currcons | 1279 | drivers/char/console.c | static void csi_L(int currcons, unsigned int nr) |
currcons | 1286 | drivers/char/console.c | insert_line(currcons); |
currcons | 1289 | drivers/char/console.c | static void csi_P(int currcons, unsigned int nr) |
currcons | 1296 | drivers/char/console.c | delete_char(currcons); |
currcons | 1299 | drivers/char/console.c | static void csi_M(int currcons, unsigned int nr) |
currcons | 1306 | drivers/char/console.c | delete_line(currcons); |
currcons | 1309 | drivers/char/console.c | static void save_cur(int currcons) |
currcons | 1323 | drivers/char/console.c | static void restore_cur(int currcons) |
currcons | 1325 | drivers/char/console.c | gotoxy(currcons,saved_x,saved_y); |
currcons | 1335 | drivers/char/console.c | update_attr(currcons); |
currcons | 1343 | drivers/char/console.c | static void reset_terminal(int currcons, int do_clear) |
currcons | 1371 | drivers/char/console.c | kbd_table[currcons].lockstate = 0; |
currcons | 1372 | drivers/char/console.c | kbd_table[currcons].ledmode = LED_SHOW_FLAGS; |
currcons | 1373 | drivers/char/console.c | kbd_table[currcons].ledflagstate = kbd_table[currcons].default_ledflagstate; |
currcons | 1376 | drivers/char/console.c | default_attr(currcons); |
currcons | 1377 | drivers/char/console.c | update_attr(currcons); |
currcons | 1385 | drivers/char/console.c | gotoxy(currcons,0,0); |
currcons | 1386 | drivers/char/console.c | save_cur(currcons); |
currcons | 1388 | drivers/char/console.c | csi_J(currcons,2); |
currcons | 1425 | drivers/char/console.c | unsigned int currcons; |
currcons | 1428 | drivers/char/console.c | currcons = vt->vc_num; |
currcons | 1429 | drivers/char/console.c | if (!vc_cons_allocated(currcons)) { |
currcons | 1434 | drivers/char/console.c | printk("con_write: tty %d not allocated\n", currcons+1); |
currcons | 1439 | drivers/char/console.c | if (currcons == sel_cons) |
currcons | 1515 | drivers/char/console.c | cr(currcons); |
currcons | 1516 | drivers/char/console.c | lf(currcons); |
currcons | 1519 | drivers/char/console.c | insert_char(currcons); |
currcons | 1542 | drivers/char/console.c | bs(currcons); |
currcons | 1554 | drivers/char/console.c | lf(currcons); |
currcons | 1558 | drivers/char/console.c | cr(currcons); |
currcons | 1577 | drivers/char/console.c | del(currcons); |
currcons | 1597 | drivers/char/console.c | cr(currcons); |
currcons | 1598 | drivers/char/console.c | lf(currcons); |
currcons | 1601 | drivers/char/console.c | ri(currcons); |
currcons | 1604 | drivers/char/console.c | lf(currcons); |
currcons | 1613 | drivers/char/console.c | save_cur(currcons); |
currcons | 1616 | drivers/char/console.c | restore_cur(currcons); |
currcons | 1628 | drivers/char/console.c | reset_terminal(currcons,1); |
currcons | 1646 | drivers/char/console.c | reset_palette (currcons); |
currcons | 1693 | drivers/char/console.c | set_mode(currcons,1); |
currcons | 1696 | drivers/char/console.c | set_mode(currcons,0); |
currcons | 1703 | drivers/char/console.c | cursor_report(currcons,tty); |
currcons | 1713 | drivers/char/console.c | gotoxy(currcons,par[0],y); |
currcons | 1717 | drivers/char/console.c | gotoxy(currcons,x,y-par[0]); |
currcons | 1721 | drivers/char/console.c | gotoxy(currcons,x,y+par[0]); |
currcons | 1725 | drivers/char/console.c | gotoxy(currcons,x+par[0],y); |
currcons | 1729 | drivers/char/console.c | gotoxy(currcons,x-par[0],y); |
currcons | 1733 | drivers/char/console.c | gotoxy(currcons,0,y+par[0]); |
currcons | 1737 | drivers/char/console.c | gotoxy(currcons,0,y-par[0]); |
currcons | 1741 | drivers/char/console.c | gotoxy(currcons,x,par[0]); |
currcons | 1746 | drivers/char/console.c | gotoxy(currcons,par[1],par[0]); |
currcons | 1749 | drivers/char/console.c | csi_J(currcons,par[0]); |
currcons | 1752 | drivers/char/console.c | csi_K(currcons,par[0]); |
currcons | 1755 | drivers/char/console.c | csi_L(currcons,par[0]); |
currcons | 1758 | drivers/char/console.c | csi_M(currcons,par[0]); |
currcons | 1761 | drivers/char/console.c | csi_P(currcons,par[0]); |
currcons | 1779 | drivers/char/console.c | csi_m(currcons); |
currcons | 1784 | drivers/char/console.c | setledstate(kbd_table + currcons, |
currcons | 1797 | drivers/char/console.c | gotoxy(currcons,0,0); |
currcons | 1801 | drivers/char/console.c | save_cur(currcons); |
currcons | 1804 | drivers/char/console.c | restore_cur(currcons); |
currcons | 1807 | drivers/char/console.c | csi_X(currcons, par[0]); |
currcons | 1810 | drivers/char/console.c | csi_at(currcons,par[0]); |
currcons | 1813 | drivers/char/console.c | setterm_command(currcons); |
currcons | 1838 | drivers/char/console.c | csi_J(currcons, 2); |
currcons | 1874 | drivers/char/console.c | set_cursor(currcons); |
currcons | 1907 | drivers/char/console.c | int currcons = fg_console; |
currcons | 1915 | drivers/char/console.c | if (!vc_cons_allocated(currcons)) { |
currcons | 1917 | drivers/char/console.c | printk("console_print: tty %d not allocated ??\n", currcons+1); |
currcons | 1924 | drivers/char/console.c | lf(currcons); |
currcons | 1925 | drivers/char/console.c | cr(currcons); |
currcons | 1937 | drivers/char/console.c | set_cursor(currcons); |
currcons | 1958 | drivers/char/console.c | static void vc_init(unsigned int currcons, unsigned long rows, unsigned long cols, int do_clear) |
currcons | 1960 | drivers/char/console.c | long base = (long) vc_scrbuf[currcons]; |
currcons | 1971 | drivers/char/console.c | reset_vc(currcons); |
currcons | 1973 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_red[j] ; |
currcons | 1974 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_grn[j] ; |
currcons | 1975 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_blu[j] ; |
currcons | 1980 | drivers/char/console.c | vt_cons[currcons]->paste_wait = 0; |
currcons | 1981 | drivers/char/console.c | reset_terminal(currcons, do_clear); |
currcons | 2005 | drivers/char/console.c | int currcons = 0; |
currcons | 2137 | drivers/char/console.c | for (currcons = 0; currcons < MIN_NR_CONSOLES; currcons++) { |
currcons | 2140 | drivers/char/console.c | vc_cons[currcons].d = (struct vc_data *) kmem_start; |
currcons | 2142 | drivers/char/console.c | vt_cons[currcons] = (struct vt_struct *) kmem_start; |
currcons | 2144 | drivers/char/console.c | vc_scrbuf[currcons] = (unsigned short *) kmem_start; |
currcons | 2148 | drivers/char/console.c | vc_init(currcons, video_num_lines, video_num_columns, currcons); |
currcons | 2150 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_red[j] ; |
currcons | 2151 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_grn[j] ; |
currcons | 2152 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_blu[j] ; |
currcons | 2156 | drivers/char/console.c | currcons = fg_console = 0; |
currcons | 2162 | drivers/char/console.c | gotoxy(currcons,orig_x,orig_y); |
currcons | 2163 | drivers/char/console.c | set_origin(currcons); |
currcons | 2164 | drivers/char/console.c | csi_J(currcons, 0); |
currcons | 2191 | drivers/char/console.c | static void get_scrmem(int currcons) |
currcons | 2193 | drivers/char/console.c | memcpyw((unsigned short *)vc_scrbuf[currcons], |
currcons | 2196 | drivers/char/console.c | origin = video_mem_start = (unsigned long)vc_scrbuf[currcons]; |
currcons | 2201 | drivers/char/console.c | static void set_scrmem(int currcons, long offset) |
currcons | 2247 | drivers/char/console.c | int currcons; |
currcons | 2256 | drivers/char/console.c | currcons = fg_console; |
currcons | 2274 | drivers/char/console.c | int currcons; |
currcons | 2291 | drivers/char/console.c | currcons = fg_console; |
currcons | 2599 | drivers/char/console.c | void reset_palette (int currcons) |
currcons | 20 | drivers/char/selection.h | extern unsigned short *screen_pos(int currcons, int w_offset, int viewed); |
currcons | 21 | drivers/char/selection.h | extern unsigned short screen_word(int currcons, int offset, int viewed); |
currcons | 23 | drivers/char/selection.h | extern void complement_pos(int currcons, int offset); |
currcons | 24 | drivers/char/selection.h | extern void invert_screen(int currcons, int offset, int count, int shift); |
currcons | 32 | drivers/char/selection.h | extern void getconsxy(int currcons, char *p); |
currcons | 33 | drivers/char/selection.h | extern void putconsxy(int currcons, char *p); |
currcons | 107 | drivers/char/tty_io.c | extern void reset_palette(int currcons) ; |
currcons | 79 | drivers/char/vt.c | extern void reset_palette(int currcons); |