| /linux/drivers/usb/serial/ |
| H A D | Kconfig | 3 # USB Serial device configuration 7 tristate "USB Serial Converter support" 10 Say Y here if you have a USB device that provides normal serial 11 ports, or acts like a serial device, and you want to connect it to 14 Please read <file:Documentation/usb/usb-serial.rst> for more 24 bool "USB Serial Console device support" 27 If you say Y here, it will be possible to use a USB to serial 31 terminal or printer is connected to that serial port. 41 kernel will automatically use the first USB to serial converter 47 bool "USB Generic Serial Driver" [all …]
|
| H A D | console.c | 3 * USB Serial Console driver 18 #include <linux/serial.h> 20 #include <linux/usb/serial.h> 33 * USB Serial console driver 35 * Much of the code here is copied from drivers/char/serial.c 36 * and implements a phony serial console in the same way that 37 * serial.c does so that in case some software queries it, 40 * Things that are different from the way the serial port code 41 * does things, is that we call the lower level usb-serial 52 * serial.c code, except that the specifier is "ttyUSB" instead [all …]
|
| H A D | sierra.c | 30 #include <linux/usb/serial.h> 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() 118 static u8 sierra_interface_num(struct usb_serial *serial) in sierra_interface_num() argument 120 return serial->interface->cur_altsetting->desc.bInterfaceNumber; in sierra_interface_num() 123 static int sierra_probe(struct usb_serial *serial, in sierra_probe() argument 131 udev = serial->dev; in sierra_probe() 132 ifnum = sierra_interface_num(serial); in sierra_probe() 138 if (serial->interface->num_altsetting == 2) { in sierra_probe() [all …]
|
| H A D | cp210x.c | 3 * Silicon Laboratories CP210x USB to RS232 serial adaptor driver 21 #include <linux/usb/serial.h> 26 #define DRIVER_DESC "Silicon Labs CP210x RS232 serial adaptor driver" 65 { USB_DEVICE(0x0908, 0x0070) }, /* Siemens SCALANCE LPE-9000 USB Serial Console */ 66 { USB_DEVICE(0x0908, 0x01FF) }, /* Siemens RUGGEDCOM USB Serial Console */ 83 { USB_DEVICE(0x10C4, 0x803B) }, /* Pololu USB-serial converter */ 198 { USB_DEVICE(0x16D6, 0x0001) }, /* Jablotron serial interface */ 220 { USB_DEVICE(0x1901, 0x0197) }, /* GE CS1000 M.2 Key E serial interface */ 221 { USB_DEVICE(0x1901, 0x0198) }, /* GE CS1000 Display serial interface */ 252 { USB_DEVICE(0x2626, 0xEA60) }, /* Aruba Networks 7xxx USB Serial Console */ [all …]
|
| H A D | bus.c | 3 * USB Serial Converter Bus specific functions 14 #include <linux/usb/serial.h> 26 if (driver == port->serial->type) in usb_serial_device_match() 41 retval = usb_autopm_get_interface(port->serial->interface); in usb_serial_device_probe() 45 driver = port->serial->type; in usb_serial_device_probe() 60 usb_autopm_put_interface(port->serial->interface); in usb_serial_device_probe() 62 dev_info(&port->serial->dev->dev, in usb_serial_device_probe() 72 usb_autopm_put_interface(port->serial->interface); in usb_serial_device_probe() 90 autopm_err = usb_autopm_get_interface(port->serial->interface); in usb_serial_device_remove() 95 driver = port->serial->type; in usb_serial_device_remove() [all …]
|
| H A D | cypress_m8.h | 6 * definitions and function prototypes used for the cypress USB to Serial 11 * For sending our feature buffer - controlling serial communication states. 12 * Linux HID has no support for serial devices so we do this through the driver 17 /* List other cypress USB to Serial devices here, and add them to the id_table */ 39 /* Nokia CA-42 USB to serial cable */ 44 /* Used for setting / requesting serial line settings */ 63 * RS-232 serial data communication protocol definitions. 66 * You can find these values defined in the CY4601 USB to Serial design notes.
|
| /linux/Documentation/usb/ |
| H A D | gadget_serial.rst | 2 Linux Gadget Serial Driver v2.0 27 This document and the gadget serial driver itself are 36 Versions of the gadget serial driver are available for the 38 version 2.3 or later of the gadget serial driver in a 2.6 44 USB and serial devices. It also assumes you configure the Linux 56 The gadget serial driver is a Linux USB gadget driver, a USB device 61 The gadget serial driver talks over USB to either a CDC ACM driver 62 or a generic USB serial driver running on a host PC:: 69 | (Linux or | Serial | and | | 79 | Linux | Serial | Driver |-------- [all …]
|
| H A D | usb-serial.rst | 2 USB serial 8 The USB serial driver currently supports a number of different USB to 9 serial converter products, as well as some devices that use a serial 19 Currently the driver can handle up to 256 different serial interfaces at 77 (this is usually /dev/ttyUSB1 if you do not have any other usb-serial 112 The driver presents a serial interface (usually on /dev/ttyUSB0) over 147 Toshiba's $350 serial cable for flashing!! :D 154 Keyspan PDA Serial Adapter 157 Single port DB-9 serial adapter, pushed as a PDA adapter for iMacs (mostly 160 This driver also works for the Xircom/Entrega single port serial adapter. [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-hid-srws1 | 1 What: /sys/class/leds/SRWS1::<serial>::RPM1 2 What: /sys/class/leds/SRWS1::<serial>::RPM2 3 What: /sys/class/leds/SRWS1::<serial>::RPM3 4 What: /sys/class/leds/SRWS1::<serial>::RPM4 5 What: /sys/class/leds/SRWS1::<serial>::RPM5 6 What: /sys/class/leds/SRWS1::<serial>::RPM6 7 What: /sys/class/leds/SRWS1::<serial>::RPM7 8 What: /sys/class/leds/SRWS1::<serial>::RPM8 9 What: /sys/class/leds/SRWS1::<serial>::RPM9 10 What: /sys/class/leds/SRWS1::<serial>::RPM10 [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | serial-midi.yaml | 5 $id: http://devicetree.org/schemas/sound/serial-midi.yaml# 8 title: Generic Serial MIDI Interface 14 Generic MIDI interface using a serial device. This denotes that a serial device is 17 child node of a serial node. 20 parent serial device. If the standard MIDI baud of 31.25 kBaud is needed 22 configure the clocks of the parent serial device so that a requested baud of 38.4 kBaud 26 - $ref: /schemas/serial/serial-peripheral-props.yaml# 30 const: serial-midi 33 description: Baudrate to set the serial port to when this MIDI device is opened. 43 serial { [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | adau1372.c | 285 "Serial Input 0", 286 "Serial Input 1", 287 "Serial Input 2", 288 "Serial Input 3", 289 "Serial Input 4", 290 "Serial Input 5", 291 "Serial Input 6", 292 "Serial Input 7", 313 SOC_DAPM_ENUM("Serial Output 0 Capture Mux", adau1372_sout0_mux_enum); 315 SOC_DAPM_ENUM("Serial Outpu [all...] |
| /linux/include/dt-bindings/pinctrl/ |
| H A D | k210-fpioa.h | 31 #define K210_PCF_SPI0_SCLK 17 /* SPI0 Serial Clock */ 97 #define K210_PCF_SPI1_SCLK 83 /* SPI1 Serial Clock */ 100 #define K210_PCF_SPI2_SCLK 86 /* SPI2 Serial Clock */ 102 #define K210_PCF_I2S0_SCLK 88 /* I2S0 Serial Clock(BCLK) */ 104 #define K210_PCF_I2S0_IN_D0 90 /* I2S0 Serial Data Input 0 */ 105 #define K210_PCF_I2S0_IN_D1 91 /* I2S0 Serial Data Input 1 */ 106 #define K210_PCF_I2S0_IN_D2 92 /* I2S0 Serial Data Input 2 */ 107 #define K210_PCF_I2S0_IN_D3 93 /* I2S0 Serial Data Input 3 */ 108 #define K210_PCF_I2S0_OUT_D0 94 /* I2S0 Serial Data Output 0 */ 109 #define K210_PCF_I2S0_OUT_D1 95 /* I2S0 Serial Data Output 1 */ [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | serial-console.rst | 3 Linux Serial Console 6 To use a serial port as console you need to compile the support into your 7 kernel - by default it is not compiled in. For PC style serial ports 10 …`Character devices --> Serial drivers --> 8250/16550 and compatible serial support --> Console on … 12 You must compile serial support into the kernel and not as a module. 24 ttySx for a serial port 26 ttyUSB0 for the first USB serial device 28 options: depend on the driver. For the serial port this 46 console and the 2nd serial port (ttyS1 or COM2) at 9600 baud. 69 tries to register graphical consoles before serial ones. It does it [all …]
|
| /linux/include/linux/usb/ |
| H A D | serial.h | 3 * USB Serial Converter stuff 14 #include <linux/serial.h> 20 /* USB serial flags */ 26 * @serial: pointer back to the struct usb_serial owner of this port. 59 * @flags: usb serial port flags 61 * @dev: pointer to the serial device 63 * This structure is used by the usb-serial core and drivers for the specific 67 struct usb_serial *serial; member 124 * usb_serial - structure used by the usb-serial core for a device 137 * usb-serial driver is required to manage this data, the usb-serial core [all …]
|
| /linux/drivers/net/mctp/ |
| H A D | Kconfig | 7 tristate "MCTP serial transport" 11 This driver provides an MCTP-over-serial interface, through a 12 serial line-discipline, as defined by DMTF specification "DSP0253 - 13 MCTP Serial Transport Binding". By attaching the ldisc to a serial 17 serial as their transport. It can also be used as an easy way to 19 data between simple virtual serial devices. 21 Say y here if you need to connect to MCTP endpoints over serial. To 22 compile as a module, use m; the module will be called mctp-serial. 25 bool "MCTP serial tests" if !KUNIT_ALL_TESTS
|
| /linux/Documentation/devicetree/bindings/soc/qcom/ |
| H A D | qcom,geni-se.yaml | 7 title: GENI Serial Engine QUP Wrapper Controller 14 is a programmable module for supporting a wide range of serial interfaces 15 like UART, SPI, I2C, I3C, etc. A single QUP module can provide upto 8 Serial 16 Interfaces, using its internal Serial Engines. The GENI Serial Engine QUP 18 representing a serial engine. 73 description: GENI serial engine based SPI controller. SPI in master mode 81 description: GENI serial engine based I2C controller. 84 "serial@[0-9a-f]+$": 86 description: GENI Serial Engine based UART Controller. 87 $ref: /schemas/serial/qcom,serial-geni-qcom.yaml# [all …]
|
| /linux/arch/sh/kernel/cpu/sh3/ |
| H A D | Makefile | 11 obj-$(CONFIG_CPU_SUBTYPE_SH7705) += setup-sh7705.o serial-sh770x.o 12 obj-$(CONFIG_CPU_SUBTYPE_SH7706) += setup-sh770x.o serial-sh770x.o 13 obj-$(CONFIG_CPU_SUBTYPE_SH7707) += setup-sh770x.o serial-sh770x.o 14 obj-$(CONFIG_CPU_SUBTYPE_SH7708) += setup-sh770x.o serial-sh770x.o 15 obj-$(CONFIG_CPU_SUBTYPE_SH7709) += setup-sh770x.o serial-sh770x.o 16 obj-$(CONFIG_CPU_SUBTYPE_SH7710) += setup-sh7710.o serial-sh7710.o 17 obj-$(CONFIG_CPU_SUBTYPE_SH7712) += setup-sh7710.o serial-sh7710.o 18 obj-$(CONFIG_CPU_SUBTYPE_SH7720) += setup-sh7720.o serial-sh7720.o 19 obj-$(CONFIG_CPU_SUBTYPE_SH7721) += setup-sh7720.o serial-sh7720.o
|
| /linux/drivers/hid/intel-thc-hid/intel-quicki2c/ |
| H A D | quicki2c-dev.h | 93 * @SMHX: Standard Mode (100 kbit/s) Serial Clock Line HIGH Period 94 * @SMLX: Standard Mode (100 kbit/s) Serial Clock Line LOW Period 95 * @SMTD: Standard Mode (100 kbit/s) Serial Data Line Transmit Hold Period 96 * @SMRD: Standard Mode (100 kbit/s) Serial Data Receive Hold Period 97 * @FMHX: Fast Mode (400 kbit/s) Serial Clock Line HIGH Period 98 * @FMLX: Fast Mode (400 kbit/s) Serial Clock Line LOW Period 99 * @FMTD: Fast Mode (400 kbit/s) Serial Data Line Transmit Hold Period 100 * @FMRD: Fast Mode (400 kbit/s) Serial Data Line Receive Hold Period 103 * @FPHX: Fast Mode Plus (1Mbit/sec) Serial Clock Line HIGH Period 104 * @FPLX: Fast Mode Plus (1Mbit/sec) Serial Clock Line LOW Period [all …]
|
| /linux/arch/sh/include/mach-common/mach/ |
| H A D | highlander.h | 38 #define PA_SCSMR0 (PA_BCR+0x0400) /* SCIF0 Serial mode control */ 40 #define PA_SCSCR0 (PA_BCR+0x0408) /* SCIF0 Serial control */ 42 #define PA_SCFSR0 (PA_BCR+0x0410) /* SCIF0 Serial status control */ 47 #define PA_SCSPTR0 (PA_BCR+0x0424) /* SCIF0 Serial Port control */ 49 #define PA_SCRER0 (PA_BCR+0x042c) /* SCIF0 Serial Error control */ 50 #define PA_SCSMR1 (PA_BCR+0x0500) /* SCIF1 Serial mode control */ 52 #define PA_SCSCR1 (PA_BCR+0x0508) /* SCIF1 Serial control */ 54 #define PA_SCFSR1 (PA_BCR+0x0510) /* SCIF1 Serial status control */ 59 #define PA_SCSPTR1 (PA_BCR+0x0524) /* SCIF1 Serial Port control */ 61 #define PA_SCRER1 (PA_BCR+0x052c) /* SCIF1 Serial Error control */ [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | utresdecode.c | 165 /* Serial bus type */ 168 "/* UNKNOWN serial bus type */", 175 /* I2C serial bus access mode */ 182 /* I2C serial bus slave mode */ 189 /* SPI serial bus wire mode */ 196 /* SPI serial clock phase */ 203 /* SPI serial bus clock polarity */ 210 /* SPI serial bus device polarity */ 217 /* UART serial bus endian */ 224 /* UART serial bus bits per byte */ [all …]
|
| /linux/include/trace/events/ |
| H A D | rxrpc.h | 893 __entry->hdr.serial, __entry->hdr.seq, 1105 rxrpc_serial_t serial, u8 flags), 1107 TP_ARGS(call, seq, serial, flags), 1112 __field(rxrpc_serial_t, serial) 1119 __entry->serial = serial; 1125 __entry->serial, 1137 __field(rxrpc_serial_t, serial) 1148 __entry->serial = sp->hdr.serial; 1159 __entry->serial, 1169 TP_PROTO(struct rxrpc_call *call, rxrpc_serial_t serial, [all …]
|
| /linux/drivers/tty/serdev/ |
| H A D | Kconfig | 3 # Serial bus device driver configuration 6 tristate "Serial device bus" 8 Core support for devices connected via a serial port. 15 bool "Serial device TTY port controller" 17 Say Y here if you want to use the Serial device bus with common TTY 18 drivers (e.g. serial drivers).
|
| /linux/Documentation/arch/arm/sa1100/ |
| H A D | serial_uart.rst | 2 SA1100 serial port 5 The SA1100 serial port had its major/minor numbers officially assigned:: 14 > serial devices", so you will have a range of minors on those majors (the 20 > 204 char Low-density serial ports 21 > 5 = /dev/ttySA0 SA1100 builtin serial port 0 22 > 6 = /dev/ttySA1 SA1100 builtin serial port 1 23 > 7 = /dev/ttySA2 SA1100 builtin serial port 2 25 > 205 char Low-density serial ports (alternate device)
|
| /linux/drivers/media/usb/gspca/ |
| H A D | stk1135.h | 23 #define STK1135_REG_SICTL 0x200 /* Serial interface control register */ 24 #define STK1135_REG_SBUSW 0x204 /* Serial bus write */ 25 #define STK1135_REG_SBUSR 0x208 /* Serial bus read */ 26 #define STK1135_REG_SCSI 0x20c /* Software control serial interface */ 27 #define STK1135_REG_GSBWP 0x210 /* General serial bus write port */ 28 #define STK1135_REG_GSBRP 0x214 /* General serial bus read port */ 29 #define STK1135_REG_ASIC 0x2fc /* Alternate serial interface control */
|
| /linux/drivers/tty/serial/ |
| H A D | serial_ctrl.c | 3 * Serial core controller driver 8 * This driver manages the serial core controller struct device instances. 9 * The serial core controller devices are children of the physical serial 36 * Serial core controller device init functions. Note that the physical 37 * serial port device driver may not have completed probe at this point. 67 MODULE_DESCRIPTION("Serial core controller driver");
|