| /linux/Documentation/admin-guide/ |
| H A 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. 39 the last device will be used when you open ``/dev/console``. [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | Kconfig | 14 the console before standard serial driver is probed. The console is 33 bool "Support for console on AMBA serial port" 38 console (the system console is the device which receives all kernel 41 Even if you say Y here, the currently visible framebuffer console 42 (/dev/tty0) will still be used as the system console by default, but 44 "console=ttyAM0". (Try "man bootparam" or see the documentation of 60 bool "Support for console on AMBA serial port" 66 console (the system console is the device which receives all kernel 69 Even if you say Y here, the currently visible framebuffer console 70 (/dev/tty0) will still be used as the system console by default, but [all …]
|
| H A D | tegra-tcu.c | 6 #include <linux/console.h> 25 struct console console; member 148 static void tegra_tcu_console_write(struct console *cons, const char *s, in tegra_tcu_console_write() 151 struct tegra_tcu *tcu = container_of(cons, struct tegra_tcu, console); in tegra_tcu_console_write() 156 static int tegra_tcu_console_setup(struct console *cons, char *options) in tegra_tcu_console_setup() 200 /* setup the console */ in tegra_tcu_probe() 201 strcpy(tcu->console.name, "ttyTCU"); in tegra_tcu_probe() 202 tcu->console.device = uart_console_device; in tegra_tcu_probe() 203 tcu->console.flags = CON_PRINTBUFFER | CON_ANYTIME; in tegra_tcu_probe() 204 tcu->console.index = -1; in tegra_tcu_probe() [all …]
|
| H A D | tegra-utc.c | 6 #include <linux/console.h> 59 struct console console; member 364 static void tegra_utc_early_write(struct console *con, const char *s, unsigned int n) in tegra_utc_early_write() 414 static void tegra_utc_console_write_atomic(struct console *cons, struct nbcon_write_context *wctxt) in tegra_utc_console_write_atomic() 416 struct tegra_utc_port *tup = container_of(cons, struct tegra_utc_port, console); in tegra_utc_console_write_atomic() 442 static void tegra_utc_console_write_thread(struct console *cons, struct nbcon_write_context *wctxt) in tegra_utc_console_write_thread() 444 struct tegra_utc_port *tup = container_of(cons, struct tegra_utc_port, console); in tegra_utc_console_write_thread() 462 static void tegra_utc_console_device_lock(struct console *cons, unsigned long *flags) in tegra_utc_console_device_lock() 464 struct tegra_utc_port *tup = container_of(cons, struct tegra_utc_port, console); in tegra_utc_console_device_lock() 470 static void tegra_utc_console_device_unlock(struct console *cons, unsigned long flags) in tegra_utc_console_device_unlock() [all …]
|
| /linux/include/linux/ |
| H A D | console.h | 2 * linux/include/linux/console.h 43 * @owner: the module to get references of when this console is used 44 * @con_startup: set up the console and return its name (like VGA, EGA, ...) 45 * @con_init: initialize the console on @vc. @init is true for the very first 47 * @con_deinit: deinitialize the console from @vc. 55 * Invoked by csi_M and printing to the console. 56 * @con_switch: notifier about the console switch; it is supposed to return 58 * @con_blank: blank/unblank the console. The target mode is passed in @blank. 61 * @con_font_set: set console @vc font to @font with height @vpitch. @flags can 67 * @con_resize: resize the @vc console to @width x @height. @from_user is true [all …]
|
| H A D | vt_kern.h | 6 * this really is an extension of the vc_cons structure in console.c, but 24 /* console.c */ 26 int vc_allocate(unsigned int console); 27 int vc_cons_allocated(unsigned int console); 30 struct vc_data *vc_deallocate(unsigned int console); 157 int vt_do_kdskbmode(unsigned int console, unsigned int arg); 158 int vt_do_kdskbmeta(unsigned int console, unsigned int arg); 162 unsigned int console); 164 int vt_do_kdskled(unsigned int console, int cmd, unsigned long arg, int perm); 165 int vt_do_kdgkbmode(unsigned int console); [all …]
|
| /linux/drivers/tty/hvc/ |
| H A D | Kconfig | 6 Generic "hypervisor virtual console" infrastructure for various 8 It will automatically be selected if one of the back-end console drivers 15 bool "pSeries Hypervisor Virtual Console support" 21 console. This driver allows each pSeries partition to have a console 29 bool "OPAL Console support" 35 PowerNV machines running under OPAL need that driver to get a console 38 bool "IBM RTAS Console support" 42 IBM Console device driver which makes use of RTAS 45 bool "z/VM IUCV Hypervisor console support (VM only)" 51 This driver provides a Hypervisor console (HVC) back-end to access [all …]
|
| /linux/kernel/printk/ |
| H A D | nbcon.c | 7 #include <linux/console.h> 27 * Printk console printing implementation for consoles which does not depend 30 * The state of the console is maintained in the "nbcon_state" atomic 33 * The console is locked when: 36 * console. Only higher priority contexts are allowed to take over the 37 * lock. A value of 0 (NBCON_PRIO_NONE) means the console is not locked. 39 * - The 'cpu' field denotes on which CPU the console is locked. It is used 51 * - The 'unsafe' field allows to take over the console in a safe way in the 53 * shared resources or when the console device is manipulated. It can be 54 * cleared, for example, after emitting one character when the console [all …]
|
| H A D | printk.c | 10 * to the console. Added hook for sending the console messages 11 * elsewhere, in preparation for a serial line console (someday). 26 #include <linux/console.h> 76 EXPORT_TRACEPOINT_SYMBOL_GPL(console); 86 * console_mutex protects console_list updates and console->flags updates. 88 * accessible via the console list. 93 * console_sem protects updates to console->seq 94 * and also provides serialization for console printing. 243 * console_list_lock - Lock the console list 245 * For console list or console->flags updates [all …]
|
| H A D | internal.h | 5 #include <linux/console.h> 25 * true, all printing via console lock occurs within a dedicated 55 /* always show on console, ignore console_loglevel */ 102 u64 nbcon_seq_read(struct console *con); 103 void nbcon_seq_force(struct console *con, u64 seq); 104 bool nbcon_alloc(struct console *con); 105 void nbcon_free(struct console *con); 108 bool nbcon_legacy_emit_next_record(struct console *con, bool *handover, 110 bool nbcon_kthread_create(struct console *con); 111 void nbcon_kthread_stop(struct console *con); [all …]
|
| H A 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
|
| H A 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/drivers/net/ethernet/cavium/liquidio/ |
| H A D | octeon_console.c | 101 /* Structure that defines a single console. 104 * The actual usable size of each console is console_buf_size -1; 422 struct octeon_console *console; in octeon_console_handle_result() local 424 console = &oct->console[console_num]; in octeon_console_handle_result() 426 console->waiting = 0; in octeon_console_handle_result() 432 struct octeon_console *console, in output_console_line() argument 449 * having been read from the console). in output_console_line() 453 if (console->leftover[0] && in output_console_line() 454 (line != console->leftover)) { in output_console_line() 455 if (console->print) in output_console_line() [all …]
|
| /linux/Documentation/driver-api/ |
| H A 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/lib/fonts/ |
| H A 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/arch/um/drivers/ |
| H A 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.
|
| H A 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", 56 .read_irq_name = "console", 57 .write_irq_name = "console-write", 112 static void uml_console_write(struct console *console, const char *string, in uml_console_write() argument 115 struct line *line = &vts[console->index]; in uml_console_write() 123 static struct tty_driver *uml_console_device(struct console *c, int *index) in uml_console_device() 129 static int uml_console_setup(struct console *co, char *options) in uml_console_setup() [all …]
|
| /linux/drivers/usb/serial/ |
| H A 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() 109 * no need to check the index here: if the index is wrong, console in usb_console_setup() 158 dev_err(&port->dev, "could not open USB console port\n"); in usb_console_setup() 177 /* The console is special in terms of closing the device so in usb_console_setup() [all …]
|
| /linux/Documentation/driver-api/tty/ |
| H A D | console.rst | 4 Console title 9 Struct Console 12 .. kernel-doc:: include/linux/console.h 13 :identifiers: console cons_flags 18 .. kernel-doc:: include/linux/console.h 24 .. kernel-doc:: include/linux/console.h 27 Console functions 30 .. kernel-doc:: include/linux/console.h
|
| /linux/arch/m68k/ |
| H A D | Kconfig.devices | 45 tristate "NatFeat console driver" 48 Say Y to include support for the ARAnyM NatFeat console driver 49 which allows the console output to be redirected to the stderr 122 bool "Support for serial port console" 126 system console (the system console is the device which receives all 131 Even if you say Y here, the currently visible virtual console 132 (/dev/tty0) will still be used as the system console by default, but 134 "console=ttyS1". (Try "man bootparam" or see the documentation of 138 If you don't have a graphical console and you say Y here, the 140 system console.
|
| /linux/drivers/accessibility/braille/ |
| H A D | braille_console.c | 5 * By default, shows console messages on the braille device. 14 #include <linux/console.h> 43 /* mini console */ 52 /* show console ? (or show VC) */ 58 static struct console *braille_co; 345 * Called from printk.c when console=brl is given 348 int braille_register_console(struct console *console, int index, in braille_register_console() argument 358 if (console->setup) { in braille_register_console() 359 ret = console->setup(console, console_options); in braille_register_console() 363 console->flags |= CON_ENABLED; in braille_register_console() [all …]
|
| /linux/Documentation/arch/powerpc/ |
| H A D | hvcs.rst | 2 HVCS IBM "Hypervisor Virtual Console Server" Installation Guide 36 This is the device driver for the IBM Hypervisor Virtual Console Server, 79 <*> IBM Hypervisor Virtual Console Server Support 91 <M> IBM Hypervisor Virtual Console Server Support 214 to provide real time console interaction with a Linux partition's console, 220 passed through them are NOT acceptable for providing interactive console 229 interacting with a Linux console via an hvcs device. These programs simply 234 In order to ensure proper functioning of console applications one must make 235 sure that once connected to a /dev/hvcs console that the console's $TERM 238 kermit to connect to /dev/hvcs0 when the console prompt becomes available [all …]
|
| /linux/drivers/s390/char/ |
| H A D | sclp_con.c | 3 * SCLP line mode console driver 11 #include <linux/console.h> 31 /* List of free pages that can be used for console output buffering */ 35 /* Pointer to current console buffer */ 37 /* Timer for delayed output of console messages */ 42 /* Output format for console messages */ 132 * Drop oldest console buffer if sclp_con_drop is set 157 * Writes the given message to S390 system console 160 sclp_console_write(struct console *console, const char *message, in sclp_console_write() argument 175 /* make sure we have a console output buffer */ in sclp_console_write() [all …]
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A 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. 54 echo Build-only run, no console logs to check. 58 # Find console logs with errors 60 for i in ${rundir}/*/console.log 72 echo No errors in console logs.
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_early.c | 3 * Early serial console for 8250/16550 devices 13 * Instead of specifying the console device as, e.g., "ttyS0", 21 * console=uart8250,io,0x3f8,9600n8 22 * console=uart8250,mmio,0xff5e0000,115200n8 23 * console=uart8250,mmio32,0xff5e0000,115200n8 28 #include <linux/console.h> 99 static void early_serial8250_write(struct console *console, in early_serial8250_write() argument 102 struct earlycon_device *device = console->data; in early_serial8250_write() 109 static int early_serial8250_read(struct console *console, in early_serial8250_read() argument 112 struct earlycon_device *device = console->data; in early_serial8250_read()
|