Home
last modified time | relevance | path

Searched +full:serial +full:- +full:out (Results 1 – 25 of 1012) sorted by relevance

12345678910>>...41

/linux/drivers/usb/serial/
H A Dmxuport.c1 // SPDX-License-Identifier: GPL-2.0+
3 * mxuport.c - MOXA UPort series driver
8 * Supports the following Moxa USB to serial converters:
11 * 8 ports : UPort 1610-8, UPort 1650-8
12 * 16 ports : UPort 1610-16, UPort 1650-16
19 #include <linux/serial.h>
27 #include <linux/usb/serial.h>
72 #define RQ_VENDOR_SET_HIGH_PERFOR 0x11 /* Set hi-performance */
105 /* Definitions for serial event type */
198 count = kfifo_out_locked(&port->write_fifo, buf + HEADER_SIZE, in mxuport_prepare_write_buffer()
[all …]
H A Dvisor.c1 // 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 …]
H A Dio_ti.c1 // 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>
11 * For questions or problems with this driver, contact Inside Out
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"
122 struct usb_serial *serial; member
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
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
[all …]
H A Dmos7720.c1 // 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:
17 * Copyright (C) 2000 Inside Out Networks, All rights reserved.
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 */
[all …]
H A Df81534.c1 // SPDX-License-Identifier: GPL-2.0+
3 * F81532/F81534 USB to Serial Ports Bridge
5 * F81532 => 2 Serial Ports
6 * F81534 => 4 Serial Ports
12 * The F81532/F81534 had 1 control endpoint for setting, 1 endpoint bulk-out
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 */
[all …]
H A Dssu100.c1 // SPDX-License-Identifier: GPL-2.0
3 * usb-serial driver for Quatech SSU-100
15 #include <linux/serial.h>
17 #include <linux/usb/serial.h>
49 #define DRIVER_DESC "Quatech SSU-100 USB to Serial Driver"
91 ret = -EIO; in ssu100_getdevice()
109 ret = -EIO; in ssu100_getregister()
140 dev_dbg(&dev->dev, "%s - DTR|RTS not being set|cleared\n", __func__); in update_mctrl()
153 dev_dbg(&dev->dev, "%s Error from MODEM_CTRL urb\n", __func__); in update_mctrl()
165 return -ENOMEM; in ssu100_initdevice()
[all …]
H A Dkeyspan.c1 // SPDX-License-Identifier: GPL-2.0+
3 Keyspan USB to Serial Converter driver
5 (C) Copyright (C) 2000-2001 Hugh Blemings <hugh@blemings.org>
6 (C) Copyright (C) 2002 Greg Kroah-Hartman <greg@kroah.com>
11 from Brian Warner's original Keyspan-PDA driver.
14 and Keyspan, Inc the manufacturers of the Keyspan USB-serial products.
38 #include <linux/usb/serial.h>
42 #define DRIVER_DESC "Keyspan USB to Serial Converter Driver"
63 static int keyspan_usa28_send_setup(struct usb_serial *serial,
66 static int keyspan_usa26_send_setup(struct usb_serial *serial,
[all …]
/linux/include/linux/usb/
H A Dserial.h1 // 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>
20 /* USB serial flags */
26 * @serial: pointer back to the struct usb_serial owner of this port.
35 * @interrupt_out_buffer: pointer to the interrupt out buffer for this port.
37 * @interrupt_out_urb: pointer to the interrupt out struct urb for this port.
38 * @interrupt_out_endpointAddress: endpoint address for the interrupt out pipe
[all …]
/linux/sound/drivers/
H A DKconfig1 # 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
106 timing source using the time shift universal control (+-20%
[all …]
/linux/Documentation/usb/
H A Dgadget_serial.rst2 Linux Gadget Serial Driver v2.0
7 (updated 8-May-2008 for v2.3)
11 ----------------------
25 MA 02111-1307 USA.
27 This document and the gadget serial driver itself are
35 -------------
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
55 --------
[all …]
H A Dusb-serial.rst2 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
45 --------------------------------------
58 -----------------------------------------------
72 This goes against the current documentation for pilot-xfer and other
77 (this is usually /dev/ttyUSB1 if you do not have any other usb-serial
99 Kroah-Hartman at greg@kroah.com
103 -------------------
[all …]
/linux/Documentation/sound/cards/
H A Dserial-u16550.rst2 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
24 Usage example for simple serial converter:
28 /sbin/modprobe snd-serial-u16550 port=0x3f8 irq=4 speed=115200
[all …]
/linux/tools/virtio/virtio-trace/
H A DREADME1 Trace Agent for virtio-trace
6 - splice a page of ring-buffer to read_pipe without memory copying
7 - splice the page from write_pipe to virtio-console without memory copying
8 - write trace data to stdout by using -o option
9 - controlled by start/stop orders from a Host
18 5) The read/write threads start to read trace data from ring-buffers and
19 write the data to virtio-serial.
28 Makefile: Makefile of trace agent for virtio-trace
29 trace-agent.c: includes main function, sets up for operating trace agent
30 trace-agent.h: includes all structures and some macros
[all …]
/linux/drivers/net/usb/
H A Dhso.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * Copyright (C) 2008 Greg Kroah-Hartman <gregkh@suse.de>
22 * The multiplexed serial ports are using the interrupt and
31 * Interface 2: Standard modem interface - circuit switched interface, this
60 #include <linux/serial.h>
83 /* - use *_bit operations on it. (bit indices not values.) */
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 */
[all …]
/linux/arch/arc/boot/dts/
H A Dabilis_tb101.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
15 bus-frequency = <166666666>;
18 clock-frequency = <1000000000>;
21 clock-mult = <1>;
22 clock-div = <2>;
25 clock-mult = <1>;
26 clock-div = <6>;
31 pctl_tsin_s0: pctl-tsin-s0 { /* Serial TS-in 0 */
34 pctl_tsin_s1: pctl-tsin-s1 { /* Serial TS-in 1 */
37 pctl_gpio_a: pctl-gpio-a { /* GPIO bank A */
[all …]
H A Dabilis_tb100.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
15 bus-frequency = <166666666>;
18 clock-frequency = <1000000000>;
21 clock-mult = <1>;
22 clock-div = <2>;
25 clock-mult = <1>;
26 clock-div = <6>;
31 pctl_tsin_s0: pctl-tsin-s0 { /* Serial TS-in 0 */
34 pctl_tsin_s1: pctl-tsin-s1 { /* Serial TS-in 1 */
37 pctl_gpio_a: pctl-gpio-a { /* GPIO bank A */
[all …]
/linux/Documentation/devicetree/bindings/gpio/
H A Dpisosr-gpio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/pisosr-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic Parallel-in/Serial-out Shift Register GPIO Driver
10 This binding describes generic parallel-in/serial-out shift register
12 SN74165 serial-out shift registers and the SN65HVS88x series of
16 - Frank Li <Frank.Li@nxp.com>
21 - pisosr-gpio
23 gpio-controller: true
[all …]
/linux/drivers/usb/gadget/function/
H A Df_serial.c1 // SPDX-License-Identifier: GPL-2.0+
3 * f_serial.c - generic USB serial function driver
19 * This function packages a simple "generic serial" port with no real
38 /*-------------------------------------------------------------------------*/
130 [0].s = "Generic Serial",
135 .language = 0x0409, /* en-us */
144 /*-------------------------------------------------------------------------*/
149 struct usb_composite_dev *cdev = f->config->cdev; in gser_set_alt()
153 if (gser->port.in->enabled) { in gser_set_alt()
154 dev_dbg(&cdev->gadget->dev, in gser_set_alt()
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_engine_heartbeat.c1 // SPDX-License-Identifier: MIT
18 * to check on its health and to flush any idle-barriers. If that request
20 * issue a reset -- in the hope that restores progress.
28 delay = READ_ONCE(engine->props.heartbeat_interval_ms); in next_heartbeat()
30 rq = engine->heartbeat.systole; in next_heartbeat()
37 * heartbeat periods (or to override the pre-emption timeout as well, in next_heartbeat()
41 if (rq && rq->sched.attr.priority >= I915_PRIORITY_BARRIER && in next_heartbeat()
42 delay == engine->defaults.heartbeat_interval_ms) { in next_heartbeat()
47 * a pre-emption might not even have been attempted. So make sure in next_heartbeat()
48 * this last attempt allows enough time for a pre-emption to occur. in next_heartbeat()
[all …]
/linux/Documentation/wmi/devices/
H A Ddell-wmi-ddv.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
4 Dell DDV WMI interface driver (dell-wmi-ddv)
10 Many Dell notebooks made after ~2020 support a WMI-based interface for
15 so it was called `DDV`. Currently the ``dell-wmi-ddv`` driver supports
21 trial-and-error, please keep that in mind.
27 including batteries. It has a form similar to `CC-PPPPPP-MMMMM-YMD-SSSS-FFF`
52 …), Locale("MS\\0x409"), Description("WMI Function"), guid("{8A42EA14-4F2A-FD45-6422-0087F7A7E608}"…
57 …Return Battery Design Capacity.")] void BatteryDesignCapacity([in] uint32 arg2, [out] uint32 argr);
58 …ttery Full Charge Capacity.")] void BatteryFullChargeCapacity([in] uint32 arg2, [out] uint32 argr);
59 …turn Battery Manufacture Name.")] void BatteryManufactureName([in] uint32 arg2, [out] string argr);
[all …]
/linux/include/linux/
H A Dpxa2xx_ssp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * This driver supports the following PXA CPU/SSP ports:-
29 * SSP Serial Port Registers
40 #define SSTO (0x28) /* SSP Time Out Register */
41 #define SSPSP (0x2C) /* SSP Programmable Serial Protocol */
50 #define SSCR0_DataSize(x) ((x) - 1) /* Data Size Select [4..16] */
52 #define SSCR0_Motorola (0x0 << 4) /* Motorola's Serial Peripheral Interface (SPI) */
53 #define SSCR0_TI (0x1 << 4) /* Texas Instruments' Synchronous Serial Protocol (SSP) */
56 #define SSCR0_SSE BIT(7) /* Synchronous Serial Port Enable */
57 #define SSCR0_SCR(x) ((x) << 8) /* Serial Clock Rate (mask) */
[all …]
/linux/drivers/tty/serial/8250/
H A D8250_platform.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Universal/legacy platform driver for 8250/16550-type serial ports
6 * ISA-compatible 8250/16550 ports
30 * This option is unsafe when used on edge-triggered interrupts.
38 #include <asm/serial.h>
41 * SERIAL_PORT_DFNS tells us about built-in ports that have no
43 * serial ports via mechanisms like ACPI or PCI need not supply it.
50 SERIAL_PORT_DFNS /* defined in asm/serial.h */
84 struct uart_port *port = &up->port; in __serial8250_isa_init_ports()
86 port->iobase = old_serial_port[i].port; in __serial8250_isa_init_ports()
[all …]
/linux/drivers/net/wireless/microchip/wilc1000/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
6 This provides Wi-FI over an SDIO or SPI interface, and
19 the 1-bit/4-bit SD transfer mode at the clock range of 0-50 MHz.
33 WILC1000 chipset. The Atmel WILC1000 has a Serial Peripheral
35 be used for control and for serial I/O of 802.11 data. The SPI is a
36 full-duplex slave synchronous serial interface that is available
41 bool "WILC1000 out of band interrupt"
44 This option enables out-of-band interrupt support for the WILC1000
/linux/drivers/scsi/aic7xxx/
H A Daic7xxx_93cx6.h2 * Interface to the 93C46/56 serial EEPROM that is used to store BIOS
4 * also be used for 93C26 and 93C06 serial EEPROMS.
20 * 3. Neither the names of the above-listed copyright holders nor the names
38 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
68 * This function will read count 16-bit words from the serial EEPROM and
69 * return their value in buf. The port address of the aic7xxx serial EEPROM
73 * CS - Chip select
74 * CK - Clock
75 * DO - Data out
76 * DI - Data in
[all …]

12345678910>>...41