Home
last modified time | relevance | path

Searched refs:console (Results 1 – 25 of 992) sorted by relevance

12345678910>>...40

/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/
Docteon_console.c422 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-6.12.1/Documentation/admin-guide/
Dserial-console.rst6 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 …]
Dbraille-console.rst6 console (see :ref:`Documentation/admin-guide/serial-console.rst <serial_console>`), and
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
33 the console selection mechanism described in
34 :ref:`Documentation/admin-guide/serial-console.rst <serial_console>`.
/linux-6.12.1/include/linux/
Dconsole.h260 struct console;
278 struct console *console; member
334 struct console { struct
336 void (*write)(struct console *co, const char *s, unsigned int count); argument
337 int (*read)(struct console *co, char *s, unsigned int count); argument
338 struct tty_driver *(*device)(struct console *co, int *index); argument
340 int (*setup)(struct console *co, char *options); argument
341 int (*exit)(struct console *co); argument
342 int (*match)(struct console *co, char *name, int idx, char *options); argument
384 void (*write_atomic)(struct console *con, struct nbcon_write_context *wctxt); argument
[all …]
Dvt_kern.h26 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-6.12.1/kernel/printk/
Dnbcon.c128 static inline void nbcon_state_set(struct console *con, struct nbcon_state *new) in nbcon_state_set()
138 static inline void nbcon_state_read(struct console *con, struct nbcon_state *state) in nbcon_state_read()
151 static inline bool nbcon_state_try_cmpxchg(struct console *con, struct nbcon_state *cur, in nbcon_state_try_cmpxchg()
163 u64 nbcon_seq_read(struct console *con) in nbcon_seq_read()
178 void nbcon_seq_force(struct console *con, u64 seq) in nbcon_seq_force()
205 struct console *con = ctxt->console; in nbcon_seq_try_update()
241 struct console *con = ctxt->console; in nbcon_context_try_acquire_direct()
339 struct console *con = ctxt->console; in nbcon_context_try_acquire_requested()
422 struct console *con = ctxt->console; in nbcon_context_try_acquire_handover()
528 struct console *con = ctxt->console; in nbcon_context_try_acquire_hostile()
[all …]
Dinternal.h99 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);
117 static inline bool console_is_usable(struct console *con, short flags, bool use_atomic) in console_is_usable()
156 static inline void nbcon_kthread_wake(struct console *con) in nbcon_kthread_wake()
191 static inline u64 nbcon_seq_read(struct console *con) { return 0; } in nbcon_seq_read()
[all …]
Dbraille.h24 _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
Dbraille.c38 _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()
Dprintk.c75 EXPORT_TRACEPOINT_SYMBOL_GPL(console);
2440 static bool __pr_flush(struct console *con, int timeout_ms, bool reset_on_progress);
2453 static bool __pr_flush(struct console *con, int timeout_ms, bool reset_on_progress) { return true; } in __pr_flush()
2458 struct console *early_console;
2717 struct console *con; in suspend_console()
2741 struct console *con; in resume_console()
3035 static bool console_emit_next_record(struct console *con, bool *handover, int cookie) in console_emit_next_record()
3108 static bool console_emit_next_record(struct console *con, bool *handover, int cookie) in console_emit_next_record()
3145 struct console *con; in console_flush_all()
3304 struct console *c; in console_unblank()
[all …]
/linux-6.12.1/drivers/hwtracing/stm/
Dconsole.c20 struct console console; member
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()
46 register_console(&sc->console); in stm_console_link()
55 unregister_console(&sc->console); in stm_console_unlink()
/linux-6.12.1/drivers/tty/hvc/
DKconfig6 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-6.12.1/Documentation/fb/
Dfbcon.rst5 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
43 framebuffer console. Depending on the driver, you may get a blanked or
46 will still get a VGA console.
55 Usually, fbcon will automatically take over your console. The notable
61 Depending on the driver, you either get a standard console, or a
[all …]
/linux-6.12.1/drivers/tty/serial/
Dtegra-tcu.c25 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 …]
DKconfig14 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 …]
/linux-6.12.1/Documentation/driver-api/
Dconsole.rst7 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-6.12.1/drivers/video/console/
DKconfig9 bool "VGA text console" if EXPERT || !X86
22 <ftp://ibiblio.org/pub/Linux/utils/console/>.
28 tristate "MDA text console (dual-headed)"
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"
82 Low-level framebuffer-based console driver.
105 bool "Map the console to the primary display device"
109 If this option is selected, the framebuffer console will
111 supports this feature). Otherwise, the framebuffer console will
[all …]
/linux-6.12.1/lib/fonts/
DKconfig16 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-6.12.1/drivers/accessibility/braille/
Dbraille_console.c58 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-6.12.1/drivers/tty/
Dgoldfish.c42 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 …]
DKconfig47 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
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
84 console driver is loaded. In other configurations, additional console
[all …]
/linux-6.12.1/Documentation/driver-api/tty/
Dconsole.rst12 .. 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-6.12.1/Documentation/arch/s390/
D3270.ChangeLog3 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-6.12.1/drivers/usb/serial/
Dconsole.c29 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-6.12.1/arch/x86/xen/
Dsuspend_pv.c16 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()

12345678910>>...40