/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_console.c | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 101 /* Structure that defines a single console. 104 * The actual usable size of each console is console_buf_size -1; 143 * @param size Size of the structure member. 150 u32 size) in __cvmx_bootmem_desc_get() argument 153 switch (size) { in __cvmx_bootmem_desc_get() 201 if (!oct->bootmem_desc_addr) in __cvmx_bootmem_check_version() 202 oct->bootmem_desc_addr = in __cvmx_bootmem_check_version() 206 oct, oct->bootmem_desc_addr, in __cvmx_bootmem_check_version() [all …]
|
/linux/kernel/printk/ |
H A D | printk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 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. 149 return -EINVAL; in __control_devkmsg() [all …]
|
H A D | internal.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * internal.h - printk internal definitions 5 #include <linux/console.h> 20 (con->flags & CON_NBCON) ? "" : "legacy ", \ 21 (con->flags & CON_BOOT) ? "boot" : "", \ 22 con->name, con->index, ##__VA_ARGS__) 26 * true, all printing via console lock occurs within a dedicated 46 * the maximum size of a formatted record (i.e. with prefix added 51 /* the maximum size allowed to be reserved for a record */ 56 /* always show on console, ignore console_loglevel */ [all …]
|
/linux/lib/fonts/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 bool "Select compiled-in fonts" 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 [all …]
|
/linux/arch/um/drivers/ |
H A D | stdio_console.c | 1 // SPDX-License-Identifier: GPL-2.0 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", 44 static int con_get_config(char *dev, char *str, int size, char **error_out); 50 .name = "UML console", 56 .read_irq_name = "console", 57 .write_irq_name = "console-write", 80 static int con_get_config(char *dev, char *str, int size, char **error_out) in con_get_config() argument 82 return line_get_config(dev, vts, ARRAY_SIZE(vts), str, size, error_out); in con_get_config() [all …]
|
H A D | ssl.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/console.h> 38 static int ssl_get_config(char *dev, char *str, int size, char **error_out); 51 .write_irq_name = "ssl-write", 75 static int ssl_get_config(char *dev, char *str, int size, char **error_out) in ssl_get_config() argument 78 size, error_out); in ssl_get_config() 89 return line_install(driver, tty, &serial_lines[tty->index]); in ssl_install() 111 static void ssl_console_write(struct console *c, const char *string, in ssl_console_write() 114 struct line *line = &serial_lines[c->index]; in ssl_console_write() 117 spin_lock_irqsave(&line->lock, flags); in ssl_console_write() [all …]
|
/linux/Documentation/devicetree/bindings/reserved-memory/ |
H A D | ramoops.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reserved-memory/ramoops.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 recovered after a reboot. This is a child-node of "/reserved-memory", and 16 as kernel log messages, or for optional ECC error-correction data. The total 17 size of these optional buffers must fit in the reserved region. 20 records. These records have a configurable size, with a size of 0 indicating 23 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size" 24 must be set non-zero, but are otherwise optional as listed below. [all …]
|
/linux/drivers/acpi/ |
H A D | spcr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/console.h> 32 if (memcmp(h->oem_id, "QCOM ", ACPI_OEM_ID_SIZE)) in qdf2400_erratum_44_present() 35 if (!memcmp(h->oem_table_id, "QDF2432 ", ACPI_OEM_TABLE_ID_SIZE)) in qdf2400_erratum_44_present() 38 if (!memcmp(h->oem_table_id, "QDF2400 ", ACPI_OEM_TABLE_ID_SIZE) && in qdf2400_erratum_44_present() 39 h->oem_revision == 1) in qdf2400_erratum_44_present() 46 * APM X-Gene v1 and v2 UART hardware is an 16550 like device but has its 47 * register aligned to 32-bit. In addition, the BIOS also encoded the 54 if (tb->interface_type != ACPI_DBG2_16550_COMPATIBLE) in xgene_8250_erratum_present() 57 if (memcmp(tb->header.oem_id, "APMC0D", ACPI_OEM_ID_SIZE) && in xgene_8250_erratum_present() [all …]
|
/linux/arch/arc/boot/dts/ |
H A D | nsimosci.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /dts-v1/; 12 #address-cells = <1>; 13 #size-cells = <1>; 14 interrupt-parent = <&core_intc>; 17 /* this is for console on PGU */ 18 /* bootargs = "console=tty0 consoleblank=0"; */ 19 /* this is for console on serial */ 20 …t8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug video=64… 28 compatible = "simple-bus"; [all …]
|
H A D | nsimosci_hs.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) 5 /dts-v1/; 12 #address-cells = <1>; 13 #size-cells = <1>; 14 interrupt-parent = <&core_intc>; 17 /* this is for console on PGU */ 18 /* bootargs = "console=tty0 consoleblank=0"; */ 19 /* this is for console on serial */ 20 …t8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug video=64… [all …]
|
/linux/Documentation/arch/arm/ |
H A D | setup.rst | 18 This parameter must be set to the page size of the machine, and 46 These two together describe the character size of the dummy console, 47 or VGA console character size. They should not be used for any other 51 the equivalent character size of your fbcon display. This then allows 55 This describes the character position of cursor on VGA console, and 56 is otherwise unused. (should not be used for other console types, and 77 is non-contiguous from the processors point of view. 81 be used by loaders if the size of the video RAM can't be obtained 85 This describes the kernel virtual start address and size of the 95 system 64-bit serial number [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | pcie.c | 1 // SPDX-License-Identifier: ISC 52 BRCMF_FW_DEF(43602, "brcmfmac43602-pcie"); 53 BRCMF_FW_DEF(4350, "brcmfmac4350-pcie"); 54 BRCMF_FW_DEF(4350C, "brcmfmac4350c2-pcie"); 55 BRCMF_FW_CLM_DEF(4355, "brcmfmac4355-pcie"); 56 BRCMF_FW_CLM_DEF(4355C1, "brcmfmac4355c1-pcie"); 57 BRCMF_FW_CLM_DEF(4356, "brcmfmac4356-pcie"); 58 BRCMF_FW_CLM_DEF(43570, "brcmfmac43570-pcie"); 59 BRCMF_FW_DEF(4358, "brcmfmac4358-pcie"); 60 BRCMF_FW_DEF(4359, "brcmfmac4359-pcie"); [all …]
|
/linux/drivers/usb/gadget/function/ |
H A D | u_serial.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * u_serial.c - utilities for USB gadget "serial port"/TTY support 10 * Copyright (C) 1999 - 2002 Greg Kroah-Hartman (greg@kroah.com) 27 #include <linux/console.h> 67 * gserial <---> gs_port ... links will be null when the USB link is 70 * gserial->ioport == usb_ep->driver_data ... gs_port 71 * gs_port->port_usb ... gserial 73 * gs_port <---> tty_struct ... links will be null when the TTY file 75 * gserial->port_tty ... tty_struct 76 * tty_struct->driver_data ... gserial [all …]
|
/linux/arch/powerpc/boot/dts/ |
H A D | adder875-uboot.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Device Tree Source for MPC885 ADS running U-Boot 9 /dts-v1/; 12 compatible = "analogue-and-micro,adder875"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 console = &console; 23 #address-cells = <1>; 24 #size-cells = <0>; 29 d-cache-line-size = <16>; [all …]
|
H A D | adder875-redboot.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 /dts-v1/; 12 compatible = "analogue-and-micro,adder875"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 console = &console; 23 #address-cells = <1>; 24 #size-cells = <0>; 29 d-cache-line-size = <16>; 30 i-cache-line-size = <16>; [all …]
|
/linux/arch/alpha/kernel/ |
H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 25 #include <linux/console.h> 61 #include <asm/console.h> 86 * Using SRM callbacks for initial console output. This works from 92 * console device is "registered" during console_init(). 95 * the console drivers. That's the last possible time srmcons can be 96 * unregistered without interfering with console behavior. 99 * "console=srm". The meaning of these two args is: 100 * "srmcons" - early callback prints 101 * "console=srm" - full callback based console, including early prints [all …]
|
/linux/arch/m68k/ |
H A D | Kconfig.devices | 1 # SPDX-License-Identifier: GPL-2.0 15 Use the power-on LED on your machine as a load meter. The exact 16 behavior is platform-dependent, but normally the flash frequency is 17 a hyperbolic function of the 5-minute load average. 19 # We have a dedicated heartbeat LED. :-) 27 and memory size. 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 102 If you want to use your Amiga's built-in serial port in Linux, [all …]
|
/linux/arch/powerpc/boot/ |
H A D | redboot.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 // include/asm-ppc/redboot.h 21 unsigned int bi_size; /* Size of this structure */ 25 unsigned int bi_memsize; /* Memory (end) size in bytes */ 32 unsigned int bi_baudrate; /* Default console baud rate */ 48 void (*bi_cputc)(char); /* Write a character to the RedBoot console */ 49 char (*bi_cgetc)(void); /* Read a character from the RedBoot console */ 50 int (*bi_ctstc)(void); /* Test for input on the RedBoot console */
|
/linux/drivers/char/ |
H A D | virtio_console.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 #include <linux/dma-mapping.h> 44 /* Used for exporting per-port information to debugfs */ 50 /* All the console devices handled by this driver */ 57 .name = "virtio-ports", 63 /* This struct holds information that's relevant only for console ports */ 64 struct console { struct 68 /* The hvc device associated with this console port */ argument 71 /* The size of the console */ argument 78 * differentiate between the other console ports handled by argument [all …]
|
/linux/include/uapi/linux/ |
H A D | vt.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 9 * These constants are also useful for user-level apps (e.g., VC 70 #define VT_EVENT_SWITCH 0x0001 /* Console switch */ 75 __u32 oldev; /* Old console */ 76 __u32 newev; /* New console (if changing) */ 83 __u32 console; member 87 #define VT_SETACTIVATE 0x560F /* Activate and set the mode of a console */ 89 /* get console size and cursor position */ 91 __u16 con_rows; /* number of console rows */ 92 __u16 con_cols; /* number of console columns */
|
/linux/drivers/video/console/ |
H A D | sticon.c | 2 * linux/drivers/video/console/sticon.c - console driver using HP's STI firmware 5 * Copyright (C) 2002-2020 Helge Deller <deller@gmx.de> 28 * Emmanuel Marty (core@ggi-project.org) 40 #include <linux/console.h> 59 #define STI_DEF_FONT sticon_sti->font 62 #define FNTREFCOUNT(fd) (fd->refcount) 63 #define FNTCRC(fd) (fd->crc) 66 /* this is the sti_struct used for this console */ 71 return "STI console"; in sticon_startup() 80 if (conp->vc_mode != KD_TEXT) in sticon_putcs() [all …]
|
/linux/Documentation/scsi/ |
H A D | advansys.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 RISC-based, Bus-Mastering, Fast (10 Mhz) and Ultra (20 Mhz) Narrow 9 (8-bit transfer) SCSI Host Adapters for the ISA, EISA, VL, and PCI 10 buses and RISC-based, Bus-Mastering, Ultra (20 Mhz) Wide (16-bit 18 lowered in the BIOS by changing the 'Host Queue Size' adapter setting. 21 - ABP-480 - Bus-Master CardBus (16 CDB) 24 - ABP510/5150 - Bus-Master ISA (240 CDB) 25 - ABP5140 - Bus-Master ISA PnP (16 CDB) 26 - ABP5142 - Bus-Master ISA PnP with floppy (16 CDB) 27 - ABP902/3902 - Bus-Master PCI (16 CDB) [all …]
|
/linux/drivers/firmware/google/ |
H A D | memconsole-coreboot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * memconsole-coreboot.c 5 * Memory based BIOS console accessed through coreboot table. 20 /* CBMEM firmware console log descriptor. */ 27 #define CURSOR_MASK ((1 << 28) - 1) 42 u32 cursor = cbmem_console->cursor & CURSOR_MASK; in memconsole_coreboot_read() 43 u32 flags = cbmem_console->cursor & ~CURSOR_MASK; in memconsole_coreboot_read() 44 u32 size = cbmem_console_size; in memconsole_coreboot_read() local 53 if (cursor > size) /* Shouldn't really happen, but... */ in memconsole_coreboot_read() 55 seg[0] = (struct seg){.phys = cursor, .len = size - cursor}; in memconsole_coreboot_read() [all …]
|
/linux/drivers/s390/char/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 21 prompt "Support for console on 3270 terminal" 25 console. Available only if 3270 support is compiled in statically. 32 Include support for IBM 3215 line-mode terminals. 36 prompt "Support for console on 3215 line mode terminal" 39 Include support for using an IBM 3215 line-mode terminal as a 40 Linux system console. 50 Include support for IBM SCLP line-mode terminals. 54 prompt "Support for console on SCLP line mode terminal" 57 Include support for using an IBM HWC line-mode terminal as the Linux [all …]
|
/linux/arch/arm64/kernel/ |
H A D | acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ARM64 Specific Low-Level ACPI Boot Support 5 * Copyright (C) 2013-2014, Linaro Ltd. 16 #include <linux/arm-smccc.h> 19 #include <linux/efi-bgrt.h> 54 return -EINVAL; in parse_acpi() 63 else if (strcmp(arg, "nospcr") == 0) /* disable SPCR as default console */ in parse_acpi() 66 return -EINVAL; /* Core will print when we return error */ in parse_acpi() 94 void __init __iomem *__acpi_map_table(unsigned long phys, unsigned long size) in __acpi_map_table() argument 96 if (!size) in __acpi_map_table() [all …]
|