/linux-5.19.10/drivers/tty/vt/ |
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() 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 …]
|
D | consolemap.c | 187 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()
|
D | vt.c | 137 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 …]
|
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() 1658 for (i = 0; i < MAX_NR_CONSOLES; i++) { in kbd_init()
|
D | vc_screen.c | 67 #if MAX_NR_CONSOLES > 63
|
/linux-5.19.10/drivers/video/console/ |
D | sticon.c | 64 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()
|
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() 713 err = do_take_over_console(&newport_con, 0, MAX_NR_CONSOLES - 1, 1); in newport_probe()
|
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()
|
D | vgacon.c | 957 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/ |
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()
|
D | main.c | 239 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/ |
D | sisusb_con.c | 74 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()
|
D | sisusb.h | 134 int havethisconsole[MAX_NR_CONSOLES];
|
D | sisusb.c | 3117 sisusb_last_vc <= MAX_NR_CONSOLES) in sisusb_probe()
|
/linux-5.19.10/include/uapi/linux/ |
D | vt.h | 11 #define MAX_NR_CONSOLES 63 /* serial lines start at 64 */ macro
|
/linux-5.19.10/arch/alpha/kernel/ |
D | console.c | 67 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1); in locate_and_init_vga()
|
D | process.c | 141 do_take_over_console(&dummy_con, 0, MAX_NR_CONSOLES-1, 1); in common_shutdown_1()
|
/linux-5.19.10/kernel/power/ |
D | console.c | 16 #define SUSPEND_CONSOLE (MAX_NR_CONSOLES-1)
|
/linux-5.19.10/include/linux/ |
D | console_struct.h | 174 extern struct vc vc_cons [MAX_NR_CONSOLES];
|
/linux-5.19.10/arch/mips/pci/ |
D | pci-sb1250.c | 274 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES - 1, 1); in sb1250_pcibios_init()
|
D | pci-bcm1480.c | 249 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1); in bcm1480_pcibios_init()
|
/linux-5.19.10/drivers/video/fbdev/core/ |
D | fbcon.c | 104 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/ |
D | vgaarb.c | 181 MAX_NR_CONSOLES - 1, 1); in vga_remove_vgacon()
|