/Linux-v6.1/Documentation/devicetree/bindings/serial/ |
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: 32 clock-names: 35 current-speed: [all …]
|
/Linux-v6.1/include/linux/platform_data/ |
D | spi-davinci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 19 * davinci_spi_platform_data - Platform data for SPI master device on DaVinci 41 * davinci_spi_config - Per-chip-select configuration for SPI slave devices 45 * @odd_parity: polarity of parity flag at the end of transmit data stream. 46 * 0 - odd parity, 1 - even parity. 47 * @parity_enable: enable transmission of parity at end of each transmit 50 * @timer_disable: disable chip-select timers (setup and hold) 51 * @c2tdelay: chip-select setup time. Measured in number of SPI module clocks. 52 * @t2cdelay: chip-select hold time. Measured in number of SPI module clocks. 55 * @c2edelay: chip-select active to SPI ENAn signal active time. Measured in
|
/Linux-v6.1/drivers/media/pci/mantis/ |
D | mantis_uart.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 31 enum mantis_parity parity; member 46 } parity[3] = { variable 48 { "ODD" }, 54 struct mantis_hwconfig *config = mantis->hwconfig; in mantis_uart_read() 59 for (i = 0; i < (config->bytes + 1); i++) { in mantis_uart_read() 71 dprintk(MANTIS_ERROR, 1, "UART parity error"); in mantis_uart_read() 92 * config->bytes + 1 bytes are in the FIFO. in mantis_uart_work() 105 /* re-enable UART (RX) interrupt */ in mantis_uart_work() 114 mmwrite((mmread(MANTIS_UART_CTL) | (params->parity & 0x3)), MANTIS_UART_CTL); in mantis_uart_setup() [all …]
|
/Linux-v6.1/Documentation/input/devices/ |
D | elantech.rst | 4 Copyright (C) 2007-2008 Arjan Opmeer <arjan@opmeer.net> 25 5.2.1 Parity checking and packet re-synchronization 111 Turns parity checking ON or OFF. 113 By echoing "0" to this file parity checking will be turned OFF. Any 114 non-zero value will turn it ON. For hardware version 1 the default is ON. 118 calculating a parity bit for the last 3 bytes of each packet. The driver 122 Hardware version 2 does not provide the same parity bits. Only some basic 145 4 bytes version: (after the arrow is the name given in the Dell-provided driver) 173 --------- 179 echo -n 0x16 > reg_10 [all …]
|
/Linux-v6.1/drivers/usb/serial/ |
D | keyspan_usa28msg.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 5 Copyright (C) 1998-2000 InnoSys Incorporated. All Rights Reserved 6 This file is available under a BSD-style copyright 19 Copyright (C) 1998-2000 InnoSys Incorporated. All Rights Reserved 21 This file is available under a BSD-style copyright 45 USB OUT (host -> USA28, transmit) messages contain a 48 If the port is configured for parity, the data will be an 49 alternating string of parity and data bytes, so the message 55 always an odd number for the total message length. 57 If there is no parity, the format is simply: [all …]
|
D | upd78f0730.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * μPD78F0730 8-bit Single-Chip Microcontroller 9 * USB-to-Serial Conversion Software 10 * <https://www.renesas.com/en-eu/doc/DocumentServer/026/U19660EJ1V0AN00.pdf> 13 * - data bits: 7 or 8 14 * - stop bits: 1 or 2 15 * - parity: even, odd or none 16 * - flow control: none 17 * - baud rates: 0, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 153600 18 * - signals: DTR, RTS and BREAK [all …]
|
D | io_16654.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 21 // Numbers 0-7 are passed to the Edgeport directly. Numbers 8 and 27 // the EdgePort firmware -- that includes THR, RHR, IER, FCR. 44 #define XON1 12 // Bank2[ 4 ] Xon-1 45 #define XON2 13 // Bank2[ 5 ] Xon-2 46 #define XOFF1 14 // Bank2[ 6 ] Xoff-1 47 #define XOFF2 15 // Bank2[ 7 ] Xoff-2 104 #define LCR_STOP_2 0x04 // 2 stop bits (if 6-8 bits/char) 107 #define LCR_PAR_NONE 0x00 // No parity 108 #define LCR_PAR_ODD 0x08 // Odd parity [all …]
|
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 63 #define WHITEHEAT_PAR_NONE 'n' /* no parity */ 64 #define WHITEHEAT_PAR_EVEN 'e' /* even parity */ 65 #define WHITEHEAT_PAR_ODD 'o' /* odd parity */ 66 #define WHITEHEAT_PAR_SPACE '0' /* space (force 0) parity */ 67 #define WHITEHEAT_PAR_MARK '1' /* mark (force 1) parity */ 90 __le32 baud; /* any value 7 - 460800, firmware calculates 94 __u8 parity; /* see WHITEHEAT_PAR_* above */ member [all …]
|
D | belkin_sa.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 8 * This program is largely derived from work by the linux-usb group 12 * See Documentation/usb/usb-serial.rst for more information on using this 15 * 12-Mar-2001 gkh 16 * Added GoHubs GO-COM232 device id. 18 * 06-Nov-2000 gkh 21 * 12-Oct-2000 William Greathouse 53 #define BELKIN_SA_SET_PARITY_REQUEST 3 /* Set parity (None, Even, Odd) */ 73 #define BELKIN_SA_STOP_BITS(b) (b-1) 75 #define BELKIN_SA_DATA_BITS(b) (b-5) [all …]
|
/Linux-v6.1/drivers/input/serio/ |
D | ams_delta_serio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * The Amstrad Delta keyboard (aka mailboard) uses normal PC-AT style serial 17 * However, when used with the E3 mailboard that producecs non-standard 21 #include <linux/platform_data/ams-delta-fiq.h> 28 #define DRIVER_NAME "ams-delta-serio" 42 int i, parity = 0; in check_data() local 46 dev_warn(&serio->dev, "invalid stop bit, data=0x%X\n", data); in check_data() 49 /* calculate the parity */ in check_data() 52 parity++; in check_data() 54 /* it should be odd */ in check_data() [all …]
|
D | ps2-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Author: Danilo Krummrich <danilokrummrich@dk-develop.de> 24 #define DRIVER_NAME "ps2-gpio" 50 * interrupt interval should be ~60us. Let's allow +/- 20us for frequency 61 * |-----------------| |--------| 68 #define PS2_IRQ_MIN_INTERVAL_US (PS2_CLK_MIN_INTERVAL_US - 20) 98 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_open() 100 drvdata->t_irq_last = 0; in ps2_gpio_open() 101 drvdata->tx.t_xfer_end = 0; in ps2_gpio_open() 103 enable_irq(drvdata->irq); in ps2_gpio_open() [all …]
|
/Linux-v6.1/Documentation/driver-api/mtd/ |
D | nand_ecc.rst | 2 NAND Error-correction Code 11 After that the speed was increased by 35-40%. 32 bytes. This is done by calculating several parity bits over the rows and 33 columns. The parity used is even parity which means that the parity bit = 1 34 if the data over which the parity is calculated is 1 and the parity bit = 0 35 if the data over which the parity is calculated is 0. So the total 36 number of bits over the data over which the parity is calculated + the 37 parity bit is even. (see wikipedia if you can't follow this). 38 Parity is often calculated by means of an exclusive or operation, 59 cp is my abbreviation for column parity, rp for row parity. [all …]
|
/Linux-v6.1/arch/m68k/include/asm/ |
D | atarihw.h | 2 ** linux/atarihw.h -- This header defines some macros and pointers for 10 ** 1996-09-13 lars brinkhoff <f93labr@dd.chalmers.se>: 24 #include <asm/bootinfo-atari.h> 65 * Define several Hardware-Chips for indication so that for the ATARI we do 78 ATARIHW_DECLARE(STND_SHIFTER); /* ST-Shifter - no base low ! */ 79 ATARIHW_DECLARE(EXTD_SHIFTER); /* STe-Shifter - 24 bit address */ 80 ATARIHW_DECLARE(TT_SHIFTER); /* TT-Shifter */ 81 ATARIHW_DECLARE(VIDEL_SHIFTER); /* Falcon-Shifter */ 84 ATARIHW_DECLARE(PCM_8BIT); /* PCM-Sound in STe-ATARI */ 88 ATARIHW_DECLARE(ST_SCSI); /* NCR5380 via ST-DMA (Falcon) */ [all …]
|
D | mcfuart.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * mcfuart.h -- ColdFire internal UART support defines. 7 * (C) Copyright 1999-2003, Greg Ungerer (gerg@snapgear.com) 65 #define MCFUART_MR1_PARITYNONE 0x10 /* No parity */ 66 #define MCFUART_MR1_PARITYEVEN 0x00 /* Even parity */ 67 #define MCFUART_MR1_PARITYODD 0x04 /* Odd parity */ 68 #define MCFUART_MR1_PARITYSPACE 0x08 /* Space parity */ 69 #define MCFUART_MR1_PARITYMARK 0x0c /* Mark parity */ 94 #define MCFUART_USR_RXPARITY 0x20 /* Received parity error */
|
/Linux-v6.1/include/uapi/linux/dvb/ |
D | ca.h | 1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ 21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 29 * struct ca_slot_info - CA slot interface types and info. 39 * - %CA_CI - CI high level interface; 40 * - %CA_CI_LINK - CI link layer level interface; 41 * - %CA_CI_PHYS - CI physical layer level interface; 42 * - %CA_DESCR - built-in descrambler; 43 * - %CA_SC -simple smart card interface. 47 * - %CA_CI_MODULE_PRESENT - module (or card) inserted; 48 * - %CA_CI_MODULE_READY - module is ready for usage. [all …]
|
/Linux-v6.1/arch/sparc/include/asm/ |
D | iommu_32.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 volatile unsigned long afsr; /* Async-fault status register */ 32 volatile unsigned long afar; /* Async-fault physical address */ 34 volatile unsigned long sbuscfg0; /* SBUS configuration registers, per-slot */ 38 volatile unsigned long mfsr; /* Memory-fault status register */ 39 volatile unsigned long mfar; /* Memory-fault physical address */ 42 volatile unsigned long mid; /* IOMMU module-id */ 48 #define IOMMU_RNGE_16MB 0x00000000 /* 0xff000000 -> 0xffffffff */ 49 #define IOMMU_RNGE_32MB 0x00000004 /* 0xfe000000 -> 0xffffffff */ 50 #define IOMMU_RNGE_64MB 0x00000008 /* 0xfc000000 -> 0xffffffff */ [all …]
|
D | turbosparc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 * ------------------------------------------------------------------- 17 * |impl-vers| RSV| PMC |PE|PC| RSV |BM| RFR |IC|DC|PSO|RSV|ICS|NF|ME| 18 * ------------------------------------------------------------------- 19 * 31 24 23-21 20-19 18 17 16-15 14 13-10 9 8 7 6-3 2 1 0 21 * BM: Boot Mode -- 0 = not in boot mode, 1 = in boot mode 23 * This indicates whether the TurboSparc is in boot-mode or not. 25 * IC: Instruction Cache -- 0 = off, 1 = on 26 * DC: Data Cache -- 0 = off, 1 = 0n 28 * These bits enable the on-cpu TurboSparc split I/D caches. [all …]
|
/Linux-v6.1/drivers/tty/serial/ |
D | dz.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 35 #define DZ_PERR 0x1000 /* Parity error indicator */ 93 #define DZ_PARENB 0x0040 /* Parity enable */ 94 #define DZ_PARODD 0x0080 /* Odd parity instead of even */
|
D | sh-sci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 42 #define SCSMR_CSYNC BIT(7) /* - Clocked synchronous mode */ 43 #define SCSMR_ASYNC 0 /* - Asynchronous mode */ 44 #define SCSMR_CHR BIT(6) /* 7-bit Character Length */ 45 #define SCSMR_PE BIT(5) /* Parity Enable */ 46 #define SCSMR_ODD BIT(4) /* Odd Parity */ 66 /* Serial Control Register, HSCIF-only bits */ 74 #define SCI_PER BIT(3) /* Parity Error */ 91 #define SCIF_PER BIT(2) /* Parity Error */ 95 #define SCIF_PERC 0xf000 /* Number of Parity Errors */ [all …]
|
/Linux-v6.1/Documentation/userspace-api/media/v4l/ |
D | field-order.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _field-order: 12 odd and even lines of the image, respectively. Alternating the so called 13 odd and even field are transmitted, and due to a small delay between 29 combine to frames. We distinguish between top (aka odd) and bottom (aka 69 .. flat-table:: 70 :header-rows: 0 71 :stub-columns: 0 74 * - ``V4L2_FIELD_ANY`` 75 - 0 [all …]
|
/Linux-v6.1/Documentation/filesystems/ |
D | ntfs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 - Overview 11 - Web site 12 - Features 13 - Supported mount options 14 - Known bugs and (mis-)features 15 - Using NTFS volume and stripe sets 16 - The Device-Mapper driver 17 - The Software RAID / MD driver 18 - Limitations when using the MD driver [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/ |
D | xilinx.txt | 10 Each IP-core has a set of parameters which the FPGA designer can use to 20 properties of the device node. In general, device nodes for IP-cores 23 (name): (generic-name)@(base-address) { 24 compatible = "xlnx,(ip-core-name)-(HW_VER)" 27 interrupt-parent = <&interrupt-controller-phandle>; 29 xlnx,(parameter1) = "(string-value)"; 30 xlnx,(parameter2) = <(int-value)>; 33 (generic-name): an open firmware-style name that describes the 36 (ip-core-name): the name of the ip block (given after the BEGIN 38 and all underscores '_' converted to dashes '-'. [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | ppp-ioctl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * ppp-ioctl.h - PPP ioctl definitions. 5 * Copyright 1999-2002 Paul Mackerras. 24 #define SC_NO_TCP_CCID 0x00000008 /* disable VJ connection-id comp. */ 47 #define SC_RCV_ODDP 0x08000000 /* have rcvd char with odd parity */ 48 #define SC_RCV_EVNP 0x04000000 /* have rcvd char with even parity */ 52 #define SC_DC_ERROR 0x00400000 /* non-fatal decomp error detected */ 107 #define PPPIOCGIDLE32 _IOR('t', 63, struct ppp_idle32) /* 32-bit times */ 108 #define PPPIOCGIDLE64 _IOR('t', 63, struct ppp_idle64) /* 64-bit times */
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-devices-soc | 5 The /sys/devices/ directory contains a sub-directory for each 6 System-on-Chip (SoC) device on a running platform. Information 19 Read-only attribute common to all SoCs. Contains the SoC machine 26 Read-only attribute common to all SoCs. Contains SoC family name 36 data bits plus one (1) odd parity bit. It is a single field, 57 Read-only attribute supported by most SoCs. Contains the SoC's 64 Read-only attribute supported by most SoCs. In the case of 65 ST-Ericsson's chips this contains the SoC serial number. 77 Read-only attribute supported by most SoCs. Contains the SoC's 84 Read-only attribute supported ST-Ericsson's silicon. Contains the [all …]
|
/Linux-v6.1/net/bluetooth/rfcomm/ |
D | tty.c | 78 /* ---- Device functions ---- */ 83 struct rfcomm_dlc *dlc = dev->dlc; in rfcomm_dev_destruct() 89 if (dlc->owner == dev) in rfcomm_dev_destruct() 90 dlc->owner = NULL; in rfcomm_dev_destruct() 95 if (dev->tty_dev) in rfcomm_dev_destruct() 96 tty_unregister_device(rfcomm_tty_driver, dev->id); in rfcomm_dev_destruct() 99 list_del(&dev->list); in rfcomm_dev_destruct() 109 /* device-specific initialization: open the dlc */ 115 err = rfcomm_dlc_open(dev->dlc, &dev->src, &dev->dst, dev->channel); in rfcomm_dev_activate() 117 set_bit(TTY_IO_ERROR, &tty->flags); in rfcomm_dev_activate() [all …]
|