tag | line | file | source code |
currcons | 141 | drivers/char/console.c | static void get_scrmem(int currcons); |
currcons | 142 | drivers/char/console.c | static void set_scrmem(int currcons, long offset); |
currcons | 143 | drivers/char/console.c | static void set_origin(int currcons); |
currcons | 147 | drivers/char/console.c | static void gotoxy(int currcons, int new_x, int new_y); |
currcons | 148 | drivers/char/console.c | static void save_cur(int currcons); |
currcons | 149 | drivers/char/console.c | static inline void set_cursor(int currcons); |
currcons | 150 | drivers/char/console.c | static void reset_terminal(int currcons, int do_clear); |
currcons | 157 | drivers/char/console.c | extern void reset_palette (int currcons) ; |
currcons | 255 | drivers/char/console.c | #define screenbuf_size (vc_cons[currcons].d->vc_screenbuf_size) |
currcons | 256 | drivers/char/console.c | #define origin (vc_cons[currcons].d->vc_origin) |
currcons | 257 | drivers/char/console.c | #define scr_end (vc_cons[currcons].d->vc_scr_end) |
currcons | 258 | drivers/char/console.c | #define pos (vc_cons[currcons].d->vc_pos) |
currcons | 259 | drivers/char/console.c | #define top (vc_cons[currcons].d->vc_top) |
currcons | 260 | drivers/char/console.c | #define bottom (vc_cons[currcons].d->vc_bottom) |
currcons | 261 | drivers/char/console.c | #define x (vc_cons[currcons].d->vc_x) |
currcons | 262 | drivers/char/console.c | #define y (vc_cons[currcons].d->vc_y) |
currcons | 263 | drivers/char/console.c | #define vc_state (vc_cons[currcons].d->vc_state) |
currcons | 264 | drivers/char/console.c | #define npar (vc_cons[currcons].d->vc_npar) |
currcons | 265 | drivers/char/console.c | #define par (vc_cons[currcons].d->vc_par) |
currcons | 266 | drivers/char/console.c | #define ques (vc_cons[currcons].d->vc_ques) |
currcons | 267 | drivers/char/console.c | #define attr (vc_cons[currcons].d->vc_attr) |
currcons | 268 | drivers/char/console.c | #define saved_x (vc_cons[currcons].d->vc_saved_x) |
currcons | 269 | drivers/char/console.c | #define saved_y (vc_cons[currcons].d->vc_saved_y) |
currcons | 270 | drivers/char/console.c | #define translate (vc_cons[currcons].d->vc_translate) |
currcons | 271 | drivers/char/console.c | #define G0_charset (vc_cons[currcons].d->vc_G0_charset) |
currcons | 272 | drivers/char/console.c | #define G1_charset (vc_cons[currcons].d->vc_G1_charset) |
currcons | 273 | drivers/char/console.c | #define saved_G0 (vc_cons[currcons].d->vc_saved_G0) |
currcons | 274 | drivers/char/console.c | #define saved_G1 (vc_cons[currcons].d->vc_saved_G1) |
currcons | 275 | drivers/char/console.c | #define utf (vc_cons[currcons].d->vc_utf) |
currcons | 276 | drivers/char/console.c | #define utf_count (vc_cons[currcons].d->vc_utf_count) |
currcons | 277 | drivers/char/console.c | #define utf_char (vc_cons[currcons].d->vc_utf_char) |
currcons | 278 | drivers/char/console.c | #define video_mem_start (vc_cons[currcons].d->vc_video_mem_start) |
currcons | 279 | drivers/char/console.c | #define video_mem_end (vc_cons[currcons].d->vc_video_mem_end) |
currcons | 280 | drivers/char/console.c | #define video_erase_char (vc_cons[currcons].d->vc_video_erase_char) |
currcons | 281 | drivers/char/console.c | #define disp_ctrl (vc_cons[currcons].d->vc_disp_ctrl) |
currcons | 282 | drivers/char/console.c | #define toggle_meta (vc_cons[currcons].d->vc_toggle_meta) |
currcons | 283 | drivers/char/console.c | #define decscnm (vc_cons[currcons].d->vc_decscnm) |
currcons | 284 | drivers/char/console.c | #define decom (vc_cons[currcons].d->vc_decom) |
currcons | 285 | drivers/char/console.c | #define decawm (vc_cons[currcons].d->vc_decawm) |
currcons | 286 | drivers/char/console.c | #define deccm (vc_cons[currcons].d->vc_deccm) |
currcons | 287 | drivers/char/console.c | #define decim (vc_cons[currcons].d->vc_decim) |
currcons | 288 | drivers/char/console.c | #define deccolm (vc_cons[currcons].d->vc_deccolm) |
currcons | 289 | drivers/char/console.c | #define need_wrap (vc_cons[currcons].d->vc_need_wrap) |
currcons | 290 | drivers/char/console.c | #define has_scrolled (vc_cons[currcons].d->vc_has_scrolled) |
currcons | 291 | drivers/char/console.c | #define kmalloced (vc_cons[currcons].d->vc_kmalloced) |
currcons | 292 | drivers/char/console.c | #define report_mouse (vc_cons[currcons].d->vc_report_mouse) |
currcons | 293 | drivers/char/console.c | #define color (vc_cons[currcons].d->vc_color) |
currcons | 294 | drivers/char/console.c | #define s_color (vc_cons[currcons].d->vc_s_color) |
currcons | 295 | drivers/char/console.c | #define def_color (vc_cons[currcons].d->vc_def_color) |
currcons | 298 | drivers/char/console.c | #define charset (vc_cons[currcons].d->vc_charset) |
currcons | 299 | drivers/char/console.c | #define s_charset (vc_cons[currcons].d->vc_s_charset) |
currcons | 300 | drivers/char/console.c | #define intensity (vc_cons[currcons].d->vc_intensity) |
currcons | 301 | drivers/char/console.c | #define underline (vc_cons[currcons].d->vc_underline) |
currcons | 302 | drivers/char/console.c | #define blink (vc_cons[currcons].d->vc_blink) |
currcons | 303 | drivers/char/console.c | #define reverse (vc_cons[currcons].d->vc_reverse) |
currcons | 304 | drivers/char/console.c | #define s_intensity (vc_cons[currcons].d->vc_s_intensity) |
currcons | 305 | drivers/char/console.c | #define s_underline (vc_cons[currcons].d->vc_s_underline) |
currcons | 306 | drivers/char/console.c | #define s_blink (vc_cons[currcons].d->vc_s_blink) |
currcons | 307 | drivers/char/console.c | #define s_reverse (vc_cons[currcons].d->vc_s_reverse) |
currcons | 308 | drivers/char/console.c | #define ulcolor (vc_cons[currcons].d->vc_ulcolor) |
currcons | 309 | drivers/char/console.c | #define halfcolor (vc_cons[currcons].d->vc_halfcolor) |
currcons | 310 | drivers/char/console.c | #define tab_stop (vc_cons[currcons].d->vc_tab_stop) |
currcons | 311 | drivers/char/console.c | #define palette (vc_cons[currcons].d->vc_palette) |
currcons | 313 | drivers/char/console.c | #define vcmode (vt_cons[currcons]->vc_mode) |
currcons | 386 | drivers/char/console.c | unsigned int currcons, i; |
currcons | 404 | drivers/char/console.c | for (currcons = 0; currcons < MAX_NR_CONSOLES; currcons++) { |
currcons | 405 | drivers/char/console.c | if (!vc_cons_allocated(currcons)) |
currcons | 406 | drivers/char/console.c | newscreens[currcons] = 0; |
currcons | 410 | drivers/char/console.c | for (i = 0; i< currcons; i++) |
currcons | 415 | drivers/char/console.c | newscreens[currcons] = p; |
currcons | 431 | drivers/char/console.c | for (currcons = 0; currcons < MAX_NR_CONSOLES; currcons++) { |
currcons | 432 | drivers/char/console.c | if (!vc_cons_allocated(currcons)) |
currcons | 438 | drivers/char/console.c | nl = (long) newscreens[currcons]; |
currcons | 451 | drivers/char/console.c | kfree_s(vc_scrbuf[currcons], screenbuf_size); |
currcons | 452 | drivers/char/console.c | vc_scrbuf[currcons] = newscreens[currcons]; |
currcons | 456 | drivers/char/console.c | origin = video_mem_start = (long) vc_scrbuf[currcons]; |
currcons | 465 | drivers/char/console.c | gotoxy(currcons, x, y); |
currcons | 466 | drivers/char/console.c | save_cur(currcons); |
currcons | 476 | drivers/char/console.c | void vc_disallocate(unsigned int currcons) |
currcons | 478 | drivers/char/console.c | if (vc_cons_allocated(currcons)) { |
currcons | 480 | drivers/char/console.c | kfree_s(vc_scrbuf[currcons], screenbuf_size); |
currcons | 481 | drivers/char/console.c | if (currcons >= MIN_NR_CONSOLES) |
currcons | 482 | drivers/char/console.c | kfree_s(vc_cons[currcons].d, structsize); |
currcons | 483 | drivers/char/console.c | vc_cons[currcons].d = 0; |
currcons | 488 | drivers/char/console.c | #define set_kbd(x) set_vc_kbd_mode(kbd_table+currcons,x) |
currcons | 489 | drivers/char/console.c | #define clr_kbd(x) clr_vc_kbd_mode(kbd_table+currcons,x) |
currcons | 490 | drivers/char/console.c | #define is_kbd(x) vc_kbd_mode(kbd_table+currcons,x) |
currcons | 519 | drivers/char/console.c | static void gotoxy(int currcons, int new_x, int new_y) |
currcons | 622 | drivers/char/console.c | static void set_origin(int currcons) |
currcons | 627 | drivers/char/console.c | if (currcons != fg_console || console_blanked || vcmode == KD_GRAPHICS) |
currcons | 647 | drivers/char/console.c | static inline void set_cursor(int currcons) |
currcons | 651 | drivers/char/console.c | if (currcons != fg_console || console_blanked || vcmode == KD_GRAPHICS) |
currcons | 666 | drivers/char/console.c | static void scrup(int currcons, unsigned int t, unsigned int b) |
currcons | 700 | drivers/char/console.c | if (currcons == fg_console) |
currcons | 715 | drivers/char/console.c | set_origin(currcons); |
currcons | 733 | drivers/char/console.c | static void scrdown(int currcons, unsigned int t, unsigned int b) |
currcons | 755 | drivers/char/console.c | static void lf(int currcons) |
currcons | 761 | drivers/char/console.c | scrup(currcons,top,bottom); |
currcons | 769 | drivers/char/console.c | static void ri(int currcons) |
currcons | 775 | drivers/char/console.c | scrdown(currcons,top,bottom); |
currcons | 783 | drivers/char/console.c | static inline void cr(int currcons) |
currcons | 789 | drivers/char/console.c | static inline void bs(int currcons) |
currcons | 798 | drivers/char/console.c | static inline void del(int currcons) |
currcons | 803 | drivers/char/console.c | static void csi_J(int currcons, int vpar) |
currcons | 831 | drivers/char/console.c | static void csi_K(int currcons, int vpar) |
currcons | 859 | drivers/char/console.c | static void csi_X(int currcons, int vpar) /* erase the following vpar positions */ |
currcons | 877 | drivers/char/console.c | static void update_attr(int currcons) |
currcons | 904 | drivers/char/console.c | static void default_attr(int currcons) |
currcons | 913 | drivers/char/console.c | static void csi_m(int currcons) |
currcons | 920 | drivers/char/console.c | default_attr(currcons); |
currcons | 1005 | drivers/char/console.c | update_attr(currcons); |
currcons | 1017 | drivers/char/console.c | static void cursor_report(int currcons, struct tty_struct * tty) |
currcons | 1047 | drivers/char/console.c | int currcons = fg_console; |
currcons | 1052 | drivers/char/console.c | static inline unsigned short *screenpos(int currcons, int offset, int viewed) |
currcons | 1055 | drivers/char/console.c | if (viewed && currcons == fg_console) |
currcons | 1061 | drivers/char/console.c | void invert_screen(int currcons, int offset, int count, int viewed) |
currcons | 1066 | drivers/char/console.c | p = screenpos(currcons, offset, viewed); |
currcons | 1083 | drivers/char/console.c | void complement_pos(int currcons, int offset) |
currcons | 1093 | drivers/char/console.c | p = screenpos(currcons, offset, 1); |
currcons | 1100 | drivers/char/console.c | unsigned short screen_word(int currcons, int offset, int viewed) |
currcons | 1102 | drivers/char/console.c | return scr_readw(screenpos(currcons, offset, viewed)); |
currcons | 1106 | drivers/char/console.c | unsigned short *screen_pos(int currcons, int w_offset, int viewed) |
currcons | 1108 | drivers/char/console.c | return screenpos(currcons, 2 * w_offset, viewed); |
currcons | 1111 | drivers/char/console.c | void getconsxy(int currcons, char *p) |
currcons | 1117 | drivers/char/console.c | void putconsxy(int currcons, char *p) |
currcons | 1119 | drivers/char/console.c | gotoxy(currcons, p[0], p[1]); |
currcons | 1120 | drivers/char/console.c | set_cursor(currcons); |
currcons | 1123 | drivers/char/console.c | static void set_mode(int currcons, int on_off) |
currcons | 1146 | drivers/char/console.c | invert_screen(currcons, 0, video_screen_size, 0); |
currcons | 1147 | drivers/char/console.c | update_attr(currcons); |
currcons | 1152 | drivers/char/console.c | gotoxy(currcons,0,0); |
currcons | 1168 | drivers/char/console.c | set_cursor(currcons); |
currcons | 1189 | drivers/char/console.c | static void setterm_command(int currcons) |
currcons | 1196 | drivers/char/console.c | update_attr(currcons); |
currcons | 1203 | drivers/char/console.c | update_attr(currcons); |
currcons | 1208 | drivers/char/console.c | default_attr(currcons); |
currcons | 1209 | drivers/char/console.c | update_attr(currcons); |
currcons | 1218 | drivers/char/console.c | static void insert_char(int currcons) |
currcons | 1233 | drivers/char/console.c | static void insert_line(int currcons) |
currcons | 1235 | drivers/char/console.c | scrdown(currcons,y,bottom); |
currcons | 1239 | drivers/char/console.c | static void delete_char(int currcons) |
currcons | 1252 | drivers/char/console.c | static void delete_line(int currcons) |
currcons | 1254 | drivers/char/console.c | scrup(currcons,y,bottom); |
currcons | 1258 | drivers/char/console.c | static void csi_at(int currcons, unsigned int nr) |
currcons | 1265 | drivers/char/console.c | insert_char(currcons); |
currcons | 1268 | drivers/char/console.c | static void csi_L(int currcons, unsigned int nr) |
currcons | 1275 | drivers/char/console.c | insert_line(currcons); |
currcons | 1278 | drivers/char/console.c | static void csi_P(int currcons, unsigned int nr) |
currcons | 1285 | drivers/char/console.c | delete_char(currcons); |
currcons | 1288 | drivers/char/console.c | static void csi_M(int currcons, unsigned int nr) |
currcons | 1295 | drivers/char/console.c | delete_line(currcons); |
currcons | 1298 | drivers/char/console.c | static void save_cur(int currcons) |
currcons | 1312 | drivers/char/console.c | static void restore_cur(int currcons) |
currcons | 1314 | drivers/char/console.c | gotoxy(currcons,saved_x,saved_y); |
currcons | 1324 | drivers/char/console.c | update_attr(currcons); |
currcons | 1332 | drivers/char/console.c | static void reset_terminal(int currcons, int do_clear) |
currcons | 1360 | drivers/char/console.c | kbd_table[currcons].lockstate = 0; |
currcons | 1361 | drivers/char/console.c | kbd_table[currcons].ledmode = LED_SHOW_FLAGS; |
currcons | 1362 | drivers/char/console.c | kbd_table[currcons].ledflagstate = kbd_table[currcons].default_ledflagstate; |
currcons | 1365 | drivers/char/console.c | default_attr(currcons); |
currcons | 1366 | drivers/char/console.c | update_attr(currcons); |
currcons | 1374 | drivers/char/console.c | gotoxy(currcons,0,0); |
currcons | 1375 | drivers/char/console.c | save_cur(currcons); |
currcons | 1377 | drivers/char/console.c | csi_J(currcons,2); |
currcons | 1414 | drivers/char/console.c | unsigned int currcons; |
currcons | 1417 | drivers/char/console.c | currcons = vt->vc_num; |
currcons | 1418 | drivers/char/console.c | if (!vc_cons_allocated(currcons)) { |
currcons | 1423 | drivers/char/console.c | printk("con_write: tty %d not allocated\n", currcons+1); |
currcons | 1428 | drivers/char/console.c | if (currcons == sel_cons) |
currcons | 1504 | drivers/char/console.c | cr(currcons); |
currcons | 1505 | drivers/char/console.c | lf(currcons); |
currcons | 1508 | drivers/char/console.c | insert_char(currcons); |
currcons | 1531 | drivers/char/console.c | bs(currcons); |
currcons | 1543 | drivers/char/console.c | lf(currcons); |
currcons | 1547 | drivers/char/console.c | cr(currcons); |
currcons | 1566 | drivers/char/console.c | del(currcons); |
currcons | 1586 | drivers/char/console.c | cr(currcons); |
currcons | 1587 | drivers/char/console.c | lf(currcons); |
currcons | 1590 | drivers/char/console.c | ri(currcons); |
currcons | 1593 | drivers/char/console.c | lf(currcons); |
currcons | 1602 | drivers/char/console.c | save_cur(currcons); |
currcons | 1605 | drivers/char/console.c | restore_cur(currcons); |
currcons | 1617 | drivers/char/console.c | reset_terminal(currcons,1); |
currcons | 1635 | drivers/char/console.c | reset_palette (currcons); |
currcons | 1682 | drivers/char/console.c | set_mode(currcons,1); |
currcons | 1685 | drivers/char/console.c | set_mode(currcons,0); |
currcons | 1692 | drivers/char/console.c | cursor_report(currcons,tty); |
currcons | 1702 | drivers/char/console.c | gotoxy(currcons,par[0],y); |
currcons | 1706 | drivers/char/console.c | gotoxy(currcons,x,y-par[0]); |
currcons | 1710 | drivers/char/console.c | gotoxy(currcons,x,y+par[0]); |
currcons | 1714 | drivers/char/console.c | gotoxy(currcons,x+par[0],y); |
currcons | 1718 | drivers/char/console.c | gotoxy(currcons,x-par[0],y); |
currcons | 1722 | drivers/char/console.c | gotoxy(currcons,0,y+par[0]); |
currcons | 1726 | drivers/char/console.c | gotoxy(currcons,0,y-par[0]); |
currcons | 1730 | drivers/char/console.c | gotoxy(currcons,x,par[0]); |
currcons | 1735 | drivers/char/console.c | gotoxy(currcons,par[1],par[0]); |
currcons | 1738 | drivers/char/console.c | csi_J(currcons,par[0]); |
currcons | 1741 | drivers/char/console.c | csi_K(currcons,par[0]); |
currcons | 1744 | drivers/char/console.c | csi_L(currcons,par[0]); |
currcons | 1747 | drivers/char/console.c | csi_M(currcons,par[0]); |
currcons | 1750 | drivers/char/console.c | csi_P(currcons,par[0]); |
currcons | 1768 | drivers/char/console.c | csi_m(currcons); |
currcons | 1773 | drivers/char/console.c | setledstate(kbd_table + currcons, |
currcons | 1786 | drivers/char/console.c | gotoxy(currcons,0,0); |
currcons | 1790 | drivers/char/console.c | save_cur(currcons); |
currcons | 1793 | drivers/char/console.c | restore_cur(currcons); |
currcons | 1796 | drivers/char/console.c | csi_X(currcons, par[0]); |
currcons | 1799 | drivers/char/console.c | csi_at(currcons,par[0]); |
currcons | 1802 | drivers/char/console.c | setterm_command(currcons); |
currcons | 1827 | drivers/char/console.c | csi_J(currcons, 2); |
currcons | 1863 | drivers/char/console.c | set_cursor(currcons); |
currcons | 1896 | drivers/char/console.c | int currcons = fg_console; |
currcons | 1904 | drivers/char/console.c | if (!vc_cons_allocated(currcons)) { |
currcons | 1906 | drivers/char/console.c | printk("console_print: tty %d not allocated ??\n", currcons+1); |
currcons | 1913 | drivers/char/console.c | lf(currcons); |
currcons | 1914 | drivers/char/console.c | cr(currcons); |
currcons | 1926 | drivers/char/console.c | set_cursor(currcons); |
currcons | 1947 | drivers/char/console.c | static void vc_init(unsigned int currcons, unsigned long rows, unsigned long cols, int do_clear) |
currcons | 1949 | drivers/char/console.c | long base = (long) vc_scrbuf[currcons]; |
currcons | 1960 | drivers/char/console.c | reset_vc(currcons); |
currcons | 1962 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_red[j] ; |
currcons | 1963 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_grn[j] ; |
currcons | 1964 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_blu[j] ; |
currcons | 1969 | drivers/char/console.c | vt_cons[currcons]->paste_wait = 0; |
currcons | 1970 | drivers/char/console.c | reset_terminal(currcons, do_clear); |
currcons | 1994 | drivers/char/console.c | int currcons = 0; |
currcons | 2126 | drivers/char/console.c | for (currcons = 0; currcons < MIN_NR_CONSOLES; currcons++) { |
currcons | 2129 | drivers/char/console.c | vc_cons[currcons].d = (struct vc_data *) kmem_start; |
currcons | 2131 | drivers/char/console.c | vt_cons[currcons] = (struct vt_struct *) kmem_start; |
currcons | 2133 | drivers/char/console.c | vc_scrbuf[currcons] = (unsigned short *) kmem_start; |
currcons | 2137 | drivers/char/console.c | vc_init(currcons, video_num_lines, video_num_columns, currcons); |
currcons | 2139 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_red[j] ; |
currcons | 2140 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_grn[j] ; |
currcons | 2141 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_blu[j] ; |
currcons | 2145 | drivers/char/console.c | currcons = fg_console = 0; |
currcons | 2151 | drivers/char/console.c | gotoxy(currcons,orig_x,orig_y); |
currcons | 2152 | drivers/char/console.c | set_origin(currcons); |
currcons | 2153 | drivers/char/console.c | csi_J(currcons, 0); |
currcons | 2180 | drivers/char/console.c | static void get_scrmem(int currcons) |
currcons | 2182 | drivers/char/console.c | memcpyw((unsigned short *)vc_scrbuf[currcons], |
currcons | 2185 | drivers/char/console.c | origin = video_mem_start = (unsigned long)vc_scrbuf[currcons]; |
currcons | 2190 | drivers/char/console.c | static void set_scrmem(int currcons, long offset) |
currcons | 2236 | drivers/char/console.c | int currcons; |
currcons | 2245 | drivers/char/console.c | currcons = fg_console; |
currcons | 2263 | drivers/char/console.c | int currcons; |
currcons | 2280 | drivers/char/console.c | currcons = fg_console; |
currcons | 2564 | 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 | 22 | drivers/char/selection.h | extern void complement_pos(int currcons, int offset); |
currcons | 23 | drivers/char/selection.h | extern void invert_screen(int currcons, int offset, int count, int shift); |
currcons | 31 | drivers/char/selection.h | extern void getconsxy(int currcons, char *p); |
currcons | 32 | 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 | 78 | drivers/char/vt.c | extern void reset_palette(int currcons); |