Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/tty/vt/
Dvt_ioctl.c599 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()
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()
[all …]
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()
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 …]
Dkeyboard.c110 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()
1658 for (i = 0; i < MAX_NR_CONSOLES; i++) { in kbd_init()
Dvc_screen.c67 #if MAX_NR_CONSOLES > 63
/linux-5.19.10/drivers/video/console/
Dsticon.c64 static struct sti_cooked_font *font_data[MAX_NR_CONSOLES];
227 for (i = 0; i < MAX_NR_CONSOLES; i++) { in sticon_set_font()
298 for (i = 0; i < MAX_NR_CONSOLES; i++) in sticon_deinit()
393 for (i = 0; i < MAX_NR_CONSOLES; i++) in sticonsole_init()
400 err = do_take_over_console(&sti_con, 0, MAX_NR_CONSOLES - 1, in sticonsole_init()
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()
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()
Dvgacon.c957 for (i = 0; i < MAX_NR_CONSOLES; i++) { in vgacon_do_font_op()
1014 for (i = 0; i < MAX_NR_CONSOLES; i++) { in vgacon_adjust_height()
/linux-5.19.10/drivers/accessibility/speakup/
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()
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-5.19.10/drivers/usb/misc/sisusbvga/
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()
Dsisusb.h134 int havethisconsole[MAX_NR_CONSOLES];
Dsisusb.c3117 sisusb_last_vc <= MAX_NR_CONSOLES) in sisusb_probe()
/linux-5.19.10/include/uapi/linux/
Dvt.h11 #define MAX_NR_CONSOLES 63 /* serial lines start at 64 */ macro
/linux-5.19.10/arch/alpha/kernel/
Dconsole.c67 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1); in locate_and_init_vga()
Dprocess.c141 do_take_over_console(&dummy_con, 0, MAX_NR_CONSOLES-1, 1); in common_shutdown_1()
/linux-5.19.10/kernel/power/
Dconsole.c16 #define SUSPEND_CONSOLE (MAX_NR_CONSOLES-1)
/linux-5.19.10/include/linux/
Dconsole_struct.h174 extern struct vc vc_cons [MAX_NR_CONSOLES];
/linux-5.19.10/arch/mips/pci/
Dpci-sb1250.c274 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES - 1, 1); in sb1250_pcibios_init()
Dpci-bcm1480.c249 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1); in bcm1480_pcibios_init()
/linux-5.19.10/drivers/video/fbdev/core/
Dfbcon.c104 static struct fbcon_display fb_display[MAX_NR_CONSOLES];
113 static signed char con2fb_map[MAX_NR_CONSOLES];
114 static signed char con2fb_map_boot[MAX_NR_CONSOLES];
129 static unsigned int last_fb_vc = MAX_NR_CONSOLES - 1;
427 for (i = 0, j = 0; i < MAX_NR_CONSOLES; i++) { in fb_console_setup()
443 if (first_fb_vc >= MAX_NR_CONSOLES) in fb_console_setup()
447 if (last_fb_vc < first_fb_vc || last_fb_vc >= MAX_NR_CONSOLES) in fb_console_setup()
448 last_fb_vc = MAX_NR_CONSOLES - 1; in fb_console_setup()
3120 if (con2fb.console < 1 || con2fb.console > MAX_NR_CONSOLES) in fbcon_set_con2fb_map_ioctl()
3144 if (con2fb.console < 1 || con2fb.console > MAX_NR_CONSOLES) in fbcon_get_con2fb_map_ioctl()
[all …]
/linux-5.19.10/drivers/pci/
Dvgaarb.c181 MAX_NR_CONSOLES - 1, 1); in vga_remove_vgacon()