/Linux-v6.6/drivers/net/ethernet/cavium/liquidio/ |
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-v6.6/kernel/printk/ |
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> 74 EXPORT_TRACEPOINT_SYMBOL_GPL(console); 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. 107 * panic and risk deadlock on console resources. [all …]
|
/Linux-v6.6/lib/fonts/ |
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-v6.6/arch/powerpc/ |
D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0 4 bool "Don't build arch/powerpc code with -Werror" 7 arch/powerpc with the -Werror flag (which means warnings 47 emulated by the in-kernel emulator. Counters for the various classes 51 powerpc/emulated_instructions/do_warn in debugfs), rate-limited 52 warnings can be printed to the console when instructions are 56 bool "Run self-tests of the code-patching code" 78 bool "Run self-tests of the feature-fixup code" 82 bool "Run self-tests of the MSI bitmap code" 98 Include in-kernel hooks for the xmon kernel monitor/debugger. [all …]
|
/Linux-v6.6/arch/um/drivers/ |
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 …]
|
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-v6.6/drivers/tty/vt/ |
D | vc_screen.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Provide access to virtual console memory. 13 * /dev/vcsuN: similar to /dev/vcsaN but using 4-byte unicode values 14 * instead of 1-byte screen glyph values. 22 * aeb@cwi.nl - efter Friedas begravelse - 950211 24 * machek@k332.feld.cvut.cz - modified not to send characters to wrong console 25 * - fixed some fatal off-by-one bugs (0-- no longer == -1 -> looping and looping and looping...) 26 * - making it shorter - scr_readw are macros which expand in PRETTY long code 40 #include <linux/console.h> 65 * with minors 0, 64, 128 and 192 being proxies for the foreground console. [all …]
|
/Linux-v6.6/include/linux/ |
D | console_struct.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Data structure describing single virtual console except for data 8 * Fields marked with [#] must be set by the low-level driver. 9 * Fields marked with [!] can be changed by the low-level driver 33 * struct vc_state -- state of a VC 34 * @x: cursor's x-position 35 * @y: cursor's y-position 62 * Example: vc_data of a console that was scrolled 3 lines down. 64 * Console buffer 65 * vc_screenbuf ---------> +----------------------+-. [all …]
|
D | vt_kern.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * this really is an extension of the vc_cons structure in console.c, but 24 /* console.c */ 26 int vc_allocate(unsigned int console); 27 int vc_cons_allocated(unsigned int console); 29 struct vc_data *vc_deallocate(unsigned int console); 71 return -EINVAL; in con_get_trans_old() 79 return -EINVAL; in con_get_trans_new() 94 return -EINVAL; in con_get_unimap() 150 int vt_do_kdskbmode(unsigned int console, unsigned int arg); [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/reserved-memory/ |
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-v6.6/drivers/acpi/ |
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-v6.6/arch/arc/boot/dts/ |
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 …]
|
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-v6.6/Documentation/arch/arm/ |
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-v6.6/arch/powerpc/boot/dts/ |
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 …]
|
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-v6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
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-v6.6/drivers/soc/fsl/ |
D | dpaa2-console.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Freescale DPAA2 Platforms Console Driver 5 * Copyright 2015-2016 Freescale Semiconductor Inc. 9 #define pr_fmt(fmt) "dpaa2-console: " fmt 65 u32 last_byte = readl(&cd->hdr->last_byte); in adjust_end() 67 cd->end_of_data = cd->start_addr + LAST_BYTE(last_byte); in adjust_end() 93 ssize_t size; in dpaa2_console_size() local 95 if (cd->cur_ptr <= cd->end_of_data) in dpaa2_console_size() 96 size = cd->end_of_data - cd->cur_ptr; in dpaa2_console_size() 98 size = (cd->end_addr - cd->cur_ptr) + in dpaa2_console_size() [all …]
|
/Linux-v6.6/drivers/usb/gadget/function/ |
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) 26 #include <linux/console.h> 65 * gserial <---> gs_port ... links will be null when the USB link is 68 * gserial->ioport == usb_ep->driver_data ... gs_port 69 * gs_port->port_usb ... gserial 71 * gs_port <---> tty_struct ... links will be null when the TTY file 73 * gserial->port_tty ... tty_struct 74 * tty_struct->driver_data ... gserial [all …]
|
/Linux-v6.6/arch/alpha/kernel/ |
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-v6.6/arch/m68k/ |
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-v6.6/drivers/char/ |
D | virtio_console.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 #include <linux/dma-mapping.h> 43 /* Used for exporting per-port information to debugfs */ 49 /* All the console devices handled by this driver */ 56 .name = "virtio-ports", 62 /* This struct holds information that's relevant only for console ports */ 63 struct console { struct 67 /* The hvc device associated with this console port */ argument 70 /* The size of the console */ argument 77 * differentiate between the other console ports handled by argument [all …]
|
/Linux-v6.6/arch/powerpc/boot/ |
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-v6.6/drivers/tty/hvc/ |
D | hvc_console.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/console.h> 46 * native transfer size. We could make them selectable in the 61 static atomic_t hvc_needs_init __read_mostly = ATOMIC_INIT(-1); 79 * This value is used to assign a tty->index value to a hvc_struct based 81 * a console candidate registered with hvc_instantiate(). 83 static int last_hvc = -1; 98 spin_lock_irqsave(&hp->lock, flags); in hvc_get_by_index() 99 if (hp->index == index) { in hvc_get_by_index() 100 tty_port_get(&hp->port); in hvc_get_by_index() [all …]
|
/Linux-v6.6/drivers/s390/char/ |
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 …]
|