/linux-6.12.1/include/linux/usb/ |
D | serial.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Serial Converter stuff 5 * Copyright (C) 1999 - 2012 6 * Greg Kroah-Hartman (greg@kroah.com) 14 #include <linux/serial.h> 17 /* The maximum number of ports one device can grab at once */ 20 /* USB serial flags */ 26 * @serial: pointer back to the struct usb_serial owner of this port. 29 * @minor: the minor number of the port 30 * @port_number: the struct usb_serial port number of this port (starts at 0) [all …]
|
D | iowarrior.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 /* the serial number of our chip (if a serial-number is not available 24 __u8 serial[9]; member 25 /* revision number of the chip */ 27 /* USB-speed of the device (0=UNKNOWN, 1=LOW, 2=FULL 3=HIGH) */ 31 /* the number of the endpoint */ 33 /* size of the data-packets on this interface */ 38 Get some device-information (product-id , serial-number etc.)
|
/linux-6.12.1/drivers/tty/serial/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # Serial device configuration 6 menu "Serial drivers" 14 the console before standard serial driver is probed. The console is 17 source "drivers/tty/serial/8250/Kconfig" 19 comment "Non-8250 serial port support" 22 tristate "ARM AMBA PL010 serial port support" 33 bool "Support for console on AMBA serial port" 49 tristate "ARM AMBA PL011 serial port support" 60 bool "Support for console on AMBA serial port" [all …]
|
D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 ** serial driver for the Mux console found in some PA-RISC servers. 7 ** (c) Copyright 2002 Hewlett-Packard Company 18 #include <linux/serial.h> 26 #include <asm/parisc-device.h> 63 #define UART_PUT_CHAR(p, c) __raw_writel((c), (p)->membase + IO_DATA_REG_OFFSET) 64 #define UART_GET_FIFO_CNT(p) __raw_readl((p)->membase + IO_DCOUNT_REG_OFFSET) 67 * get_mux_port_count - Get the number of available ports on the Mux. 70 * This function is used to determine the number of ports the Mux 71 * supports. The IODC data reports the number of ports the Mux [all …]
|
/linux-6.12.1/Documentation/networking/devlink/ |
D | devlink-info.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 7 The ``devlink-info`` mechanism enables device drivers to report device 10 The original motivation for the ``devlink-info`` API was twofold: 12 - making it possible to automate device and firmware management in a fleet 13 of machines in a vendor-independent fashion (see also 14 :ref:`Documentation/networking/devlink/devlink-flash.rst <devlink_flash>`); 15 - name the per component FW versions (as opposed to the crowded ethtool 18 ``devlink-info`` supports reporting multiple types of objects. Reporting driver 19 versions is generally discouraged - here, and via any other Linux API. 21 .. list-table:: List of top level info objects [all …]
|
/linux-6.12.1/drivers/usb/serial/ |
D | visor.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 1999 - 2004 7 * Greg Kroah-Hartman (greg@kroah.com) 9 * See Documentation/usb/usb-serial.rst for more information on using this 25 #include <linux/usb/serial.h> 32 #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>" 38 static int visor_probe(struct usb_serial *serial, 40 static int visor_calc_num_ports(struct usb_serial *serial, 42 static int clie_5_calc_num_ports(struct usb_serial *serial, 45 static int clie_3_5_startup(struct usb_serial *serial); [all …]
|
D | sierra.c | 1 // SPDX-License-Identifier: GPL-2.0 30 #include <linux/usb/serial.h> 41 #define MAX_TRANSFER (PAGE_SIZE - 512) 43 allocations > PAGE_SIZE and the number of packets in a page 50 size_t count; /* number of elements in array */ 84 static int sierra_calc_num_ports(struct usb_serial *serial, in sierra_calc_num_ports() argument 90 ifnum = serial->interface->cur_altsetting->desc.bInterfaceNumber; in sierra_calc_num_ports() 91 numendpoints = serial->interface->cur_altsetting->desc.bNumEndpoints; in sierra_calc_num_ports() 99 num_ports = (numendpoints-1)/2; in sierra_calc_num_ports() 110 for (i = 0; i < list->count; i++) { in is_listed() [all …]
|
D | mos7720.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Controls the Moschip 7720 usb to dual port serial converter 14 * Greg Kroah-Hartman <gregkh@suse.de> 16 * Originally based on drivers/usb/serial/io_edgeport.c which is: 18 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com> 28 #include <linux/serial.h> 31 #include <linux/usb/serial.h> 36 #define DRIVER_DESC "Moschip USB Serial Driver" 55 /* This structure holds all of the local serial port information */ 85 PPF = 2<<5, /* moschip calls this 'CB-FIFO mode */ [all …]
|
D | io_ti.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Edgeport USB Serial Converter driver 5 * Copyright (C) 2000-2002 Inside Out Networks, All rights reserved. 6 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com> 26 #include <linux/serial.h> 33 #include <linux/usb/serial.h> 39 #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com> and David Iacovelli" 40 #define DRIVER_DESC "Edgeport USB Serial Driver" 76 * "length" is the number of bytes of actual data following the header. 97 * Number of milliseconds the UMP will [all …]
|
/linux-6.12.1/include/linux/ |
D | padata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * padata.h - header for the padata parallelization interface 26 * struct padata_priv - Represents one job 31 * @seq_nr: Sequence number of the parallelized data object. 32 * @info: Used to pass information from the parallel to the serial function. 34 * @serial: Serial complete function. 43 void (*serial)(struct padata_priv *padata); member 47 * struct padata_list - one per work type per CPU 58 * struct padata_serial_queue - The percpu padata serial queue 60 * @serial: List to wait for serialization after reordering. [all …]
|
/linux-6.12.1/Documentation/admin-guide/ |
D | devices.txt | 1 0 Unnamed devices (e.g. non-device mounts) 2 0 = reserved as null device number 7 2 = /dev/kmem OBSOLETE - replaced by /proc/kcore 11 6 = /dev/core OBSOLETE - replaced by /proc/kcore 13 8 = /dev/random Nondeterministic random number gen. 14 9 = /dev/urandom Faster, less secure random number gen. 18 12 = /dev/oldmem OBSOLETE - replaced by /proc/vmcore 31 2 char Pseudo-TTY masters 37 Pseudo-tty's are named as follows: 40 the 1st through 16th series of 16 pseudo-ttys each, and [all …]
|
/linux-6.12.1/Documentation/filesystems/ |
D | qnx6.rst | 1 .. SPDX-License-Identifier: GPL-2.0 29 ------ 39 --------------- 42 Each qnx6fs got two superblocks, each one having a 64bit serial number. 43 That serial number is used to identify the "active" superblock. 45 serial of the new master superblock is increased (old superblock serial + 1) 48 update of the serial number. Before updating that serial, all modifications 65 Unused block pointers are always set to ~0 - regardless of root node, 75 information (total number of filesystem blocks) or by taking the highest 79 0x1000 is the size reserved for each superblock - regardless of the [all …]
|
/linux-6.12.1/drivers/tty/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 8 TTY is required for any text terminals or serial port 23 one can be used for a text-mode user session, and a third could run 25 is done with certain key combinations, usually Alt-<function key>. 38 memory; the only way to log into such a system is then via a serial 42 shiny Linux system :-) 62 the kernel messages be output only to a serial port (in which case 63 you should say Y to "Console on serial port", below). 90 See <file:Documentation/driver-api/console.rst> for more 105 Linux has traditionally used the BSD-like names /dev/ptyxx for [all …]
|
/linux-6.12.1/net/rxrpc/ |
D | protocol.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 typedef u32 rxrpc_seq_t; /* Rx message sequence number */ 12 typedef u32 rxrpc_serial_t; /* Rx message serial number */ 13 typedef __be32 rxrpc_seq_net_t; /* on-the-wire Rx message sequence number */ 14 typedef __be32 rxrpc_serial_net_t; /* on-the-wire Rx message serial number */ 18 * on-the-wire Rx packet header 19 * - all multibyte fields should be in network byte order 23 #define RXRPC_RANDOM_EPOCH 0x80000000 /* Random if set, date-based if not */ 27 #define RXRPC_CHANNELMASK (RXRPC_MAXCALLS-1) /* mask for channel ID */ 32 __be32 callNumber; /* call ID (0 for connection-level packets) */ [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/nvmem/layouts/ |
D | kontron,sl28-vpd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/kontron,sl28-vpd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVMEM layout of the Kontron SMARC-sAL28 vital product data 10 - Michael Walle <michael@walle.cc> 13 The vital product data (VPD) of the sl28 boards contains a serial 14 number and a base MAC address. The actual MAC addresses for the 15 on-board ethernet devices are derived from this base MAC address by 22 const: kontron,sl28-vpd [all …]
|
/linux-6.12.1/include/linux/soc/qcom/ |
D | geni-se.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. 12 * enum geni_se_xfer_mode: Transfer modes supported by Serial Engines 17 * @GENI_SE_DMA: Serial Engine DMA mode. Data is transferred 31 /* Protocols supported by GENI Serial Engines */ 56 * struct geni_se - GENI Serial Engine 57 * @base: Base Address of the Serial Engine's register block 58 * @dev: Pointer to the Serial Engine device 60 * @clk: Handle to the core serial engine clock 61 * @num_clk_levels: Number of valid clock levels in clk_perf_tbl [all …]
|
/linux-6.12.1/drivers/tty/serial/8250/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # The 8250/16550 serial drivers. You shouldn't be in this list unless 8 tristate "8250/16550 and compatible serial support" 14 serial ports. The standard answer is Y. People who might say N 17 serial mouse and don't intend to use their machine's standard serial 23 non-standard serial ports, since the configuration information will 27 BTW1: If you have a mouseman serial mouse which is not recognized by 34 Most people will say Y or M here, so that they can use serial mice, 35 modems and similar devices connecting to the standard serial ports. 51 If you did not notice yet and/or you have userspace from pre-3.7, it [all …]
|
/linux-6.12.1/sound/drivers/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 50 tristate "PC-Speaker support (READ HELP!)" 60 You can compile this as a module which will be called snd-pcsp. 65 pc-speaker a default sound device. Which is likely not 69 options snd-pcsp index=2 71 You don't need this driver if you only want your pc-speaker to beep. 90 will be called snd-dummy. 99 the standard ALSA PCM device. The devices are routed 0->1 and 100 1->0, where first number is the playback PCM device and second 101 number is the capture device. Module creates two PCM devices and [all …]
|
/linux-6.12.1/Documentation/sound/cards/ |
D | serial-u16550.rst | 2 Serial UART 16450/16550 MIDI driver 7 * 0 - Roland Soundcanvas support (default) 8 * 1 - Midiator MS-124T support (1) 9 * 2 - Midiator MS-124W S/A mode (2) 10 * 3 - MS-124W M/B mode support (3) 11 * 4 - Generic device with multiple input support (4) 13 For the Midiator MS-124W, you must set the physical M-S and A-B 17 (midiCnD0-midiCnD15). Whenever you write to a different substream, the driver 19 number plus 1. Roland modules use this command to switch between different 24 Usage example for simple serial converter: [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/ |
D | microchip,sparx5-sgpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/microchip,sparx5-sgpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microsemi/Microchip Serial GPIO controller 10 - Lars Povlsen <lars.povlsen@microchip.com> 13 By using a serial interface, the SIO controller significantly extend 14 the number of available GPIOs with a minimum number of additional 21 pattern: "^gpio@[0-9a-f]+$" 25 - microchip,sparx5-sgpio [all …]
|
/linux-6.12.1/arch/parisc/include/asm/ |
D | superio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #define SIO_SP1BAR 0x94 /* Serial 1 BAR */ 13 #define SIO_SP2BAR 0x98 /* Serial 2 BAR */ 20 #define CFG_IR_SER 0x69 /* Serial 1 [0:3] and Serial 2 [4:7] */ 34 #define OCW2_EOI 0x20 /* Non-specific EOI */ 42 #define SP1_IRQ 3 /* Serial port 1 */ 43 #define SP2_IRQ 4 /* Serial port 2 */ 74 #define SUPERIO_IDE_FN 0 /* Function number of IDE controller */ 75 #define SUPERIO_LIO_FN 1 /* Function number of Legacy IO controller */ 76 #define SUPERIO_USB_FN 2 /* Function number of USB controller */ [all …]
|
/linux-6.12.1/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 32 Adds code to keep track of the number of hypervisor calls made and 46 Adds code to keep track of the number of instructions that are 47 emulated by the in-kernel emulator. Counters for the various classes 51 powerpc/emulated_instructions/do_warn in debugfs), rate-limited 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" [all …]
|
/linux-6.12.1/Documentation/userspace-api/media/mediactl/ |
D | media-ioc-device-info.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 MEDIA_IOC_DEVICE_INFO - Query device information 44 .. flat-table:: struct media_device_info 45 :header-rows: 0 46 :stub-columns: 0 49 * - char 50 - ``driver``\ [16] 51 - Name of the driver implementing the media API as a NUL-terminated 59 * - char 60 - ``model``\ [32] [all …]
|
/linux-6.12.1/drivers/auxdisplay/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 # see Documentation/kbuild/kconfig-language.rst. 25 This is the base system for character-based LCD displays. 67 Say Y here if you have an HD44780 or KS-0074 LCD connected to your 68 parallel port. This driver also features 4 and 6-key keypads. The LCD 77 int "Default parallel port number (0=LPT1)" 88 int "Default panel profile (0-5, 0=custom)" 99 2 = 2x16 serial LCD (KS-0074), new keypad 119 2 : new 6 keys keypad, as used on the server at www.ant-computing.com 140 3 : 2x16 serial LCD (KS-0074 based) [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/serial/ |
D | xlnx,opb-uartlite.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/serial/xlnx,opb-uartlite.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Korsgaard <jacmet@sunsite.dk> 16 - xlnx,xps-uartlite-1.00.a 17 - xlnx,opb-uartlite-1.00.b 25 port-number: 27 description: Set Uart port number 32 clock-names: [all …]
|