| /Linux-v5.4/Documentation/admin-guide/ | 
| D | serial-console.rst | 3 Linux Serial Console 6 To use a serial port as console you need to compile the support into your 10 …ices --> Serial drivers --> 8250/16550 and compatible serial support --> Console on 8250/16550 and… 14 It is possible to specify multiple devices for console output. You can 16 use for console output. 20 	console=device,options 22 	device:		tty0 for the foreground virtual console 23 			ttyX for any other virtual console 35 You can specify multiple console= options on the kernel command line. 37 you open ``/dev/console``. So, for example:: [all …] 
 | 
| D | braille-console.rst | 1 Linux Braille Console 6 console (see :ref:`Documentation/admin-guide/serial-console.rst <serial_console>`), and 8 (in :menuselection:`Device Drivers --> Accessibility support --> Console on braille device`). 10 Then you need to specify a ``console=brl``, option on the kernel command line, the 13 	console=brl,serial_options... 16 :ref:`Documentation/admin-guide/serial-console.rst <serial_console>`. 18 …o for instance you can use ``console=brl,ttyS0`` if the braille device is connected to the first s… 21 By default, the braille device will just show the last kernel message (console 31 For simplicity, only one braille console can be enabled, other uses of 32 ``console=brl,...`` will be discarded.  Also note that it does not interfere with [all …] 
 | 
| /Linux-v5.4/drivers/tty/serial/ | 
| D | Kconfig | 15 	  the console before standard serial driver is probed. The console is 34 	bool "Support for console on AMBA serial port" 39 	  console (the system console is the device which receives all kernel 42 	  Even if you say Y here, the currently visible framebuffer console 43 	  (/dev/tty0) will still be used as the system console by default, but 45 	  "console=ttyAM0". (Try "man bootparam" or see the documentation of 61 	bool "Support for console on AMBA serial port" 67 	  console (the system console is the device which receives all kernel 70 	  Even if you say Y here, the currently visible framebuffer console 71 	  (/dev/tty0) will still be used as the system console by default, but [all …] 
 | 
| D | tegra-tcu.c | 6 #include <linux/console.h> 26 	struct console console;  member 147 static void tegra_tcu_console_write(struct console *cons, const char *s,  in tegra_tcu_console_write() 150 	struct tegra_tcu *tcu = container_of(cons, struct tegra_tcu, console);  in tegra_tcu_console_write() 155 static int tegra_tcu_console_setup(struct console *cons, char *options)  in tegra_tcu_console_setup() 206 	/* setup the console */  in tegra_tcu_probe() 207 	strcpy(tcu->console.name, "ttyTCU");  in tegra_tcu_probe() 208 	tcu->console.device = uart_console_device;  in tegra_tcu_probe() 209 	tcu->console.flags = CON_PRINTBUFFER | CON_ANYTIME;  in tegra_tcu_probe() 210 	tcu->console.index = -1;  in tegra_tcu_probe() [all …] 
 | 
| /Linux-v5.4/Documentation/ia64/ | 
| D | serial.rst | 18 	  as a serial console.  If the user specified "console=ttyS0" 31     and "console=" arguments.  Without an HCDP, device names didn't 41 				 (EFI console    (EFI console 46       MP Console  0xf8030000        ttyS2           ttyS0         ttyS2 51 Console Selection 54     EFI knows what your console devices are, but it doesn't tell the 56     table[1] does tell the kernel where potential serial console 61     So how do you tell Linux which console device to use? 65 	  card) as the console.  Then you don't need to tell Linux 66 	  anything; the kernel will automatically use the EFI console. [all …] 
 | 
| /Linux-v5.4/drivers/tty/hvc/ | 
| D | Kconfig | 7 	  Generic "hypervisor virtual console" infrastructure for various 9 	  It will automatically be selected if one of the back-end console drivers 16 	bool "pSeries Hypervisor Virtual Console support" 22 	  console. This driver allows each pSeries partition to have a console 30 	bool "OPAL Console support" 36 	  PowerNV machines running under OPAL need that driver to get a console 39 	bool "IBM RTAS Console support" 43 	  IBM Console device driver which makes use of RTAS 46 	bool "z/VM IUCV Hypervisor console support (VM only)" 52 	  This driver provides a Hypervisor console (HVC) back-end to access [all …] 
 | 
| /Linux-v5.4/Documentation/fb/ | 
| D | fbcon.rst | 2 The Framebuffer Console 5 The framebuffer console (fbcon), as its name implies, is a text 6 console running on top of the framebuffer device. It has the functionality of 7 any standard text console driver, such as the VGA console, with the added 10 In the x86 architecture, the framebuffer console is optional, and 14 What are the features of fbcon?  The framebuffer console supports 22 The framebuffer console can be enabled by using your favorite kernel 24 buffer Devices->Console display driver support->Framebuffer Console Support. 43 framebuffer console.  Depending on the driver, you may get a blanked or 46 will still get a VGA console. [all …] 
 | 
| /Linux-v5.4/drivers/video/console/ | 
| D | Kconfig | 6 menu "Console display driver support" 9 	bool "VGA text console" if EXPERT || !X86 21 	  <ftp://ibiblio.org/pub/Linux/utils/console/>. 30          The scrollback buffer of the standard VGA console is located in 35 	 down the console. 51 	bool "Persistent Scrollback History for each console by default" 57 	  flushed each time the console is switched. This feature can also be 73 	tristate "MDA text console (dual-headed)" 87         tristate "SGI Newport Console support" 91           Say Y here if you want the console on the Newport aka XL graphics [all …] 
 | 
| /Linux-v5.4/drivers/net/ethernet/cavium/liquidio/ | 
| D | octeon_console.c | 101 /* Structure that defines a single console. 104  * The actual usable size of each console is console_buf_size -1; 423 	struct octeon_console *console;  in octeon_console_handle_result()  local 425 	console = &oct->console[console_num];  in octeon_console_handle_result() 427 	console->waiting = 0;  in octeon_console_handle_result() 433 				struct octeon_console *console,  in output_console_line()  argument 450 			 * having been read from the console).  in output_console_line() 454 			if (console->leftover[0] &&  in output_console_line() 455 			    (line != console->leftover)) {  in output_console_line() 456 				if (console->print)  in output_console_line() [all …] 
 | 
| /Linux-v5.4/include/linux/ | 
| D | console.h | 2  *  linux/include/linux/console.h 43  *		Invoked by csi_M and printing to the console. 44  * @con_set_palette: sets the palette of the console to @table (optional) 45  * @con_scrolldelta: the contents of the console should be scrolled by @lines. 84 	 * Flush the video console driver's scrollback buffer 88 	 * Prepare the console for the debugger.  This includes, but is not 89 	 * limited to, unblanking the console, loading an appropriate 94 	 * Restore the console to its pre-debug state as closely as possible. 101 extern const struct consw dummy_con;	/* dummy console buffer */ 102 extern const struct consw vga_con;	/* VGA text console */ [all …] 
 | 
| D | vt_kern.h | 6  * this really is an extension of the vc_cons structure in console.c, but 35 /* console.c */ 37 int vc_allocate(unsigned int console); 38 int vc_cons_allocated(unsigned int console); 40 struct vc_data *vc_deallocate(unsigned int console); 165 extern int vt_do_kdskbmode(int console, unsigned int arg); 166 extern int vt_do_kdskbmeta(int console, unsigned int arg); 170 					int perm, int console); 173 extern int vt_do_kdskled(int console, int cmd, unsigned long arg, int perm); 174 extern int vt_do_kdgkbmode(int console); [all …] 
 | 
| /Linux-v5.4/Documentation/driver-api/ | 
| D | console.rst | 4 Console Drivers 7 The Linux kernel has 2 general types of console drivers.  The first type is 15 any time with each driver sharing the console with other drivers including 16 the system driver. However, modular drivers cannot take over the console 19 of driver occupying the consoles.) They can only take over the console that is 21 released by the console, the system driver will take over. 25 	 do_take_over_console() - load and bind driver to console layer 35 examined. This shows the console backends currently registered by the 89 		Support for binding and unbinding console drivers 94   console to KD_GRAPHICS is X. [all …] 
 | 
| /Linux-v5.4/arch/parisc/kernel/ | 
| D | pdc_cons.c | 3  *    PDC Console support - ie use firmware to dump text via boot console 20  *  The PDC console is a simple console, which can be used for debugging  22  *  other console works. 34 #include <linux/console.h> 43 static struct console pdc_cons; 45 static void pdc_console_write(struct console *co, const char *s, unsigned count)  in pdc_console_write() 57 int pdc_console_poll_key(struct console *co)  in pdc_console_poll_key() 69 static int pdc_console_setup(struct console *co, char *options)  in pdc_console_setup() 149 	/* Check if the console driver is still registered.  in pdc_console_tty_driver_init() 150 	 * It is unregistered if the pdc console was not selected as the  in pdc_console_tty_driver_init() [all …] 
 | 
| /Linux-v5.4/lib/fonts/ | 
| D | Kconfig | 16 	  your frame buffer console usually use. 30 	  provided by the text console 80x50 (and higher) modes). 43 	  provided by the VGA text console 80x25 mode. 48 	bool "Mac console 6x11 font (not supported by all drivers)" if FONTS 52 	  Small console font with Macintosh-style high-half glyphs.  Some Mac 56 	bool "console 7x14 font (not supported by all drivers)" if FONTS 59 	  Console font with characters just a bit smaller than the default. 64 	bool "Pearl (old m68k) console 8x8 font" if FONTS 68 	  Small console font with PC-style control-character and high-half 72 	bool "Acorn console 8x8 font" if FONTS [all …] 
 | 
