Home
last modified time | relevance | path

Searched refs:MAX_NR_CONSOLES (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/tty/vt/
A Dvt_ioctl.c651 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()
816 for (i = 0, mask = 2; i < MAX_NR_CONSOLES && mask; in vt_ioctl()
829 for (i = 0; i < MAX_NR_CONSOLES; ++i) in vt_ioctl()
833 i = i < MAX_NR_CONSOLES ? (i+1) : -1; in vt_ioctl()
844 if (arg == 0 || arg > MAX_NR_CONSOLES) in vt_ioctl()
868 if (arg == 0 || arg > MAX_NR_CONSOLES) in vt_ioctl()
897 if (arg > MAX_NR_CONSOLES) in vt_ioctl()
[all …]
A Dconsolemap.c187 static int inv_translate[MAX_NR_CONSOLES];
302 for (i = 0; i < MAX_NR_CONSOLES; i++) { in update_user_maps()
439 for (i = 0; i < MAX_NR_CONSOLES; i++) { in con_unify_unimap()
852 for (i = 0; i < MAX_NR_CONSOLES; i++) in console_map_init()
A Dvt.c137 struct vc vc_cons [MAX_NR_CONSOLES];
140 static const struct consw *con_driver_map[MAX_NR_CONSOLES];
1050 return (i < MAX_NR_CONSOLES && vc_cons[i].d); in vc_cons_allocated()
1116 if (currcons >= MAX_NR_CONSOLES) in vc_allocate()
3507 con_driver->last = MAX_NR_CONSOLES - 1; in con_init()
3512 for (i = 0; i < MAX_NR_CONSOLES; i++) in con_init()
3602 console_driver = tty_alloc_driver(MAX_NR_CONSOLES, TTY_DRIVER_REAL_RAW | in vty_init()
3847 if (first == 0 && last == MAX_NR_CONSOLES -1) in vt_bind()
3886 if (first == 0 && last == MAX_NR_CONSOLES -1) in vt_unbind()
3993 for (i = 0; i < MAX_NR_CONSOLES; i++) { in con_is_bound()
[all …]
A Dkeyboard.c110 static struct kbd_struct kbd_table[MAX_NR_CONSOLES];
560 i = MAX_NR_CONSOLES - 1; in fn_dec_console()
576 if (i == MAX_NR_CONSOLES) in fn_inc_console()
1646 for (i = 0; i < MAX_NR_CONSOLES; i++) { in kbd_init()
A Dvc_screen.c67 #if MAX_NR_CONSOLES > 63
/linux/drivers/video/console/
A Dsticon.c63 static struct sti_cooked_font *font_data[MAX_NR_CONSOLES];
226 for (i = 0; i < MAX_NR_CONSOLES; i++) { in sticon_set_font()
297 for (i = 0; i < MAX_NR_CONSOLES; i++) in sticon_deinit()
392 for (i = 0; i < MAX_NR_CONSOLES; i++) in sticonsole_init()
397 err = do_take_over_console(&sti_con, 0, MAX_NR_CONSOLES - 1, in sticonsole_init()
A Dnewport_con.c38 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()
713 err = do_take_over_console(&newport_con, 0, MAX_NR_CONSOLES - 1, 1); in newport_probe()
A Dmdacon.c188 if (ints[1] < 1 || ints[1] > MAX_NR_CONSOLES || in mdacon_setup()
189 ints[2] < 1 || ints[2] > MAX_NR_CONSOLES) in mdacon_setup()
A Dvgacon.c978 for (i = 0; i < MAX_NR_CONSOLES; i++) { in vgacon_do_font_op()
1035 for (i = 0; i < MAX_NR_CONSOLES; i++) { in vgacon_adjust_height()
/linux/drivers/accessibility/speakup/
A Dbuffers.c28 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()
A Dmain.c239 struct st_spk_t *speakup_console[MAX_NR_CONSOLES];
2332 for (i = 0; i < MAX_NR_CONSOLES; i++) in speakup_exit()
2377 for (i = 0; i < MAX_NR_CONSOLES; i++) in speakup_init()
2436 for (i = 0; i < MAX_NR_CONSOLES; i++) in speakup_init()
/linux/drivers/usb/misc/sisusbvga/
A Dsisusb_con.c74 static struct sisusb_usb_data *mysisusbs[MAX_NR_CONSOLES];
287 for(i = 0; i < MAX_NR_CONSOLES; i++) { in sisusbcon_deinit()
291 if (i == MAX_NR_CONSOLES) { in sisusbcon_deinit()
1109 for (i = 0; i < MAX_NR_CONSOLES; i++) { in sisusbcon_do_font_op()
1176 for (i = 0; i < MAX_NR_CONSOLES; i++) { in sisusbcon_do_font_op()
1379 first > MAX_NR_CONSOLES || in sisusb_console_init()
1380 last > MAX_NR_CONSOLES) { in sisusb_console_init()
1471 for (i = 0; i < MAX_NR_CONSOLES; i++) in sisusb_console_exit()
1494 for (i = 0; i < MAX_NR_CONSOLES; i++) in sisusb_init_concode()
A Dsisusb.h134 int havethisconsole[MAX_NR_CONSOLES];
A Dsisusb.c3117 sisusb_last_vc <= MAX_NR_CONSOLES) in sisusb_probe()
/linux/include/uapi/linux/
A Dvt.h11 #define MAX_NR_CONSOLES 63 /* serial lines start at 64 */ macro
/linux/arch/alpha/kernel/
A Dconsole.c67 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1); in locate_and_init_vga()
A Dprocess.c141 do_take_over_console(&dummy_con, 0, MAX_NR_CONSOLES-1, 1); in common_shutdown_1()
/linux/kernel/power/
A Dconsole.c16 #define SUSPEND_CONSOLE (MAX_NR_CONSOLES-1)
/linux/include/linux/
A Dconsole_struct.h174 extern struct vc vc_cons [MAX_NR_CONSOLES];
/linux/arch/mips/pci/
A Dpci-sb1250.c274 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES - 1, 1); in sb1250_pcibios_init()
A Dpci-bcm1480.c249 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1); in bcm1480_pcibios_init()
/linux/drivers/video/fbdev/core/
A Dfbcon.c108 static struct fbcon_display fb_display[MAX_NR_CONSOLES];
110 static signed char con2fb_map[MAX_NR_CONSOLES];
111 static signed char con2fb_map_boot[MAX_NR_CONSOLES];
119 static int last_fb_vc = MAX_NR_CONSOLES - 1;
441 for (i = 0, j = 0; i < MAX_NR_CONSOLES; i++) { in fb_console_setup()
2533 if (con2fb.console < 1 || con2fb.console > MAX_NR_CONSOLES) in fbcon_set_con2fb_map_ioctl()
2557 if (con2fb.console < 1 || con2fb.console > MAX_NR_CONSOLES) in fbcon_get_con2fb_map_ioctl()
2874 for (i = 0; i < MAX_NR_CONSOLES; i++) in fb_console_init()
/linux/drivers/gpu/vga/
A Dvgaarb.c203 MAX_NR_CONSOLES - 1, 1); in vga_remove_vgacon()

Completed in 58 milliseconds