/linux-master/kernel/printk/ |
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> 74 EXPORT_TRACEPOINT_SYMBOL_GPL(console); variable 84 * console_mutex protects console_list updates and console->flags updates. 86 * accessible via the console list. 91 * console_sem protects updates to console->seq 92 * and also provides serialization for console printing. 241 * console_list_lock - Lock the console lis 3240 console_stop(struct console *console) argument 3257 console_start(struct console *console) argument 3586 unregister_console_locked(struct console *console) argument 3638 unregister_console(struct console *console) argument [all...] |
/linux-master/arch/x86/kernel/ |
H A D | early_printk.c | 2 #include <linux/console.h> 16 #include <xen/hvc-console.h> 29 static void early_vga_write(struct console *con, const char *str, unsigned n) 70 static struct console early_vga_console = { 120 static void early_serial_write(struct console *con, const char *s, unsigned n) 320 static struct console early_serial_console = { 327 static void early_console_register(struct console *con, int keep_early)
|
/linux-master/drivers/tty/serial/ |
H A D | kgdboc.c | 4 * driver uses a console polling api to implement a gdb serial inteface 5 * which is multiplexed on a console port. 19 #include <linux/console.h> 48 static int (*earlycon_orig_exit)(struct console *con); 173 struct console *cons; 199 * other console operations. For example, fg_console is 462 struct console *con; 470 * When the first normal console comes up the kernel will take all 472 * the boot console when it does that but until a TTY is registered 490 static int kgdboc_earlycon_deferred_exit(struct console *co [all...] |
H A D | kgdb_nmi.c | 3 * KGDB NMI serial console 18 #include <linux/console.h> 44 static int kgdb_nmi_console_setup(struct console *co, char *options) 48 /* The NMI console uses the dbg_io_ops to issue console messages. To 50 * I/O utilities that messages sent to the console will automatically 58 static void kgdb_nmi_console_write(struct console *co, const char *s, uint c) 68 static struct tty_driver *kgdb_nmi_console_device(struct console *co, int *idx) 74 static struct console kgdb_nmi_console = {
|
H A D | suncore.c | 15 #include <linux/console.h> 55 int sunserial_console_match(struct console *con, struct device_node *dp, 85 void sunserial_console_termios(struct console *con, struct device_node *uart_dp) 93 of_node_name_eq(uart_dp, "rsc-console") || 96 "ssp-console-modes", NULL); 99 } else if (of_node_name_eq(uart_dp, "lom-console")) {
|
H A D | liteuart.c | 9 #include <linux/console.h> 56 static struct console liteuart_console; 373 static void liteuart_console_write(struct console *co, const char *s, 388 static int liteuart_console_setup(struct console *co, char *options) 411 static struct console liteuart_console = { 429 static void early_liteuart_write(struct console *console, const char *s, argument 432 struct earlycon_device *device = console->data;
|
H A D | earlycon.c | 13 #include <linux/console.h> 29 static struct console early_con = { 58 struct console *earlycon = device->con; 76 struct console *earlycon = device->con; 166 * setup_earlycon - match and register earlycon console 169 * Registers the earlycon console matching the earlycon specified 224 * This defers the initialization of the early console until after ACPI has
|
/linux-master/drivers/usb/gadget/function/ |
H A D | u_serial.c | 26 #include <linux/console.h> 88 /* console info */ 90 struct console console; member in struct:gs_console 108 struct gs_console *console; member in struct:gs_port 908 ep = cons->console.data; 941 static void gs_console_write(struct console *co, 944 struct gs_console *cons = container_of(co, struct gs_console, console); 960 static struct tty_driver *gs_console_device(struct console *co, int *index) 968 struct gs_console *cons = port->console; [all...] |
/linux-master/drivers/char/ |
H A D | ttyprintk.c | 10 * to store "console" messages inline with kernel messages for better analyses 14 #include <linux/console.h> 166 static struct tty_driver *ttyprintk_console_device(struct console *c, 173 static struct console ttyprintk_console = {
|
/linux-master/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-recheck.sh | 5 # check the build and console output for errors. Given a directory 37 rm -f $i/console.log.*.diags $i/ConfigFragment.diags 48 elif test -f "$i/console.log" 74 parse-console.sh $i/console.log $configfile 132 runerrors="`tr ' ' '\012' < $T | grep -c '/console.log.diags'`"
|
H A D | kvm-test-1-run.sh | 5 # Fully automated run and error checking, no graphics console. 155 qemu_args="$qemu_args `identify_qemu_args "$QEMU" "$resdir/console.log"`" 191 echo " 9." Copy the console output from just before the modprobe to just after >> $resdir/bare-metal 193 echo " " $resdir/console.log >> $resdir/bare-metal 217 parse-console.sh $resdir/console.log $title
|
/linux-master/drivers/tty/vt/ |
H A D | keyboard.c | 159 * Notifier list for console keyboard events 553 /* switch to the last used console, ChN */ 1175 * vt_get_leds - helper for braille console 1176 * @console: console to read 1181 int vt_get_leds(unsigned int console, int flag) argument 1183 struct kbd_struct *kb = &kbd_table[console]; 1196 * vt_set_led_state - set LED state of a console 1197 * @console: console t 1203 vt_set_led_state(unsigned int console, int leds) argument 1222 vt_kbd_con_start(unsigned int console) argument 1239 vt_kbd_con_stop(unsigned int console) argument 1838 vt_do_kdskbmode(unsigned int console, unsigned int arg) argument 1878 vt_do_kdskbmeta(unsigned int console, unsigned int arg) argument 2020 vt_do_kdsk_ioctl(int cmd, struct kbentry __user *user_kbe, int perm, unsigned int console) argument 2113 vt_do_kdskled(unsigned int console, int cmd, unsigned long arg, int perm) argument 2155 vt_do_kdgkbmode(unsigned int console) argument 2179 vt_do_kdgkbmeta(unsigned int console) argument 2192 vt_reset_unicode(unsigned int console) argument 2220 vt_reset_keyboard(unsigned int console) argument 2250 vt_get_kbd_mode_bit(unsigned int console, int bit) argument 2265 vt_set_kbd_mode_bit(unsigned int console, int bit) argument 2284 vt_clr_kbd_mode_bit(unsigned int console, int bit) argument [all...] |
H A D | vt_ioctl.c | 26 #include <linux/console.h> 74 * /dev/console is a separate ttyp. Under Linux, /dev/tty0 is /dev/console, 79 * to the current console is done by the main ioctl code. 105 * @old: old console 106 * @new: new console 127 console 1..n with 0 meaning current, so we must bias */ 210 * vt_waitactive - active console wait 211 * @n: new console 250 * Called with the console loc 288 unsigned int console = vc->vc_num; local [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | console.c | 3 * linux/arch/alpha/kernel/console.c 12 #include <linux/console.h> 47 /* Find the console VGA device */ 64 /* Set the VGA hose and init the new console. */ 78 int h = (pu64[30] >> 24) & 0xff; /* console hose # */ 81 * Our hose numbering DOES match the console's, so find
|
/linux-master/arch/mips/sgi-ip22/ |
H A D | ip22-setup.c | 12 #include <linux/console.h> 56 /* ARCS console environment variable is set to "g?" for 57 * graphics console, it is set to "d" for the first serial 63 ctype = ArcGetEnvironmentVariable("console");
|
/linux-master/include/uapi/linux/ |
H A D | vt.h | 73 unsigned int oldev; /* Old console */ 74 unsigned int newev; /* New console (if changing) */ 81 unsigned int console; member in struct:vt_setactivate 85 #define VT_SETACTIVATE 0x560F /* Activate and set the mode of a console */
|
/linux-master/arch/loongarch/kernel/ |
H A D | reset.c | 13 #include <linux/console.h>
|
/linux-master/arch/powerpc/platforms/83xx/ |
H A D | mpc834x_itx.c | 18 #include <linux/console.h>
|
/linux-master/arch/m68k/q40/ |
H A D | config.c | 17 #include <linux/console.h> 44 static void q40_mem_console_write(struct console *co, const char *b, 49 static struct console q40_console_driver = { 61 static void q40_mem_console_write(struct console *co, const char *s,
|
/linux-master/arch/m68k/kernel/ |
H A D | uboot.c | 16 #include <linux/console.h>
|
/linux-master/arch/m68k/emu/ |
H A D | natfeat.c | 14 #include <linux/console.h>
|
/linux-master/drivers/tty/hvc/ |
H A D | hvc_udbg.c | 8 #include <linux/console.h>
|
H A D | hvc_riscv_sbi.c | 8 #include <linux/console.h>
|
/linux-master/arch/mips/sgi-ip32/ |
H A D | ip32-setup.c | 12 #include <linux/console.h> 88 char* con = ArcGetEnvironmentVariable("console");
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | pcie.c | 308 struct brcmf_pcie_console console; member in struct:brcmf_pcie_shared_info 836 struct brcmf_pcie_console *console; local 840 console = &shared->console; 842 console->base_addr = brcmf_pcie_read_tcm32(devinfo, addr); 844 addr = console->base_addr + BRCMF_CONSOLE_BUFADDR_OFFSET; 845 console->buf_addr = brcmf_pcie_read_tcm32(devinfo, addr); 846 addr = console->base_addr + BRCMF_CONSOLE_BUFSIZE_OFFSET; 847 console->bufsize = brcmf_pcie_read_tcm32(devinfo, addr); 850 console 864 struct brcmf_pcie_console *console; local [all...] |