| /linux/include/linux/usb/ |
| H A D | serial.h | 1 // 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 D | iowarrior.h | 1 /* 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/usb/serial/ |
| H A D | visor.c | 1 // 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 D | mos7720.c | 1 // 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 D | io_ti.c | 1 // 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 D | whiteheat.h | 1 /* 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/Documentation/admin-guide/ |
| H A D | devices.txt | 1 0 Unnamed devices (e.g. non-device mounts) 2 0 = reserved as null device number 7 2 = /dev/kmem OBSOLETE - replaced by /proc/kcore 11 6 = /dev/core OBSOLETE - replaced by /proc/kcore 13 8 = /dev/random Nondeterministic random number gen. 14 9 = /dev/urandom Faster, less secure random number gen. 18 12 = /dev/oldmem OBSOLETE - replaced by /proc/vmcore 31 2 char Pseudo-TTY masters 37 Pseudo-tty's are named as follows: 40 the 1st through 16th series of 16 pseudo-ttys each, and [all …]
|
| H A D | devices.rst | 13 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>` document). 37 There are still some exceptions in the serial and boot device area. Before 38 asking for a device number make sure you actually need one. 40 To have a major number allocated, or a minor number in situations 63 -------------------------------------- 81 /dev/nfsd socksys symbolic Required by iBCS-2 82 /dev/X0R null symbolic Required by iBCS-2 85 Note: ``/dev/X0R`` is <letter X>-<digit 0>-<letter R>. 100 /dev/scd? sr? hard Alternate SCSI CD-ROM name 114 /dev/cdrom CD-ROM device symbolic Current CD-ROM device [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | qnx6.rst | 1 .. SPDX-License-Identifier: GPL-2.0 29 ------ 39 --------------- 42 Each qnx6fs got two superblocks, each one having a 64bit serial number. 43 That serial number is used to identify the "active" superblock. 45 serial of the new master superblock is increased (old superblock serial + 1) 48 update of the serial number. Before updating that serial, all modifications 65 Unused block pointers are always set to ~0 - regardless of root node, 75 information (total number of filesystem blocks) or by taking the highest 79 0x1000 is the size reserved for each superblock - regardless of the [all …]
|
| /linux/include/linux/soc/qcom/ |
| H A D | geni-se.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. 13 * enum geni_se_xfer_mode: Transfer modes supported by Serial Engines 18 * @GENI_SE_DMA: Serial Engine DMA mode. Data is transferred 32 /* Protocols supported by GENI Serial Engines */ 58 * struct geni_se - GENI Serial Engine 59 * @base: Base Address of the Serial Engin [all...] |
| /linux/drivers/tty/serial/8250/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 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 23 non-standard serial ports, since the configuration information will 27 BTW1: If you have a mouseman serial mouse which is not recognized by 34 Most people will say Y or M here, so that they can use serial mice, 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 [all …]
|
| /linux/sound/drivers/ |
| H A D | Kconfig | 1 # 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 D | serial-u16550.rst | 2 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/net/rxrpc/ |
| H A D | ar-internal.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 #include <keys/rxrpc-type.h> 37 * Mark applied to socket buffers in skb->mark. skb->priority is used 46 RXRPC_SKB_MARK_REJECT_ABORT, /* Reject with ABORT (code in skb->priority) */ 47 RXRPC_SKB_MARK_REJECT_CONN_ABORT, /* Reject with connection ABORT (code in skb->priority) */ 65 * Per-network namespace data. 69 u32 epoch; /* Local epoch for detecting local-end reset */ 71 spinlock_t call_lock; /* Lock for ->calls */ 78 rwlock_t conn_lock; /* Lock for ->conn_proc_list, ->service_conns */ 87 struct mutex local_mutex; /* Lock for ->local_endpoints */ [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | microchip,sparx5-sgpio.yaml | 1 # 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 D | superio.h | 1 /* 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 D | media-ioc-device-info.rst | 1 .. 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/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 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 D | sh-sci.h | 1 /* 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/drivers/char/ |
| H A D | applicom.c | 1 // 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/serial/ |
| H A D | xlnx,opb-uartlite.yaml | 1 # 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 D | Kconfig | 1 # 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/Documentation/driver-api/tty/ |
| H A D | n_gsm.rst | 10 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 …]
|
| /linux/Documentation/devicetree/bindings/nvmem/layouts/ |
| H A D | onie,tlv-layout.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/onie,tlv-layout.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 14 infrastructure shall provide a non-volatile memory with a table whose the 16 (name, country of manufacture, etc) as well as device caracteristics (serial 17 number, hardware version, mac addresses, etc). The underlying device type 26 const: onie,tlv-layout 28 product-name: [all …]
|
| /linux/drivers/iio/common/ms_sensors/ |
| H A D | ms_sensors_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2015 Measurement-Specialties 38 * ms_sensors_reset() - Reset function 54 dev_err(&client->dev, "Failed to reset device\n"); in ms_sensors_reset() 64 * ms_sensors_read_prom_word() - PROM word read function 80 dev_err(&client->dev, "Failed to read prom word\n"); in ms_sensors_read_prom_word() 90 * ms_sensors_convert_and_read() - ADC conversion & read function 125 dev_dbg(&client->dev, "ADC raw value : %x\n", be32_to_cpu(buf) >> 8); in ms_sensors_convert_and_read() 130 dev_err(&client->dev, "Unable to make sensor adc conversion\n"); in ms_sensors_convert_and_read() 136 * ms_sensors_crc_valid() - CRC check function [all …]
|