| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | octeon_console.c | 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 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() 456 (*console->print)(oct, (u32)console_num, in output_console_line() 457 console->leftover, in output_console_line() 459 console->leftover[0] = '\0'; in output_console_line() [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | serial-console.rst | 6 To use a serial port as console you need to compile the support into your 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``. 42 console=ttyS1,9600 console=tty0 44 defines that opening ``/dev/console`` will get you the current foreground [all …]
|
| /linux/include/linux/ |
| H A D | console.h | 264 struct console; 282 struct console *console; member 338 struct console { struct 340 void (*write)(struct console *co, const char *s, unsigned int count); argument 341 int (*read)(struct console *co, char *s, unsigned int count); argument 342 struct tty_driver *(*device)(struct console *co, int *index); argument 344 int (*setup)(struct console *co, char *options); argument 345 int (*exit)(struct console *co); argument 346 int (*match)(struct console *co, char *name, int idx, char *options); argument 388 void (*write_atomic)(struct console *con, struct nbcon_write_context *wctxt); argument [all …]
|
| H A D | vt_kern.h | 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); 166 int vt_do_kdgkbmeta(unsigned int console); 167 void vt_reset_unicode(unsigned int console); [all …]
|
| /linux/kernel/printk/ |
| H A D | nbcon.c | 133 static inline void nbcon_state_set(struct console *con, struct nbcon_state *new) in nbcon_state_set() 143 static inline void nbcon_state_read(struct console *con, struct nbcon_state *state) in nbcon_state_read() 156 static inline bool nbcon_state_try_cmpxchg(struct console *con, struct nbcon_state *cur, in nbcon_state_try_cmpxchg() 168 u64 nbcon_seq_read(struct console *con) in nbcon_seq_read() 183 void nbcon_seq_force(struct console *con, u64 seq) in nbcon_seq_force() 210 struct console *con = ctxt->console; in nbcon_seq_try_update() 247 struct console *con = ctxt->console; in nbcon_context_try_acquire_direct() 355 struct console *con = ctxt->console; in nbcon_context_try_acquire_requested() 438 struct console *con = ctxt->console; in nbcon_context_try_acquire_handover() 554 struct console *con = ctxt->console; in nbcon_context_try_acquire_hostile() [all …]
|
| H A D | braille.h | 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 | internal.h | 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); 118 static inline void nbcon_kthread_wake(struct console *con) in nbcon_kthread_wake() 154 static inline u64 nbcon_seq_read(struct console *con) { return 0; } in nbcon_seq_read() 155 static inline void nbcon_seq_force(struct console *con, u64 seq) { } in nbcon_seq_force() [all …]
|
| H A D | braille.c | 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()
|
| H A D | printk.c | 76 EXPORT_TRACEPOINT_SYMBOL_GPL(console); 2458 static bool __pr_flush(struct console *con, int timeout_ms, bool reset_on_progress); 2470 static bool __pr_flush(struct console *con, int timeout_ms, bool reset_on_progress) { return true; } in __pr_flush() 2475 struct console *early_console; 2734 struct console *con; in console_suspend_all() 2768 struct console *con; in console_resume_all() 3072 static bool console_emit_next_record(struct console *con, bool *handover, int cookie) in console_emit_next_record() 3145 static bool console_emit_next_record(struct console *con, bool *handover, int cookie) in console_emit_next_record() 3185 struct console *con; in console_flush_one_record() 3384 struct console *c; in console_unblank() [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 21 console. This driver allows each pSeries partition to have a console 35 PowerNV machines running under OPAL need that driver to get a console 45 bool "z/VM IUCV Hypervisor console support (VM only)" 51 This driver provides a Hypervisor console (HVC) back-end to access 52 a Linux (console) terminal via a z/VM IUCV communication path. 61 Xen virtual console device driver 72 bool "udbg based fake hypervisor console" 77 no other console mechanism exist but udbg, to get you a quick [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 | 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() 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() 205 tcu->console.write = tegra_tcu_console_write; in tegra_tcu_probe() 206 tcu->console.setup = tegra_tcu_console_setup; in tegra_tcu_probe() [all …]
|
| H A D | tegra-utc.c | 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() 472 struct tegra_utc_port *tup = container_of(cons, struct tegra_utc_port, console); in tegra_utc_console_device_unlock() [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | console.rst | 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. 96 How useful is this feature? This is very useful for console driver [all …]
|
| /linux/drivers/accessibility/braille/ |
| H A D | braille_console.c | 58 static struct console *braille_co; 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() 364 console->index = index; in braille_register_console() 365 braille_co = console; in braille_register_console() 371 int braille_unregister_console(struct console *console) in braille_unregister_console() argument 373 if (braille_co != console) in braille_unregister_console()
|
| /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 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 76 Small console font with PC-style control characters and high-half [all …]
|
| /linux/drivers/tty/ |
| H A D | goldfish.c | 42 struct console console; member 200 static void goldfish_tty_console_write(struct console *co, const char *b, in goldfish_tty_console_write() 206 static struct tty_driver *goldfish_tty_console_device(struct console *c, in goldfish_tty_console_device() 213 static int goldfish_tty_console_setup(struct console *co, char *options) in goldfish_tty_console_setup() 385 strcpy(qtty->console.name, "ttyGF"); in goldfish_tty_probe() 386 qtty->console.write = goldfish_tty_console_write; in goldfish_tty_probe() 387 qtty->console.device = goldfish_tty_console_device; in goldfish_tty_probe() 388 qtty->console.setup = goldfish_tty_console_setup; in goldfish_tty_probe() 389 qtty->console.flags = CON_PRINTBUFFER; in goldfish_tty_probe() 390 qtty->console.index = line; in goldfish_tty_probe() [all …]
|
| /linux/Documentation/driver-api/tty/ |
| H A D | console.rst | 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 30 .. kernel-doc:: include/linux/console.h
|
| /linux/Documentation/arch/s390/ |
| H A D | 3270.ChangeLog | 3 Sep 2002: Get bootup colors right on 3270 console 13 tubmakemin() in tuball.c (if it's the console) or tty3270_open() 28 Apr 2002: Fix 3270 console reboot loop 29 * (Belated log entry) Fixed reboot loop if 3270 console, 34 * tub3270 now supports 3270 console: 36 Support for 3215 will not appear if 3270 console support 38 NOTE: The default is 3270 console support, NOT 3215.
|
| /linux/drivers/usb/serial/ |
| H A D | console.c | 29 static struct console usbcons; 55 static int usb_console_setup(struct console *co, char *options) in usb_console_setup() 179 port->port.console = 1; in usb_console_setup() 197 static void usb_console_write(struct console *co, in usb_console_write() 214 if (!port->port.console) { in usb_console_write() 246 static struct tty_driver *usb_console_device(struct console *co, int *index) in usb_console_device() 257 static struct console usbcons = { 300 usbcons_info.port->port.console = 0; in usb_serial_console_exit()
|
| /linux/arch/m68k/atari/ |
| H A D | debug.c | 28 static struct console atari_console_driver = { 42 static void atari_mfp_console_write(struct console *co, const char *str, in atari_mfp_console_write() 61 static void atari_scc_console_write(struct console *co, const char *str, in atari_scc_console_write() 78 static void atari_midi_console_write(struct console *co, const char *str, in atari_midi_console_write() 109 static void atari_par_console_write(struct console *co, const char *str, in atari_par_console_write() 132 int atari_mfp_console_wait_key(struct console *co) 139 int atari_scc_console_wait_key(struct console *co) 148 int atari_midi_console_wait_key(struct console *co)
|
| /linux/arch/x86/xen/ |
| H A D | suspend_pv.c | 16 xen_start_info->console.domU.mfn = in xen_pv_pre_suspend() 17 mfn_to_pfn(xen_start_info->console.domU.mfn); in xen_pv_pre_suspend() 37 xen_start_info->console.domU.mfn = in xen_pv_post_suspend() 38 pfn_to_mfn(xen_start_info->console.domU.mfn); in xen_pv_post_suspend()
|
| /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/arch/um/drivers/ |
| H A D | stdio_console.c | 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() 137 static struct console stdiocons = {
|
| /linux/arch/arc/boot/dts/ |
| H A D | nsimosci.dts | 17 /* this is for console on PGU */ 18 /* bootargs = "console=tty0 consoleblank=0"; */ 19 /* this is for console on serial */ 20 …bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 conso…
|