| /kernel/linux/linux-5.10/drivers/usb/serial/ |
| D | usb-serial.c | 3 * USB Serial Converter driver 13 * See Documentation/usb/usb-serial.rst for more information on using this 33 #include <linux/serial.h> 35 #include <linux/usb/serial.h> 40 #define DRIVER_DESC "USB Serial Driver core" 46 the MODULE_DEVICE_TABLE declarations in each serial driver 48 via modprobe, and modprobe will load usbserial because the serial 57 * Look up the serial port structure. If it is found and it hasn't been 63 struct usb_serial *serial; in usb_serial_port_get_by_minor() local 71 serial = port->serial; in usb_serial_port_get_by_minor() [all …]
|
| 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 …]
|
| D | mxuport.c | 8 * Supports the following Moxa USB to serial converters: 19 #include <linux/serial.h> 27 #include <linux/usb/serial.h> 105 /* Definitions for serial event type */ 212 static int mxuport_recv_ctrl_urb(struct usb_serial *serial, in mxuport_recv_ctrl_urb() argument 218 status = usb_control_msg(serial->dev, in mxuport_recv_ctrl_urb() 219 usb_rcvctrlpipe(serial->dev, 0), in mxuport_recv_ctrl_urb() 226 dev_err(&serial->interface->dev, in mxuport_recv_ctrl_urb() 233 dev_err(&serial->interface->dev, in mxuport_recv_ctrl_urb() 243 static int mxuport_send_ctrl_data_urb(struct usb_serial *serial, in mxuport_send_ctrl_data_urb() argument [all …]
|
| D | mos7720.c | 4 * Controls the Moschip 7720 usb to dual port serial converter 16 * Originally based on drivers/usb/serial/io_edgeport.c which is: 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 */ 105 struct usb_serial *serial; /* back to containing struct */ member 119 MOS7720_THR, /* serial port regs */ 136 MOS7720_SP2_REG, /* serial port 2 (7720 only) */ 185 else /* serial port reg */ in get_reg_value() [all …]
|
| 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 …]
|
| D | pl2303.c | 3 * Prolific PL2303 USB to serial adaptor driver 10 * See Documentation/usb/usb-serial.rst for more information on using this 20 #include <linux/serial.h> 26 #include <linux/usb/serial.h> 218 static int pl2303_vendor_read(struct usb_serial *serial, u16 value, in pl2303_vendor_read() argument 221 struct pl2303_serial_private *spriv = usb_get_serial_data(serial); in pl2303_vendor_read() 222 struct device *dev = &serial->interface->dev; in pl2303_vendor_read() 231 res = usb_control_msg(serial->dev, usb_rcvctrlpipe(serial->dev, 0), in pl2303_vendor_read() 248 static int pl2303_vendor_write(struct usb_serial *serial, u16 value, u16 index) in pl2303_vendor_write() argument 250 struct pl2303_serial_private *spriv = usb_get_serial_data(serial); in pl2303_vendor_write() [all …]
|
| D | f81534.c | 3 * F81532/F81534 USB to Serial Ports Bridge 5 * F81532 => 2 Serial Ports 6 * F81534 => 4 Serial Ports 13 * for all serial port TX and 1 endpoint bulk-in for all serial port read in 16 * Write URB is fixed with 512bytes, per serial port used 128Bytes. 19 * Read URB is 512Bytes max, per serial port used 128Bytes. 28 #include <linux/usb/serial.h> 33 /* Serial Port register Address */ 193 static int f81534_logic_to_phy_port(struct usb_serial *serial, in f81534_logic_to_phy_port() argument 197 usb_get_serial_data(port->serial); in f81534_logic_to_phy_port() [all …]
|
| /kernel/linux/linux-4.19/drivers/usb/serial/ |
| D | usb-serial.c | 3 * USB Serial Converter driver 13 * See Documentation/usb/usb-serial.txt for more information on using this 33 #include <linux/serial.h> 35 #include <linux/usb/serial.h> 40 #define DRIVER_DESC "USB Serial Driver core" 46 the MODULE_DEVICE_TABLE declarations in each serial driver 48 via modprobe, and modprobe will load usbserial because the serial 57 * Look up the serial port structure. If it is found and it hasn't been 63 struct usb_serial *serial; in usb_serial_port_get_by_minor() local 71 serial = port->serial; in usb_serial_port_get_by_minor() [all …]
|
| D | Kconfig | 2 # USB Serial device configuration 6 tristate "USB Serial Converter support" 9 Say Y here if you have a USB device that provides normal serial 10 ports, or acts like a serial device, and you want to connect it to 13 Please read <file:Documentation/usb/usb-serial.txt> for more 23 bool "USB Serial Console device support" 26 If you say Y here, it will be possible to use a USB to serial 30 terminal or printer is connected to that serial port. 40 kernel will automatically use the first USB to serial converter 46 bool "USB Generic Serial Driver" [all …]
|
| D | mxuport.c | 8 * Supports the following Moxa USB to serial converters: 19 #include <linux/serial.h> 27 #include <linux/usb/serial.h> 105 /* Definitions for serial event type */ 212 static int mxuport_recv_ctrl_urb(struct usb_serial *serial, in mxuport_recv_ctrl_urb() argument 218 status = usb_control_msg(serial->dev, in mxuport_recv_ctrl_urb() 219 usb_rcvctrlpipe(serial->dev, 0), in mxuport_recv_ctrl_urb() 226 dev_err(&serial->interface->dev, in mxuport_recv_ctrl_urb() 233 dev_err(&serial->interface->dev, in mxuport_recv_ctrl_urb() 243 static int mxuport_send_ctrl_data_urb(struct usb_serial *serial, in mxuport_send_ctrl_data_urb() argument [all …]
|
| D | mos7720.c | 4 * Controls the Moschip 7720 usb to dual port serial converter 16 * Originally based on drivers/usb/serial/io_edgeport.c which is: 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 */ 105 struct usb_serial *serial; /* back to containing struct */ member 119 MOS7720_THR, /* serial port regs */ 136 MOS7720_SP2_REG, /* serial port 2 (7720 only) */ 185 else /* serial port reg */ in get_reg_value() [all …]
|
| 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 …]
|
| D | f81534.c | 3 * F81532/F81534 USB to Serial Ports Bridge 5 * F81532 => 2 Serial Ports 6 * F81534 => 4 Serial Ports 13 * for all serial port TX and 1 endpoint bulk-in for all serial port read in 16 * Write URB is fixed with 512bytes, per serial port used 128Bytes. 19 * Read URB is 512Bytes max, per serial port used 128Bytes. 28 #include <linux/usb/serial.h> 33 /* Serial Port register Address */ 193 static int f81534_logic_to_phy_port(struct usb_serial *serial, in f81534_logic_to_phy_port() argument 197 usb_get_serial_data(port->serial); in f81534_logic_to_phy_port() [all …]
|
| /kernel/linux/linux-4.19/drivers/net/usb/ |
| D | hso.c | 36 * The multiplexed serial ports are using the interrupt and 74 #include <linux/serial.h> 217 on which serial port it is used on. */ 244 int (*write_data) (struct hso_serial *serial); 247 * working on the serial receive buffers 304 /* Serial driver functions */ 308 static int put_rxbuf_data(struct urb *urb, struct hso_serial *serial); 309 static void hso_kick_transmit(struct hso_serial *serial); 326 static int hso_mux_serial_read(struct hso_serial *serial); 383 /* serial structures */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/usb/ |
| 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); 312 static int hso_mux_serial_read(struct hso_serial *serial); 369 /* serial structures */ [all …]
|
| /kernel/linux/linux-4.19/drivers/tty/serial/ |
| D | Kconfig | 2 # Serial device configuration 7 menu "Serial drivers" 15 the console before standard serial driver is probed. The console is 18 source "drivers/tty/serial/8250/Kconfig" 20 comment "Non-8250 serial port support" 23 tristate "ARM AMBA PL010 serial port support" 34 bool "Support for console on AMBA serial port" 50 tristate "ARM AMBA PL011 serial port support" 61 bool "Support for console on AMBA serial port" 85 the console before standard serial driver is probed. This is enabled [all …]
|
| D | sh-sci.h | 16 SCSMR, /* Serial Mode Register */ 18 SCSCR, /* Serial Control Register */ 19 SCxSR, /* Serial Status Register */ 27 SCSPTR, /* Serial Port Register */ 29 SCPCR, /* Serial Port Control Register */ 30 SCPDR, /* Serial Port Data Register */ 40 /* SCSMR (Serial Mode Register) */ 50 /* Serial Mode Register, SCIFA/SCIFB only bits */ 62 /* Serial Control Register, SCIFA/SCIFB only bits */ 66 /* Serial Control Register, HSCIF-only bits */ [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/ |
| D | Kconfig | 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" 84 the console before standard serial driver is probed. This is enabled [all …]
|
| D | sh-sci.h | 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) */ 49 /* Serial Mode Register, SCIFA/SCIFB only bits */ 61 /* Serial Control Register, SCIFA/SCIFB only bits */ 65 /* Serial Control Register, HSCIF-only bits */ [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
| D | Kconfig | 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. 60 This builds standard PNP serial support. You may be able to [all …]
|
| /kernel/linux/linux-4.19/Documentation/usb/ |
| D | gadget_serial.txt | 2 Linux Gadget Serial Driver v2.0 24 This document and the gadget serial driver itself are 33 Versions of the gadget serial driver are available for the 35 version 2.3 or later of the gadget serial driver in a 2.6 41 USB and serial devices. It also assumes you configure the Linux 53 The gadget serial driver is a Linux USB gadget driver, a USB device 58 The gadget serial driver talks over USB to either a CDC ACM driver 59 or a generic USB serial driver running on a host PC. 66 | (Linux or | Serial | and | | 76 | Linux | Serial | Driver |-------- [all …]
|
| /kernel/linux/linux-4.19/drivers/tty/serial/8250/ |
| D | Kconfig | 2 # The 8250/16550 serial drivers. You shouldn't be in this list unless 7 tristate "8250/16550 and compatible serial support" 12 serial ports. The standard answer is Y. People who might say N 15 serial mouse and don't intend to use their machine's standard serial 16 port for anything. (Note that the Cyclades multi serial port driver 22 non-standard serial ports, since the configuration information will 26 BTW1: If you have a mouseman serial mouse which is not recognized by 33 Most people will say Y or M here, so that they can use serial mice, 34 modems and similar devices connecting to the standard serial ports. 58 This builds standard PNP serial support. You may be able to [all …]
|
| /kernel/linux/linux-5.10/Documentation/usb/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| 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 …]
|
| /kernel/linux/linux-4.19/Documentation/ABI/testing/ |
| 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 …]
|