/linux/drivers/tty/vt/ |
H A D | vt_ioctl.c | 599 if (vsa.console == 0 || vsa.console > MAX_NR_CONSOLES) in vt_setactivate() 603 vsa.console = array_index_nospec(vsa.console, MAX_NR_CONSOLES); in vt_setactivate() 651 struct vc_data *vc[MAX_NR_CONSOLES]; in vt_disallocate_all() 655 for (i = 1; i < MAX_NR_CONSOLES; i++) in vt_disallocate_all() 662 for (i = 1; i < MAX_NR_CONSOLES; i++) { in vt_disallocate_all() 701 for (i = 0; i < MAX_NR_CONSOLES; i++) { in vt_resizex() 815 for (i = 0, mask = 2; i < MAX_NR_CONSOLES && mask; in vt_ioctl() 828 for (i = 0; i < MAX_NR_CONSOLES; ++i) in vt_ioctl() 832 i = i < MAX_NR_CONSOLES ? (i+1) : -1; in vt_ioctl() 843 if (arg == 0 || arg > MAX_NR_CONSOLES) in vt_ioctl() [all …]
|
H A D | consolemap.c | 189 static enum translation_map inv_translate[MAX_NR_CONSOLES]; 332 for (i = 0; i < MAX_NR_CONSOLES; i++) { in update_user_maps() 472 for (cons = 0; cons < MAX_NR_CONSOLES; cons++) { in con_unify_unimap() 912 for (i = 0; i < MAX_NR_CONSOLES; i++) in console_map_init()
|
H A D | vt.c | 137 struct vc vc_cons [MAX_NR_CONSOLES]; 140 static const struct consw *con_driver_map[MAX_NR_CONSOLES]; 987 return (i < MAX_NR_CONSOLES && vc_cons[i].d); in vc_cons_allocated() 1053 if (currcons >= MAX_NR_CONSOLES) in vc_allocate() 3302 return co->index >= MAX_NR_CONSOLES ? -EINVAL : 0; in vt_console_setup() 3646 con_driver->last = MAX_NR_CONSOLES - 1; in con_init() 3651 for (i = 0; i < MAX_NR_CONSOLES; i++) in con_init() 3740 console_driver = tty_alloc_driver(MAX_NR_CONSOLES, TTY_DRIVER_REAL_RAW | in vty_init() 3985 if (first == 0 && last == MAX_NR_CONSOLES -1) in vt_bind() 4024 if (first == 0 && last == MAX_NR_CONSOLES -1) in vt_unbind() [all …]
|
H A D | keyboard.c | 110 static struct kbd_struct kbd_table[MAX_NR_CONSOLES]; 567 i = MAX_NR_CONSOLES - 1; in fn_dec_console() 583 if (i == MAX_NR_CONSOLES) in fn_inc_console() 1656 for (i = 0; i < MAX_NR_CONSOLES; i++) { in kbd_init()
|
H A D | vc_screen.c | 67 #if MAX_NR_CONSOLES > 63
|
/linux/drivers/video/console/ |
H A D | sticon.c | 64 static struct sti_cooked_font *font_data[MAX_NR_CONSOLES]; 212 for (i = 0; i < MAX_NR_CONSOLES; i++) { in sticon_set_font() 286 for (i = 0; i < MAX_NR_CONSOLES; i++) in sticon_deinit() 379 for (i = 0; i < MAX_NR_CONSOLES; i++) in sticonsole_init() 386 err = do_take_over_console(&sti_con, 0, MAX_NR_CONSOLES - 1, in sticonsole_init()
|
H A D | newport_con.c | 38 static unsigned char *font_data[MAX_NR_CONSOLES]; 295 for (i = 0; i < MAX_NR_CONSOLES; i++) in newport_exit() 313 for (i = 0; i < MAX_NR_CONSOLES; i++) in newport_startup() 531 for (i = 0; i < MAX_NR_CONSOLES; i++) { in newport_set_font() 715 err = do_take_over_console(&newport_con, 0, MAX_NR_CONSOLES - 1, 1); in newport_probe()
|
H A D | mdacon.c | 188 if (ints[1] < 1 || ints[1] > MAX_NR_CONSOLES || in mdacon_setup() 189 ints[2] < 1 || ints[2] > MAX_NR_CONSOLES) in mdacon_setup()
|
H A D | vgacon.c | 968 for (i = 0; i < MAX_NR_CONSOLES; i++) { in vgacon_do_font_op() 1025 for (i = 0; i < MAX_NR_CONSOLES; i++) { in vgacon_adjust_height()
|
/linux/drivers/accessibility/speakup/ |
H A D | buffers.c | 28 for (i = 0; i < MAX_NR_CONSOLES; i++) { in speakup_start_ttys() 41 for (i = 0; i < MAX_NR_CONSOLES; i++) in speakup_stop_ttys()
|
H A D | main.c | 240 struct st_spk_t *speakup_console[MAX_NR_CONSOLES]; 2346 for (i = 0; i < MAX_NR_CONSOLES; i++) in speakup_exit() 2391 for (i = 0; i < MAX_NR_CONSOLES; i++) in speakup_init() 2450 for (i = 0; i < MAX_NR_CONSOLES; i++) in speakup_init()
|
/linux/include/uapi/linux/ |
H A D | vt.h | 11 #define MAX_NR_CONSOLES 63 /* serial lines start at 64 */ macro
|
/linux/arch/alpha/kernel/ |
H A D | console.c | 68 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1); in locate_and_init_vga()
|
H A D | process.c | 142 do_take_over_console(&dummy_con, 0, MAX_NR_CONSOLES-1, 1); in common_shutdown_1()
|
/linux/kernel/power/ |
H A D | console.c | 16 #define SUSPEND_CONSOLE (MAX_NR_CONSOLES-1)
|
/linux/include/linux/ |
H A D | console_struct.h | 172 extern struct vc vc_cons [MAX_NR_CONSOLES];
|
/linux/arch/mips/pci/ |
H A D | pci-bcm1480.c | 249 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1); in bcm1480_pcibios_init()
|
H A D | pci-sb1250.c | 274 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES - 1, 1); in sb1250_pcibios_init()
|
/linux/drivers/video/fbdev/core/ |
H A D | fbcon.c | 106 static struct fbcon_display fb_display[MAX_NR_CONSOLES]; 115 static signed char con2fb_map[MAX_NR_CONSOLES]; 116 static signed char con2fb_map_boot[MAX_NR_CONSOLES]; 131 static unsigned int last_fb_vc = MAX_NR_CONSOLES - 1; 440 for (i = 0, j = 0; i < MAX_NR_CONSOLES; i++) { in fb_console_setup() 456 if (first_fb_vc >= MAX_NR_CONSOLES) in fb_console_setup() 460 if (last_fb_vc < first_fb_vc || last_fb_vc >= MAX_NR_CONSOLES) in fb_console_setup() 461 last_fb_vc = MAX_NR_CONSOLES - 1; in fb_console_setup() 3101 if (con2fb.console < 1 || con2fb.console > MAX_NR_CONSOLES) in fbcon_set_con2fb_map_ioctl() 3125 if (con2fb.console < 1 || con2fb.console > MAX_NR_CONSOLES) in fbcon_get_con2fb_map_ioctl() [all …]
|
/linux/drivers/pci/ |
H A D | vgaarb.c | 178 MAX_NR_CONSOLES - 1, 1); in vga_remove_vgacon()
|