| /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/char/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 28 int "ttyprintk log level (1-7)" 42 Also read the Printing-HOWTO, available from 50 <file:Documentation/admin-guide/parport.rst>. The module will be called lp. 52 If you have several parallel ports, you can specify which ports to 53 use with the "lp" kernel command line option. (Try "man bootparam" 56 "lp" command line option can be found in <file:drivers/char/lp.c>. 62 bool "Support for console on line printer" 79 tristate "Support for user-space parallel port device drivers" 84 port, for instance deviceid (which displays Plug-and-Play device [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 | 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 | sa1100.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for SA11x0 serial ports 15 #include <linux/platform_data/sa11x0-serial.h> 29 /* We've been assigned a range on the "Low-density serial ports" major */ 45 #define UART_GET_UTCR0(sport) __raw_readl((sport)->port.membase + UTCR0) 46 #define UART_GET_UTCR1(sport) __raw_readl((sport)->port.membase + UTCR1) 47 #define UART_GET_UTCR2(sport) __raw_readl((sport)->port.membase + UTCR2) 48 #define UART_GET_UTCR3(sport) __raw_readl((sport)->port.membase + UTCR3) 49 #define UART_GET_UTSR0(sport) __raw_readl((sport)->port.membase + UTSR0) 50 #define UART_GET_UTSR1(sport) __raw_readl((sport)->port.membase + UTSR1) [all …]
|
| H A D | ucc_uart.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * If Soft-UART support is needed but not already present, then this driver 13 * will request and upload the "Soft-UART" microcode upon probe. The 30 #include <linux/dma-mapping.h> 43 * but Soft-UART is a hack and we want to keep everything related to it in 46 #define UCC_SLOW_GUMR_H_SUART 0x00004000 /* Soft-UART */ 49 * soft_uart is 1 if we need to use Soft-UART mode 57 /* Enable this macro to configure all serial ports in internal loopback 62 * Documentation/admin-guide/devices.txt. For the QE 63 * UART, we have major number 204 and minor numbers 46 - 49, which are the [all …]
|
| H A D | pxa.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 * Note 2: I'm too sick of device allocation policies for serial ports. 55 return readl(up->port.membase + offset); in serial_in() 61 writel(value, up->port.membase + offset); in serial_out() 68 up->ier |= UART_IER_MSI; in serial_pxa_enable_ms() 69 serial_out(up, UART_IER, up->ier); in serial_pxa_enable_ms() 76 if (up->ier & UART_IER_THRI) { in serial_pxa_stop_tx() 77 up->ier &= ~UART_IER_THRI; in serial_pxa_stop_tx() 78 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_tx() 86 up->ier &= ~UART_IER_RLSI; in serial_pxa_stop_rx() [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 decoding command line arguments (uart_parse_options()). 37 ------- 40 necessary locking using port->lock. There are some exceptions (which 43 There are two locks. A per-port spinlock, and an overall semaphore. 45 From the core driver perspective, the port->lock locks the following 48 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/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/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/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/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-12 [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/Documentation/networking/ |
| H A D | eql.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Simon "Guru Aleph-Null" Janes, simon@ncm.com 12 that lets you load-balance IP serial links (SLIP or uncompressed PPP) 24 Which is worse? A huge fee for a 56K leased line or two phone lines? 27 together to work as one point-to-point link to increase your 32 The eql driver has only been tested with the Livingston PortMaster-2e 33 terminal server. I do not know if other terminal servers support load- 35 almost as well as the eql driver seems to do it (-- Unfortunately, in 36 my testing so far, the Livingston PortMaster 2e's load-balancing is a 40 TCP implementation is pretty fast though.--) [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) 575 unsigned int line; /* port index */ global() member [all...] |