/linux-6.12.1/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. 39 the last device will be used when you open ``/dev/console``. [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-6.12.1/drivers/tty/serial/ |
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 …]
|
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 …]
|
/linux-6.12.1/include/linux/ |
D | console.h | 2 * linux/include/linux/console.h 42 * @owner: the module to get references of when this console is used 43 * @con_startup: set up the console and return its name (like VGA, EGA, ...) 44 * @con_init: initialize the console on @vc. @init is true for the very first 46 * @con_deinit: deinitialize the console from @vc. 54 * Invoked by csi_M and printing to the console. 55 * @con_switch: notifier about the console switch; it is supposed to return 57 * @con_blank: blank/unblank the console. The target mode is passed in @blank. 60 * @con_font_set: set console @vc font to @font with height @vpitch. @flags can 66 * @con_resize: resize the @vc console to @width x @height. @from_user is true [all …]
|
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-6.12.1/drivers/tty/hvc/ |
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-6.12.1/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 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-6.12.1/kernel/printk/ |
D | nbcon.c | 7 #include <linux/console.h> 25 * Printk console printing implementation for consoles which does not depend 28 * The state of the console is maintained in the "nbcon_state" atomic 31 * The console is locked when: 34 * console. Only higher priority contexts are allowed to take over the 35 * lock. A value of 0 (NBCON_PRIO_NONE) means the console is not locked. 37 * - The 'cpu' field denotes on which CPU the console is locked. It is used 49 * - The 'unsafe' field allows to take over the console in a safe way in the 51 * shared resources or when the console device is manipulated. It can be 52 * cleared, for example, after emitting one character when the console [all …]
|
D | internal.h | 5 #include <linux/console.h> 26 * true, all printing via console lock occurs within a dedicated 99 u64 nbcon_seq_read(struct console *con); 100 void nbcon_seq_force(struct console *con, u64 seq); 101 bool nbcon_alloc(struct console *con); 102 void nbcon_free(struct console *con); 105 bool nbcon_legacy_emit_next_record(struct console *con, bool *handover, 107 bool nbcon_kthread_create(struct console *con); 108 void nbcon_kthread_stop(struct console *con); 112 * Check if the given console is currently capable and allowed to print [all …]
|
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> 75 EXPORT_TRACEPOINT_SYMBOL_GPL(console); 85 * console_mutex protects console_list updates and console->flags updates. 87 * accessible via the console list. 92 * console_sem protects updates to console->seq 93 * and also provides serialization for console printing. 242 * console_list_lock - Lock the console list 244 * For console list or console->flags updates [all …]
|
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-6.12.1/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; 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-6.12.1/drivers/video/console/ |
D | Kconfig | 6 menu "Console display driver support" 9 bool "VGA text console" if EXPERT || !X86 22 <ftp://ibiblio.org/pub/Linux/utils/console/>. 28 tristate "MDA text console (dual-headed)" 42 tristate "SGI Newport Console support" 46 Say Y here if you want the console on the Newport aka XL graphics 54 int "Initial number of console screen columns" 64 int "Initial number of console screen rows" 75 bool "Framebuffer Console support" 82 Low-level framebuffer-based console driver. [all …]
|
/linux-6.12.1/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-6.12.1/drivers/tty/ |
D | Kconfig | 47 bool "Enable character translations in console" if EXPERT 53 bool "Support for console on virtual terminal" if EXPERT 57 The system console is the device which receives all kernel messages 60 a physical terminal) can be used as system console. This is the most 63 you should say Y to "Console on serial port", below). 66 terminal (/dev/tty0) will be used as system console. You can change 67 that with a kernel command line option such as "console=tty3" which 68 would use the third virtual terminal as system console. (Try "man 79 bool "Support for binding and unbinding console drivers" 83 terminal through console drivers. On these systems, at least one [all …]
|
/linux-6.12.1/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-6.12.1/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", 32 stm_console_write(struct console *con, const char *buf, unsigned len) in stm_console_write() 34 struct stm_console *sc = container_of(con, struct stm_console, console); in stm_console_write() 43 strcpy(sc->console.name, "stm_console"); in stm_console_link() 44 sc->console.write = stm_console_write; in stm_console_link() 45 sc->console.flags = CON_ENABLED | CON_PRINTBUFFER; in stm_console_link() [all …]
|
/linux-6.12.1/arch/powerpc/ |
D | Kconfig.debug | 52 warnings can be printed to the console when instructions are 160 bool "Support for early boot text console (BootX or OpenFirmware only)" 179 prompt "Early debugging console" 182 Use the selected console for early debugging. Careful, if you 194 bool "LPAR HV Console" 198 console on vterm 0. 201 bool "LPAR HVSI Console" 205 console on a specified vterm. 220 bool "RTAS Console" 224 Select this to enable early debugging via the RTAS console. [all …]
|
/linux-6.12.1/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", 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-6.12.1/Documentation/driver-api/tty/ |
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-6.12.1/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() 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-6.12.1/arch/m68k/ |
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.
|