Home
last modified time | relevance | path

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

12345678910>>...43

/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>
17 /* The maximum number of ports one device can grab at once */
20 /* USB serial flags */
26 * @serial: pointer back to the struct usb_serial owner of this port.
29 * @minor: the minor number of the port
30 * @port_number: the struct usb_serial port number of this port (starts at 0)
[all …]
H A Diowarrior.h1 /* SPDX-License-Identifier: GPL-2.0 */
22 /* the serial number of our chip (if a serial-number is not available
24 __u8 serial[9]; member
25 /* revision number of the chip */
27 /* USB-speed of the device (0=UNKNOWN, 1=LOW, 2=FULL 3=HIGH) */
31 /* the number of the endpoint */
33 /* size of the data-packets on this interface */
38 Get some device-information (product-id , serial-number etc.)
/linux/drivers/tty/serial/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
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"
[all …]
H A Dmux.c1 // 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
18 #include <linux/serial.h>
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
[all …]
H A Dsh-sci.h1 /* SPDX-License-Identifier: GPL-2.0 */
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 */
34 SEMR, /* Serial extended mode register */
38 /* SCSMR (Serial Mode Register) */
40 #define SCSMR_CSYNC BIT(7) /* - Clocked synchronous mode */
[all …]
/linux/Documentation/networking/devlink/
H A Ddevlink-info.rst1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
7 The ``devlink-info`` mechanism enables device drivers to report device
10 The original motivation for the ``devlink-info`` API was twofold:
12 - making it possible to automate device and firmware management in a fleet
13 of machines in a vendor-independent fashion (see also
14 :ref:`Documentation/networking/devlink/devlink-flash.rst <devlink_flash>`);
15 - name the per component FW versions (as opposed to the crowded ethtool
18 ``devlink-info`` supports reporting multiple types of objects. Reporting driver
19 versions is generally discouraged - here, and via any other Linux API.
21 .. list-table:: List of top level info objects
[all …]
/linux/drivers/usb/serial/
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 Dsierra.c1 // SPDX-License-Identifier: GPL-2.0
30 #include <linux/usb/serial.h>
41 #define MAX_TRANSFER (PAGE_SIZE - 512)
43 allocations > PAGE_SIZE and the number of packets in a page
50 size_t count; /* number of elements in array */
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()
99 num_ports = (numendpoints-1)/2; in sierra_calc_num_ports()
110 for (i = 0; i < list->count; i++) { in is_listed()
[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:
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 */
85 PPF = 2<<5, /* moschip calls this 'CB-FIFO mode */
[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>
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"
76 * "length" is the number of bytes of actual data following the header.
97 * Number of milliseconds the UMP will
[all …]
H A Dwhiteheat.h1 /* SPDX-License-Identifier: GPL-2.0+ */
9 * Greg Kroah-Hartman (greg@kroah.com)
11 * See Documentation/usb/usb-serial.rst for more information on using this
56 __u8 port; /* port number (1 to N) */
89 __u8 port; /* port number (1 to N) */
90 __le32 baud; /* any value 7 - 460800, firmware calculates
116 __u8 port; /* port number (1 to N) */
131 * Type DATA: 0x00 - 0xff
132 * Type IDATA: 0x80 - 0xff
133 * Type BDATA: 0x20 - 0x2f
[all …]
/linux/include/linux/
H A Dpadata.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * padata.h - header for the padata parallelization interface
26 * struct padata_priv - Represents one job
31 * @seq_nr: Sequence number of the parallelized data object.
32 * @info: Used to pass information from the parallel to the serial function.
34 * @serial: Serial complete function.
43 void (*serial)(struct padata_priv *padata); member
47 * struct padata_list - one per work type per CPU
58 * struct padata_serial_queue - The percpu padata serial queue
60 * @serial: List to wait for serialization after reordering.
[all …]
/linux/drivers/tty/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
8 TTY is required for any text terminals or serial port
23 one can be used for a text-mode user session, and a third could run
25 is done with certain key combinations, usually Alt-<function key>.
38 memory; the only way to log into such a system is then via a serial
42 shiny Linux system :-)
62 the kernel messages be output only to a serial port (in which case
63 you should say Y to "Console on serial port", below).
90 See <file:Documentation/driver-api/console.rst> for more
105 Linux has traditionally used the BSD-like names /dev/ptyxx for
[all …]
/linux/Documentation/devicetree/bindings/nvmem/layouts/
H A Dkontron,sl28-vpd.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/layouts/kontron,sl28-vpd.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NVMEM layout of the Kontron SMARC-sAL28 vital product data
10 - Michael Walle <michael@walle.cc>
13 The vital product data (VPD) of the sl28 boards contains a serial
14 number and a base MAC address. The actual MAC addresses for the
15 on-board ethernet devices are derived from this base MAC address by
22 const: kontron,sl28-vpd
[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
101 number is the capture device. Module creates two PCM devices and
[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
19 number plus 1. Roland modules use this command to switch between different
24 Usage example for simple serial converter:
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmicrochip,sparx5-sgpio.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/microchip,sparx5-sgpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microsemi/Microchip Serial GPIO controller
10 - Lars Povlsen <lars.povlsen@microchip.com>
13 By using a serial interface, the SIO controller significantly extend
14 the number of available GPIOs with a minimum number of additional
21 pattern: "^gpio@[0-9a-f]+$"
25 - microchip,sparx5-sgpio
[all …]
/linux/arch/parisc/include/asm/
H A Dsuperio.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 #define SIO_SP1BAR 0x94 /* Serial 1 BAR */
13 #define SIO_SP2BAR 0x98 /* Serial 2 BAR */
20 #define CFG_IR_SER 0x69 /* Serial 1 [0:3] and Serial 2 [4:7] */
34 #define OCW2_EOI 0x20 /* Non-specific EOI */
42 #define SP1_IRQ 3 /* Serial port 1 */
43 #define SP2_IRQ 4 /* Serial port 2 */
74 #define SUPERIO_IDE_FN 0 /* Function number of IDE controller */
75 #define SUPERIO_LIO_FN 1 /* Function number of Legacy IO controller */
76 #define SUPERIO_USB_FN 2 /* Function number of USB controller */
[all …]
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-ioc-device-info.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 MEDIA_IOC_DEVICE_INFO - Query device information
44 .. flat-table:: struct media_device_info
45 :header-rows: 0
46 :stub-columns: 0
49 * - char
50 - ``driver``\ [16]
51 - Name of the driver implementing the media API as a NUL-terminated
59 * - char
60 - ``model``\ [32]
[all …]
/linux/drivers/auxdisplay/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 # see Documentation/kbuild/kconfig-language.rst.
25 This is the base system for character-based LCD displays.
67 Say Y here if you have an HD44780 or KS-0074 LCD connected to your
68 parallel port. This driver also features 4 and 6-key keypads. The LCD
77 int "Default parallel port number (0=LPT1)"
88 int "Default panel profile (0-5, 0=custom)"
99 2 = 2x16 serial LCD (KS-0074), new keypad
119 2 : new 6 keys keypad, as used on the server at www.ant-computing.com
140 3 : 2x16 serial LCD (KS-0074 based)
[all …]
/linux/Documentation/devicetree/bindings/serial/
H A Dxlnx,opb-uartlite.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/serial/xlnx,opb-uartlite.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Peter Korsgaard <jacmet@sunsite.dk>
16 - xlnx,xps-uartlite-1.00.a
17 - xlnx,opb-uartlite-1.00.b
25 port-number:
27 description: Set Uart port number
32 clock-names:
[all …]
/linux/arch/um/drivers/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
12 bool "Virtual serial line"
14 The User-Mode Linux environment allows you to create virtual serial
18 See <http://user-mode-linux.sourceforge.net/old/input.html> for more
26 This option enables support for attaching UML consoles and serial
33 This option enables support for attaching UML consoles and serial
35 <port number>'. Any number of consoles and serial lines may be
43 This option enables support for attaching UML consoles and serial
44 lines to host pseudo-terminals. Access to both traditional
45 pseudo-terminals (/dev/pty*) and pts pseudo-terminals are controlled
[all …]
/linux/drivers/char/
H A Dapplicom.c1 // SPDX-License-Identifier: GPL-2.0-only
46 the board doesn't correctly handle word accesses - only
92 static unsigned int irq; /* interrupt number IRQ */
100 static unsigned int numboards; /* number of installed boards */
103 static unsigned int WriteErrorCount; /* number of write error */
104 static unsigned int ReadErrorCount; /* number of read error */
105 static unsigned int DeviceErrorCount; /* number of device error */
147 if (apbs[boardno - 1].RamIO) { in ac_register_board()
149 boardno, physloc, boardno, apbs[boardno-1].PhysIO); in ac_register_board()
153 boardno--; in ac_register_board()
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Daspeed,usb-vhub.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/usb/aspeed,usb-vhub.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Benjamin Herrenschmidt <benh@kernel.crashing.org>
18 Supported number of devices and endpoints vary depending on hardware
26 - aspeed,ast2400-usb-vhub
27 - aspeed,ast2500-usb-vhub
28 - aspeed,ast2600-usb-vhub
39 aspeed,vhub-downstream-ports:
[all …]
/linux/Documentation/driver-api/tty/
H A Dn_gsm.rst10 https://www.3gpp.org/ftp/Specs/archive/07_series/07.10/0710-720.zip
13 modems connected to a physical serial port.
19 ----------------
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.
34 #. Obtain base gsmtty number for the used serial port.
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 …]

12345678910>>...43