| /Linux-v5.4/drivers/hwtracing/stm/ | 
| D | console.c | 3  * Simple kernel console driver for STM devices 6  * STM console will send kernel messages over STM devices to a trace host. 11 #include <linux/console.h> 20 	struct console		console;  member 23 		.name		= "console", 31 stm_console_write(struct console *con, const char *buf, unsigned len)  in stm_console_write() 33 	struct stm_console *sc = container_of(con, struct stm_console, console);  in stm_console_write() 42 	strcpy(sc->console.name, "stm_console");  in stm_console_link() 43 	sc->console.write = stm_console_write;  in stm_console_link() 44 	sc->console.flags = CON_ENABLED | CON_PRINTBUFFER;  in stm_console_link() [all …] 
 | 
| /Linux-v5.4/arch/um/drivers/ | 
| D | stderr_console.c | 4 #include <linux/console.h> 9 /* trivial console driver -- simply dump everything to stderr                    */ 13  * boot process it becomes the default console. 19 static void stderr_console_write(struct console *console, const char *string,  in stderr_console_write()  argument 25 static struct console stderr_console = { 48 /* The previous behavior of not unregistering led to /dev/console being 51  * console to become the default console, and /dev/console can then be 54  * normal console is good enough to show you all available output.
  | 
| D | stdio_console.c | 12 #include <linux/console.h> 32 	printk(KERN_INFO "Virtual console %d assigned device '%s'\n", dev,  in stdio_announce() 39 	.xterm_title	= "Virtual Console #%d", 50 	.name 			= "UML console", 57 	.read_irq_name 		= "console", 59 	.write_irq_name 	= "console-write", 116 static void uml_console_write(struct console *console, const char *string,  in uml_console_write()  argument 119 	struct line *line = &vts[console->index];  in uml_console_write() 127 static struct tty_driver *uml_console_device(struct console *c, int *index)  in uml_console_device() 133 static int uml_console_setup(struct console *co, char *options)  in uml_console_setup() [all …] 
 | 
