| /linux/drivers/net/usb/ |
| H A D | hso.c | 22 * The multiplexed serial ports are using the interrupt and 60 #include <linux/serial.h> 203 on which serial port it is used on. */ 230 int (*write_data) (struct hso_serial *serial); 233 * working on the serial receive buffers 290 /* Serial driver functions */ 294 static int put_rxbuf_data(struct urb *urb, struct hso_serial *serial); 295 static void hso_kick_transmit(struct hso_serial *serial); 310 static int hso_mux_serial_read(struct hso_serial *serial); 366 /* serial structures */ [all …]
|
| /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 | mxuport.c | 8 * Supports the following Moxa USB to serial converters: 19 #include <linux/serial.h> 25 #include <linux/usb/serial.h> 103 /* Definitions for serial event type */ 210 static int mxuport_recv_ctrl_urb(struct usb_serial *serial, in mxuport_recv_ctrl_urb() argument 216 status = usb_control_msg(serial->dev, in mxuport_recv_ctrl_urb() 217 usb_rcvctrlpipe(serial->dev, 0), in mxuport_recv_ctrl_urb() 224 dev_err(&serial->interface->dev, in mxuport_recv_ctrl_urb() 231 dev_err(&serial->interface->dev, in mxuport_recv_ctrl_urb() 241 static int mxuport_send_ctrl_data_urb(struct usb_serial *serial, in mxuport_send_ctrl_data_urb() argument [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 | io_ti.c | 3 * Edgeport USB Serial Converter driver 25 #include <linux/serial.h> 31 #include <linux/usb/serial.h> 38 #define DRIVER_DESC "Edgeport USB Serial Driver" 120 struct usb_serial *serial; member 226 static int do_download_mode(struct edgeport_serial *serial, 228 static int do_boot_mode(struct edgeport_serial *serial, 291 return ti_vread_sync(port->serial->dev, command, value, in read_port_cmd() 299 return ti_vsend_sync(port->serial->dev, command, value, in send_port_cmd() 379 static int read_boot_mem(struct edgeport_serial *serial, in read_boot_mem() argument [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 */ 253 { USB_DEVICE(0x2626, 0xEA60) }, /* Aruba Networks 7xxx USB Serial Consol 630 cp210x_interface_num(struct usb_serial * serial) cp210x_interface_num() argument 646 struct usb_serial *serial = port->serial; cp210x_read_reg_block() local 676 cp210x_read_vendor_block(struct usb_serial * serial,u8 type,u16 val,void * buf,int bufsize) cp210x_read_vendor_block() argument 700 struct usb_serial *serial = port->serial; cp210x_write_u16_reg() local 723 struct usb_serial *serial = port->serial; cp210x_write_reg_block() local 757 cp210x_write_vendor_block(struct usb_serial * serial,u8 type,u16 val,void * buf,int bufsize) cp210x_write_vendor_block() argument 928 struct usb_serial *serial = port->serial; cp210x_get_tx_queue_byte_count() local 1055 struct usb_serial *serial = port->serial; cp210x_change_speed() local 1467 struct usb_serial *serial = gpiochip_get_data(gc); cp210x_gpio_get() local 1509 struct usb_serial *serial = gpiochip_get_data(gc); cp210x_gpio_set() local 1570 struct usb_serial *serial = gpiochip_get_data(gc); cp210x_gpio_direction_get() local 1578 struct usb_serial *serial = gpiochip_get_data(gc); cp210x_gpio_direction_input() local 1601 struct usb_serial *serial = gpiochip_get_data(gc); cp210x_gpio_direction_output() local 1612 struct usb_serial *serial = gpiochip_get_data(gc); cp210x_gpio_set_config() local 1631 struct usb_serial *serial = gpiochip_get_data(gc); cp210x_gpio_init_valid_mask() local 1653 cp2105_gpioconf_init(struct usb_serial * serial) cp2105_gpioconf_init() argument 1718 cp2104_gpioconf_init(struct usb_serial * serial) cp2104_gpioconf_init() argument 1768 cp2108_gpio_init(struct usb_serial * serial) cp2108_gpio_init() argument 1823 cp2102n_gpioconf_init(struct usb_serial * serial) cp2102n_gpioconf_init() argument 1927 cp210x_gpio_init(struct usb_serial * serial) cp210x_gpio_init() argument 1980 cp210x_gpio_remove(struct usb_serial * serial) cp210x_gpio_remove() argument 1992 cp210x_gpio_init(struct usb_serial * serial) cp210x_gpio_init() argument 1997 cp210x_gpio_remove(struct usb_serial * serial) cp210x_gpio_remove() argument 2006 struct usb_serial *serial = port->serial; cp210x_port_probe() local 2029 cp210x_init_max_speed(struct usb_serial * serial) cp210x_init_max_speed() argument 2076 cp2102_determine_quirks(struct usb_serial * serial) cp2102_determine_quirks() argument 2103 cp210x_get_fw_version(struct usb_serial * serial,u16 value) cp210x_get_fw_version() argument 2122 cp210x_determine_type(struct usb_serial * serial) cp210x_determine_type() argument 2161 cp210x_attach(struct usb_serial * serial) cp210x_attach() argument 2184 cp210x_disconnect(struct usb_serial * serial) cp210x_disconnect() argument 2189 cp210x_release(struct usb_serial * serial) cp210x_release() argument [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 in usb_serial_device_remove() [all...] |
| /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/sound/soc/codecs/ |
| H A D | adau1372.c | 284 "Serial Input 0", 285 "Serial Input 1", 286 "Serial Input 2", 287 "Serial Input 3", 288 "Serial Input 4", 289 "Serial Input 5", 290 "Serial Input 6", 291 "Serial Input 7", 312 SOC_DAPM_ENUM("Serial Output 0 Capture Mux", adau1372_sout0_mux_enum); 314 SOC_DAPM_ENUM("Serial Outpu [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/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/include/linux/usb/ |
| H A D | serial.h | 3 * USB Serial Converter stuff 14 #include <linux/serial.h> 21 /* USB serial flags */ 27 * @serial: pointer back to the struct usb_serial owner of this port. 60 * @flags: usb serial port flags 62 * @dev: pointer to the serial device 64 * This structure is used by the usb-serial core and drivers for the specific 68 struct usb_serial *serial; member 125 * usb_serial - structure used by the usb-serial core for a device 138 * usb-serial drive 165 usb_get_serial_data(struct usb_serial * serial) usb_get_serial_data() argument 170 usb_set_serial_data(struct usb_serial * serial,void * data) usb_set_serial_data() argument 334 usb_serial_console_disconnect(struct usb_serial * serial) usb_serial_console_disconnect() argument [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/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/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/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/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/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/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/net/rxrpc/ |
| H A D | output.c | 122 static void rxrpc_begin_rtt_probe(struct rxrpc_call *call, rxrpc_serial_t serial, in rxrpc_begin_rtt_probe() argument 135 call->rtt_serial[rtt_slot] = serial; in rxrpc_begin_rtt_probe() 140 trace_rxrpc_rtt_tx(call, why, rtt_slot, serial); in rxrpc_begin_rtt_probe() 144 trace_rxrpc_rtt_tx(call, rxrpc_rtt_tx_no_slot, rtt_slot, serial); in rxrpc_begin_rtt_probe() 175 whdr->serial = htonl(*_ack_serial); in rxrpc_fill_out_ack() 188 ack->serial = htonl(serial_to_ack); in rxrpc_fill_out_ack() 244 rxrpc_serial_t serial, enum rxrpc_propose_ack_trace why) in rxrpc_send_ack_packet() argument 265 trace_rxrpc_tx_ack(call->debug_id, serial, in rxrpc_send_ack_packet() 267 ntohl(ack->serial), ack->reason, ack->nAcks, in rxrpc_send_ack_packet() 278 trace_rxrpc_tx_fail(call->debug_id, serial, ret, in rxrpc_send_ack_packet() [all …]
|
| /linux/sound/drivers/ |
| H A D | Kconfig | 172 tristate "UART16550 serial MIDI driver" 176 To include support for MIDI serial port interfaces, say Y here 177 and read <file:Documentation/sound/cards/serial-u16550.rst>. 178 This driver works with serial UARTs 16550 and better. 180 This driver accesses the serial port hardware directly, so 181 make sure that the standard serial driver isn't used or 185 will be called snd-serial-u16550. 188 tristate "Generic serial MIDI driver" 193 To include support for mapping generic serial devices as raw 195 the serial port to standard baudrates. To attain the standard MIDI [all …]
|
| /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)
|