/linux/Documentation/devicetree/bindings/serial/ |
H A D | nxp,sc16is7xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP SC16IS7xx Advanced Universal Asynchronous Receiver-Transmitter (UART) 10 - Hugo Villeneuve <hvilleneuve@dimonoff.com> 15 - nxp,sc16is740 16 - nxp,sc16is741 17 - nxp,sc16is750 18 - nxp,sc16is752 19 - nxp,sc16is760 [all …]
|
/linux/Documentation/driver-api/tty/ |
H A D | n_gsm.rst | 7 This line discipline implements the GSM 07.10 multiplexing protocol 10 https://www.3gpp.org/ftp/Specs/archive/07_series/07.10/0710-720.zip 19 ---------------- 21 #. Initialize the modem in 0710 mux mode (usually ``AT+CMUX=`` command) through 22 its serial port. Depending on the modem used, you can pass more or less 25 #. Switch the serial line to using the n_gsm line discipline by using 32 #. Configure DLCs using ``GSMIOC_GETCONF_DLCI``/``GSMIOC_SETCONF_DLCI`` ioctl for non-defaults. 37 (a good starting point is util-linux-ng/sys-utils/ldattach.c):: 54 /* open the serial port connected to the modem */ 57 /* configure the serial port : speed, flow control ... */ [all …]
|
/linux/drivers/usb/serial/ |
H A D | mct_u232.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Definitions for MCT (Magic Control Technology) USB-RS232 Converter Driver 7 * This driver is for the device MCT USB-RS232 Converter (25 pin, Model No. 8 * U232-P25) from Magic Control Technology Corp. (there is also a 9 pin 9 * Model No. U232-P9). See http://www.mct.com.tw/products/product_us232.html 11 * of this file. This device was used in the Dlink DSB-S25. 24 /* U232-P25, Sitecom */ 27 /* DU-H3SP USB BAY hub */ 28 #define MCT_U232_DU_H3SP_PID 0x0200 /* D-Link DU-H3SP USB BAY */ 30 /* Belkin badge the MCT U232-P9 as the F5U109 */ [all …]
|
H A D | mxuport.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * mxuport.c - MOXA UPort series driver 9 * 2 ports : UPort 1250, UPort 1250I 10 * 4 ports : UPort 1410, UPort 1450, UPort 1450I 11 * 8 ports : UPort 1610-8, UPort 1650-8 12 * 16 ports : UPort 1610-16, UPort 1650-16 55 #define RQ_VENDOR_SET_LINE 0x02 /* Set line status */ 72 #define RQ_VENDOR_SET_HIGH_PERFOR 0x11 /* Set hi-performance */ 95 #define RQ_VENDOR_GET_MSR 0x86 /* Get modem status register */ 101 #define UPORT_EVENT_MSR 3 /* Modem status */ [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 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 35 you can alter that using a kernel command line option such as 50 read <file:Documentation/usb/usb-serial.rst> for more information on 61 - Suunto ANT+ USB device. 62 - Medtronic CareLink USB device 63 - Fundamental Software dongle. 64 - Google USB serial devices 65 - HP4x calculators [all …]
|
/linux/drivers/tty/serial/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 ** serial driver for the Mux console found in some PA-RISC servers. 7 ** (c) Copyright 2002 Hewlett-Packard Company 26 #include <asm/parisc-device.h> 63 #define UART_PUT_CHAR(p, c) __raw_writel((c), (p)->membase + IO_DATA_REG_OFFSET) 64 #define UART_GET_FIFO_CNT(p) __raw_readl((p)->membase + IO_DCOUNT_REG_OFFSET) 67 * get_mux_port_count - Get the number of available ports on the Mux. 70 * This function is used to determine the number of ports the Mux 71 * supports. The IODC data reports the number of ports the Mux 72 * can support, but there are cases where not all the Mux ports [all …]
|
H A D | sc16is7xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * SC16IS7xx tty serial driver - common code 44 #define SC16IS7XX_FCR_REG (0x02) /* FIFO control */ 45 #define SC16IS7XX_LCR_REG (0x03) /* Line Control */ 46 #define SC16IS7XX_MCR_REG (0x04) /* Modem Control */ 47 #define SC16IS7XX_LSR_REG (0x05) /* Line Status */ 48 #define SC16IS7XX_MSR_REG (0x06) /* Modem Status */ 53 * - only on 75x/76x 56 * - only on 75x/76x 59 * - only on 75x/76x [all …]
|
H A D | pmac_zilog.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 * 2004-08-06 Harald Welte <laforge@gnumonks.org> 18 * - Enable BREAK interrupt 19 * - Add support for sysreq 21 * TODO: - Add DMA support 22 * - Defer port shutdown to a few seconds after close 23 * - maybe put something right into uap->clk_divisor 67 MODULE_DESCRIPTION("Driver for the Mac and PowerMac serial ports."); 80 #define pmz_debug(fmt, arg...) pr_debug("ttyPZ%d: " fmt, uap->port.line, ## arg) 81 #define pmz_error(fmt, arg...) pr_err("ttyPZ%d: " fmt, uap->port.line, ## arg) [all …]
|
H A D | ma35d1_serial.c | 1 // SPDX-License-Identifier: GPL-2.0+ 36 /* MA35_IER_REG - Interrupt Enable Register */ 39 #define MA35_IER_RLS_IEN BIT(2) /* RX Line Status Interrupt Enable */ 40 #define MA35_IER_RTO_IEN BIT(4) /* RX Time-out Interrupt Enable */ 42 #define MA35_IER_TIME_OUT_EN BIT(11) /* RX Buffer Time-out Counter Enable */ 43 #define MA35_IER_AUTO_RTS BIT(12) /* nRTS Auto-flow Control Enable */ 44 #define MA35_IER_AUTO_CTS BIT(13) /* nCTS Auto-flow Control Enable */ 46 /* MA35_FCR_REG - FIFO Control Register */ 62 /* MA35_LCR_REG - Line Control Register */ 67 #define MA35_LCR_BREAK BIT(6) /* Break Control */ [all …]
|
H A D | serial_txx9.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * Copyright (C) 2000-2002 Toshiba Corporation 54 * Number of serial ports 71 /* SILCR : Line Control */ 86 /* SIDICR : DMA/Int. Control */ 122 /* SIFCR : FIFO Control */ 141 /* SIFLCR : Flow Control */ 151 /* SIBGR : Baudrate Control */ 161 switch (up->iotype) { in sio_in() 163 return __raw_readl(up->membase + offset); in sio_in() [all …]
|
H A D | serial_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver core for serial ports 8 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd. 38 * This is used to lock changes in serial line configuration. 43 * lockdep: port->lock is initialized in two places, but we 44 * want only one lock-class: 48 #define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8) 62 return !!(uport->status & UPSTAT_DCD_ENABLE); in uart_dcd_enabled() 67 if (atomic_add_unless(&state->refcount, 1, 0)) in uart_port_ref() 68 return state->uart_port; in uart_port_ref() [all …]
|
/linux/Documentation/sound/cards/ |
H A D | cmipci.rst | 2 Brief Notes on C-Media 8338/8738/8768/8770 Driver 8 Front/Rear Multi-channel Playback 9 --------------------------------- 13 DACs, both streams are handled independently unlike the 4/6ch multi- 22 - The first DAC supports U8 and S16LE formats, while the second DAC 24 - The second DAC supports only two channel stereo. 51 control switch in the driver "Line-In As Rear", which you can change 52 via alsamixer or somewhat else. When this switch is on, line-in jack 60 4/6 Multi-Channel Playback 61 -------------------------- [all …]
|
/linux/drivers/tty/serial/jsm/ |
H A D | jsm.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 49 dev_dbg(pdev->dev, fmt, ##__VA_ARGS__); \ 94 #define JSM_VERSION "jsm: 1.2-1-INKERNEL" 95 #define JSM_PARTNUM "40002438_A-INKERNEL" 122 * Per-board information 126 int boardnum; /* Board number: 0-32 */ 130 u32 maxports; /* MAX ports this board can handle */ 136 u32 nasync; /* Number of ports on card */ 178 #define RQUEUEMASK 0x1FFF /* 8 K - 1 */ 179 #define EQUEUEMASK 0x1FFF /* 8 K - 1 */ [all …]
|
/linux/Documentation/driver-api/serial/ |
H A D | driver.rst | 10 The reference implementation is contained within amba-pl011.c. 15 -------------------------------- 18 information (defined by uart_port) and a set of control methods (defined 25 --------------- 28 the correct port structure (via uart_get_console()) and decoding command line 38 ------- 41 necessary locking using port->lock. There are some exceptions (which 44 There are two locks. A per-port spinlock, and an overall semaphore. 46 From the core driver perspective, the port->lock locks the following 49 port->mctrl [all …]
|
/linux/drivers/tty/serial/8250/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 14 serial ports. The standard answer is Y. People who might say N 23 non-standard serial ports, since the configuration information will 30 BTW2: If you intend to use a software modem (also called Winmodem) 35 modems and similar devices connecting to the standard serial ports. 51 If you did not notice yet and/or you have userspace from pre-3.7, it 101 you can alter that using a kernel command line option such as 107 kernel will automatically use the first serial line, /dev/ttyS0, as 110 You can set that using a kernel command line option such as 146 Note that serial ports on NetMos 9835 Multi-I/O cards are handled [all …]
|
/linux/drivers/net/slip/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 tristate "SLIP (serial line) support" 13 Slip/CSlip server for other people to dial in. SLIP (Serial Line 15 serial connections such as telephone lines or null modem cables; 25 NET-3-HOWTO, available from 31 <http://www.bart.nl/~patrickr/term-howto/Term-HOWTO.html>). SLIP 40 This option enables Van Jacobsen serial line header compression 57 definitely want to say Y here. The NET-3-HOWTO, available from 66 RELCOM line fill and keepalive monitoring. Ideal on poor quality 74 networks that don't pass all control characters or are only seven [all …]
|
/linux/Documentation/arch/arm/sa1100/ |
H A D | assabet.rst | 2 The Intel Assabet (SA-1110 evaluation) board 13 ------------------- 25 ----------------------- 39 John Dorsey has produced add-on patches to add support for Assabet and 55 - ftp://ftp.netwinder.org/users/n/nico/ 56 - ftp://ftp.arm.linux.org.uk/pub/linux/arm/people/nico/ 57 - ftp://ftp.handhelds.org/pub/linux/arm/sa-1100-patches/ 59 Look for redboot-assabet*.tgz. Some installation infos are provided in 60 redboot-assabet*.txt. 64 ----------------------------- [all …]
|
/linux/arch/mips/pci/ |
H A D | fixup-fuloong2e.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 switch (PCI_FUNC(dev->devfn)) { in pcibios_map_irq() 55 /* System clock is 48-MHz Oscillator. */ in loongson2e_nec_fixup() 63 sb_slot = PCI_SLOT(pdev->devfn); in loongson2e_686b_func0_fixup() 73 /* disable ISA line buffer */ in loongson2e_686b_func0_fixup() 76 /* Gate INTR, and flush line buffer */ in loongson2e_686b_func0_fixup() 79 /* Disable PCI Delay Transaction, Enable EISA ports 4D0/4D1. */ in loongson2e_686b_func0_fixup() 83 * enable PCI Delay Transaction, Enable EISA ports 4D0/4D1. in loongson2e_686b_func0_fixup() 84 * enable time-out timer in loongson2e_686b_func0_fixup() 114 /* IRQ Routing for serial ports (take IRQ 3 and 4) */ in loongson2e_686b_func0_fixup() [all …]
|
/linux/Documentation/usb/ |
H A D | usb-serial.rst | 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 ------------------- 115 significant advantage of using USB is speed - I can get 73 to 113 120 contains the necessary packages and a simple step-by-step howto. 129 iPAQ - disable autosync by going to the Start/Settings/Connections menu 138 You can also try soft-resetting your PDA before attempting a connection. [all …]
|
H A D | gadget_serial.rst | 7 (updated 8-May-2008 for v2.3) 11 ---------------------- 25 MA 02111-1307 USA. 35 ------------- 55 -------- 65 -------------------------------------- 66 | Host-Side CDC ACM USB Host | 68 | System | Generic USB | Driver |-------- 71 -------------------------------------- | 76 -------------------------------------- | [all …]
|
/linux/arch/x86/kernel/ |
H A D | early_printk.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <xen/hvc-console.h> 17 #include <asm/pci-direct.h> 20 #include <linux/usb/xhci-dbgp.h> 34 while ((c = *str++) != '\0' && n-- > 0) { in early_vga_write() 36 /* scroll 1 line up */ in early_vga_write() 45 current_ypos = max_ypos-1; in early_vga_write() 50 current_xpos--; in early_vga_write() 74 .index = -1, 89 #define FCR 2 /* FIFO control */ [all …]
|
/linux/sound/drivers/ |
H A D | serial-u16550.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * Added support for the Midiator MS-124T and for the MS-124W in 17 * More documentation can be found in serial-u16550.txt. 39 #define SNDRV_SERIAL_MS124T 1 /* Midiator MS-124T */ 40 #define SNDRV_SERIAL_MS124W_SA 2 /* Midiator MS-124W in S/A mode */ 41 #define SNDRV_SERIAL_MS124W_MB 3 /* Midiator MS-124W in M/B mode */ 46 "MS-124T", 47 "MS-124W S/A", 48 "MS-124W M/B", 53 #define SNDRV_SERIAL_DROPBUFF 1 /* Non-blocking discard operation */ [all …]
|
/linux/drivers/net/wan/ |
H A D | n2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1998-2003 Krzysztof Halasa <khc@pm.waw.pl> 55 static char *hw; /* pointer to hw=xxx command line string */ 59 /* PC Control Register */ 62 #define PCR_VPM 2 /* Enable VPM - needed if using RAM above 1 MB */ 64 #define PCR_BUS16 8 /* 16-bit bus */ 78 /* Modem Control Reg */ 102 u8 phy_node; /* physical port # - 0 or 1 */ 114 u8 irq; /* IRQ (3-15) */ 116 port_t ports[2]; member [all …]
|
/linux/include/linux/ |
H A D | serial_core.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 25 ((port)->cons && (port)->cons->index == (port)->line) 37 * struct uart_ops -- interface between serial_core and the driver 55 * This function sets the modem control lines for @port to the state 58 * - %TIOCM_RTS RTS signal. 59 * - %TIOCM_DTR DTR signal. 60 * - %TIOCM_OUT1 OUT1 signal. 61 * - %TIOCM_OUT2 OUT2 signal. 62 * - %TIOCM_LOOP Set the port into loopback mode. 68 * Locking: @port->lock taken. [all …]
|
H A D | tty_driver.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * struct tty_operations -- interface between driver and tty 29 * Optional method. Default behaviour is to use the @self->ttys array. 36 * Optional method. Default behaviour is to use the @self->ttys array. 43 * Optional method. Default behaviour is to use the @self->ttys array. 111 * control is acted. 113 * The ldisc is responsible for being intelligent about multi-threadin 453 struct tty_port **ports; global() member [all...] |