| /Linux-v5.4/drivers/tty/ | 
| D | Kconfig | 48 	bool "Enable character translations in console" if EXPERT 54 	bool "Support for console on virtual terminal" if EXPERT 58 	  The system console is the device which receives all kernel messages 61 	  a physical terminal) can be used as system console. This is the most 64 	  you should say Y to "Console on serial port", below). 67 	  terminal (/dev/tty0) will be used as system console. You can change 68 	  that with a kernel command line option such as "console=tty3" which 69 	  would use the third virtual terminal as system console. (Try "man 85        bool "Support for binding and unbinding console drivers" 89          terminal through console drivers. On these systems, at least one [all …] 
 | 
| /Linux-v5.4/kernel/printk/ | 
| D | braille.h | 14  * Setup console according to braille options. 24 _braille_register_console(struct console *console, struct console_cmdline *c); 27 _braille_unregister_console(struct console *console); 43 _braille_register_console(struct console *console, struct console_cmdline *c)  in _braille_register_console()  argument 49 _braille_unregister_console(struct console *console)  in _braille_unregister_console()  argument
  | 
| D | braille.c | 5 #include <linux/console.h> 38 _braille_register_console(struct console *console, struct console_cmdline *c)  in _braille_register_console()  argument 43 		console->flags |= CON_BRL;  in _braille_register_console() 44 		rtn = braille_register_console(console, c->index, c->options,  in _braille_register_console() 52 _braille_unregister_console(struct console *console)  in _braille_unregister_console()  argument 54 	if (console->flags & CON_BRL)  in _braille_unregister_console() 55 		return braille_unregister_console(console);  in _braille_unregister_console()
  | 
| /Linux-v5.4/arch/powerpc/ | 
| D | Kconfig.debug | 52 	  warnings can be printed to the console when instructions are 142 	bool "Support for early boot text console (BootX or OpenFirmware only)" 159 	prompt "Early debugging console" 162 	  Use the selected console for early debugging. Careful, if you 174 	bool "LPAR HV Console" 178 	  console on vterm 0. 181 	bool "LPAR HVSI Console" 185 	  console on a specified vterm. 200 	bool "RTAS Console" 204 	  Select this to enable early debugging via the RTAS console. [all …] 
 | 
| /Linux-v5.4/tools/testing/selftests/rcutorture/bin/ | 
| D | kvm-find-errors.sh | 4 # Invoke a text editor on all console.log files for all runs with diagnostics, 5 # that is, on all such files having a console.log.diags counterpart. 6 # Note that both console.log.diags and console.log are passed to the 8 # idea of what to search for in the console.log file. 45 	echo Build-only run, no console logs to check. 48 # Find console logs with errors 50 for i in ${rundir}/*/console.log 62 	echo No errors in console logs.
  | 
| /Linux-v5.4/drivers/accessibility/braille/ | 
| D | braille_console.c | 5  * By default, shows console messages on the braille device. 14 #include <linux/console.h> 44 /* mini console */ 53 /* show console ? (or show VC) */ 59 static struct console *braille_co; 342  * Called from printk.c when console=brl is given 345 int braille_register_console(struct console *console, int index,  in braille_register_console()  argument 350 	if (!(console->flags & CON_BRL))  in braille_register_console() 357 	if (console->setup) {  in braille_register_console() 358 		ret = console->setup(console, console_options);  in braille_register_console() [all …] 
 | 
| /Linux-v5.4/drivers/s390/char/ | 
| D | sclp_con.c | 3  * SCLP line mode console driver 11 #include <linux/console.h> 30 /* List of free pages that can be used for console output buffering */ 34 /* Pointer to current console buffer */ 36 /* Timer for delayed output of console messages */ 43 /* Output format for console messages */ 134  * Drop oldest console buffer if sclp_con_drop is set 159  * Writes the given message to S390 system console 162 sclp_console_write(struct console *console, const char *message,  in sclp_console_write()  argument 177 		/* make sure we have a console output buffer */  in sclp_console_write() [all …] 
 | 
| /Linux-v5.4/drivers/usb/serial/ | 
| D | console.c | 3  * USB Serial Console driver 17 #include <linux/console.h> 29 static struct console usbcons; 33  * USB Serial console driver 36  * and implements a phony serial console in the same way that 43  * console speeds based on the command line arguments. 55 static int usb_console_setup(struct console *co, char *options)  in usb_console_setup() 106 	 * no need to check the index here: if the index is wrong, console  in usb_console_setup() 155 			dev_err(&port->dev, "could not open USB console port\n");  in usb_console_setup() 174 	/* The console is special in terms of closing the device so  in usb_console_setup() [all …] 
 |