| /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 | 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 the console. The preferred VESA blank mode is passed in 61 * @con_unblank: unblank the console. The hook is supposed to return true if 64 * @con_font_set: set console 274 struct console *console; global() member 338 struct console { global() struct 340 writeconsole global() argument 341 readconsole global() argument 342 deviceconsole global() argument 344 setupconsole global() argument 345 exitconsole global() argument 346 matchconsole global() argument 357 nodeconsole global() argument 388 write_atomicconsole global() argument 419 write_threadconsole global() argument 446 device_lockconsole global() argument 462 device_unlockconsole global() argument 476 irq_workconsole global() 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 | 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 lis 3604 console_suspend(struct console * console) console_suspend() argument 3621 console_resume(struct console * console) console_resume() argument 4232 unregister_console_locked(struct console * console) unregister_console_locked() argument 4329 unregister_console(struct console * console) unregister_console() argument [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/tty/serial/ |
| 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() 199 /* setup the console */ in tegra_tcu_probe() 200 strcpy(tcu->console.name, "ttyTCU"); in tegra_tcu_probe() 201 tcu->console.device = uart_console_device; in tegra_tcu_probe() 202 tcu->console in tegra_tcu_probe() [all...] |
| H A D | tegra-utc.c | 6 #include <linux/console.h> 58 struct console console; member 363 static void tegra_utc_early_write(struct console *con, const char *s, unsigned int n) in tegra_utc_early_write() 413 static void tegra_utc_console_write_atomic(struct console *cons, struct nbcon_write_context *wctxt) in tegra_utc_console_write_atomic() 415 struct tegra_utc_port *tup = container_of(cons, struct tegra_utc_port, console); in tegra_utc_console_write_atomic() 441 static void tegra_utc_console_write_thread(struct console *cons, struct nbcon_write_context *wctxt) in tegra_utc_console_write_thread() 443 struct tegra_utc_port *tup = container_of(cons, struct tegra_utc_port, console); in tegra_utc_console_write_thread() 461 static void tegra_utc_console_device_lock(struct console *cons, unsigned long *flags) in tegra_utc_console_device_lock() 463 struct tegra_utc_port *tup = container_of(cons, struct tegra_utc_port, console); in tegra_utc_console_device_lock() [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 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/accessibility/braille/ |
| H A D | braille_console.c | 58 static struct console *braille_co; 401 int braille_register_console(struct console *console, int index, in braille_register_console() argument 411 if (console->setup) { in braille_register_console() 412 ret = console->setup(console, console_options); in braille_register_console() 416 console->flags |= CON_ENABLED; in braille_register_console() 417 console->index = index; in braille_register_console() 418 braille_co = console; in braille_register_console() 424 int braille_unregister_console(struct console *console) in braille_unregister_console() argument 426 if (braille_co != console) in braille_unregister_console()
|
| /linux/drivers/tty/ |
| H A D | goldfish.c | 41 struct console console; member 205 static void goldfish_tty_console_write(struct console *co, const char *b, in goldfish_tty_console_write() 211 static struct tty_driver *goldfish_tty_console_device(struct console *c, in goldfish_tty_console_device() 218 static int goldfish_tty_console_setup(struct console *co, char *options) in goldfish_tty_console_setup() 388 strcpy(qtty->console.name, "ttyGF"); in goldfish_tty_probe() 389 qtty->console.write = goldfish_tty_console_write; in goldfish_tty_probe() 390 qtty->console.device = goldfish_tty_console_device; in goldfish_tty_probe() 391 qtty->console.setup = goldfish_tty_console_setup; in goldfish_tty_probe() 392 qtty->console.flags = CON_PRINTBUFFER; in goldfish_tty_probe() 393 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/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…
|
| H A D | nsimosci_hs.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…
|
| /linux/Documentation/translations/zh_CN/admin-guide/ |
| H A D | init.rst | 29 3) **控制台设备损坏Broken console device** : ``console= setup`` 中可能存在 30 冲突 --> 初始控制台不可用(initial console unavailable)。例如,由于串行 32 ``console= device`` 或像 ``netconsole=`` 。
|
| /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 134 bool "Support for serial port console" 138 system console (the system console is the device which receives all 143 Even if you say Y here, the currently visible virtual console 144 (/dev/tty0) will still be used as the system console by default, but 146 "console=ttyS1". (Try "man bootparam" or see the documentation of 150 If you don't have a graphical console and you say Y here, the 152 system console.
|