| /kernel/linux/linux-5.10/drivers/staging/fwserial/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 This enables TTY over IEEE 1394, providing high-speed serial 8 ad-hoc transport protocol and is currently limited to 9 Linux-to-Linux communication. 12 be called firewire-serial. 17 int "Maximum number of serial ports supported" 20 Set this to the maximum number of serial ports you want the 21 firewire-serial driver to support. 24 int "Maximum number of serial ports supported per adapter" 28 Set this to the maximum number of serial ports each firewire [all …]
|
| /kernel/linux/linux-5.10/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) 19 #include <linux/serial.h> 22 /* The maximum number of ports one device can grab at once */ 25 /* USB serial flags */ 31 * @serial: pointer back to the struct usb_serial owner of this port. 34 * @minor: the minor number of the port 35 * @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.)
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 | sh-sci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 SCSMR, /* Serial Mode Register */ 17 SCSCR, /* Serial Control Register */ 18 SCxSR, /* Serial Status Register */ 26 SCSPTR, /* Serial Port Register */ 28 SCPCR, /* Serial Port Control Register */ 29 SCPDR, /* Serial Port Data Register */ 39 /* SCSMR (Serial Mode Register) */ 41 #define SCSMR_CSYNC BIT(7) /* - Clocked synchronous mode */ 42 #define SCSMR_ASYNC 0 /* - Asynchronous mode */ [all …]
|
| /kernel/linux/linux-5.10/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 | io_edgeport.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 14 #define MAX_RS232_PORTS 8 /* Max # of RS-232 ports per device */ 32 /* The following table is used to map the USBx port number to 33 * the device serial number (or physical USB path), */ 37 char SerialNumber[MAX_SERIALNUMBER_LEN+1]; /* Serial number/usb path */ 38 int numPorts; /* Number of ports */ 80 __u8 NumPorts; /* Number of ports on edgeport */ 84 __u32 IsRS232 :1; /* Set if RS-232 ports exist */ 85 __u32 IsRS422 :1; /* Set if RS-422 ports exist */ 86 __u32 IsRS485 :1; /* Set if RS-485 ports exist */ [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 */ 93 PPF = 2<<5, /* moschip calls this 'CB-FIFO mode */ [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 | 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" 78 * "length" is the number of bytes of actual data following the header. 99 * Number of milliseconds the UMP will [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | padata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * padata.h - header for the padata parallelization interface 25 * struct padata_priv - Represents one job 30 * @seq_nr: Sequence number of the parallelized data object. 31 * @info: Used to pass information from the parallel to the serial function. 33 * @serial: Serial complete function. 42 void (*serial)(struct padata_priv *padata); member 46 * struct padata_list - one per work type per CPU 57 * struct padata_serial_queue - The percpu padata serial queue 59 * @serial: List to wait for serialization after reordering. [all …]
|
| D | qcom-geni-se.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. 11 /* Transfer mode supported by GENI Serial Engines */ 18 /* Protocols supported by GENI Serial Engines */ 42 * struct geni_se - GENI Serial Engine 43 * @base: Base Address of the Serial Engine's register block 44 * @dev: Pointer to the Serial Engine device 46 * @clk: Handle to the core serial engine clock 47 * @num_clk_levels: Number of valid clock levels in clk_perf_tbl 48 * @clk_perf_tbl: Table of clock frequency input to serial engine clock [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/ |
| D | devices.txt | 1 0 Unnamed devices (e.g. non-device mounts) 2 0 = reserved as null device number 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 44 These are the old-style (BSD) PTY devices; Unix98 [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/drivers/tty/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 8 TTY is required for any text terminals or serial port 24 one can be used for a text-mode user session, and a third could run 26 is done with certain key combinations, usually Alt-<function key>. 39 memory; the only way to log into such a system is then via a serial 43 shiny Linux system :-) 63 the kernel messages be output only to a serial port (in which case 64 you should say Y to "Console on serial port", below). 96 See <file:Documentation/driver-api/console.rst> for more 111 Linux has traditionally used the BSD-like names /dev/ptyxx for [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 18 port for anything. (Note that the Cyclades multi serial port driver 24 non-standard serial ports, since the configuration information will 28 BTW1: If you have a mouseman serial mouse which is not recognized by 35 Most people will say Y or M here, so that they can use serial mice, 36 modems and similar devices connecting to the standard serial ports. [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_fru_eeprom.c | 41 struct atom_context *atom_ctx = adev->mode_info.atom_context; in is_fru_eeprom_supported() 43 /* VBIOS is of the format ###-DXXXYY-##. For SKU identification, in is_fru_eeprom_supported() 49 switch (adev->asic_type) { in is_fru_eeprom_supported() 52 if (strnstr(atom_ctx->vbios_version, "D161", in is_fru_eeprom_supported() 53 sizeof(atom_ctx->vbios_version)) || in is_fru_eeprom_supported() 54 strnstr(atom_ctx->vbios_version, "D163", in is_fru_eeprom_supported() 55 sizeof(atom_ctx->vbios_version))) in is_fru_eeprom_supported() 76 ret = i2c_transfer(&adev->pm.smu_i2c, &msg, 1); in amdgpu_fru_read_eeprom() 86 size = buff[2] - I2C_PRODUCT_INFO_OFFSET; in amdgpu_fru_read_eeprom() 91 ret = i2c_transfer(&adev->pm.smu_i2c, &msg, 1); in amdgpu_fru_read_eeprom() [all …]
|
| /kernel/linux/linux-5.10/drivers/auxdisplay/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 # see Documentation/kbuild/kconfig-language.rst. 41 and built-in as well (Y). 96 If you have a Crystalfontz 128x64 2-color LCD, cfag12864b Series, 100 check Documentation/admin-guide/auxdisplay/cfag12864b.rst 172 Say Y here if you have an HD44780 or KS-0074 LCD connected to your 173 parallel port. This driver also features 4 and 6-key keypads. The LCD 182 int "Default parallel port number (0=LPT1)" 193 int "Default panel profile (0-5, 0=custom)" 204 2 = 2x16 serial LCD (KS-0074), new keypad [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | fsl,esai.txt | 1 Freescale Enhanced Serial Audio Interface (ESAI) Controller 3 The Enhanced Serial Audio Interface (ESAI) provides a full-duplex serial port 4 for serial communication with a variety of serial devices, including industry 10 - compatible : Compatible list, should contain one of the following 12 "fsl,imx35-esai", 13 "fsl,vf610-esai", 14 "fsl,imx6ull-esai", 15 "fsl,imx8qm-esai", 17 - reg : Offset and length of the register set for the device. 19 - interrupts : Contains the spdif interrupt. [all …]
|
| /kernel/linux/linux-5.10/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 …]
|