Home
last modified time | relevance | path

Searched +full:odd +full:- +full:parity (Results 1 – 25 of 249) sorted by relevance

12345678910

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/serial/
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:
32 clock-names:
35 current-speed:
[all …]
/kernel/linux/linux-6.6/include/linux/platform_data/
Dspi-davinci.h1 /* 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
/kernel/linux/linux-5.10/include/linux/platform_data/
Dspi-davinci.h1 /* 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
/kernel/linux/linux-5.10/drivers/media/pci/mantis/
Dmantis_uart.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/media/pci/mantis/
Dmantis_uart.c1 // 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 …]
/kernel/linux/linux-5.10/Documentation/input/devices/
Delantech.rst4 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 …]
/kernel/linux/linux-6.6/Documentation/input/devices/
Delantech.rst4 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 …]
/kernel/linux/linux-6.6/drivers/usb/serial/
Dkeyspan_usa28msg.h1 /* 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 …]
Dupd78f0730.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/usb/serial/
Dkeyspan_usa28msg.h1 /* 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 …]
Dupd78f0730.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/input/serio/
Dams_delta_serio.c1 // 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 …]
Dps2-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Author: Danilo Krummrich <danilokrummrich@dk-develop.de>
23 #define DRIVER_NAME "ps2-gpio"
66 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_open()
68 enable_irq(drvdata->irq); in ps2_gpio_open()
74 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_close()
76 flush_delayed_work(&drvdata->tx_work); in ps2_gpio_close()
77 disable_irq(drvdata->irq); in ps2_gpio_close()
82 struct ps2_gpio_data *drvdata = serio->port_data; in __ps2_gpio_write()
84 disable_irq_nosync(drvdata->irq); in __ps2_gpio_write()
[all …]
/kernel/linux/linux-6.6/drivers/input/serio/
Dams_delta_serio.c1 // 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 …]
/kernel/linux/linux-5.10/Documentation/driver-api/mtd/
Dnand_ecc.rst2 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 …]
/kernel/linux/linux-6.6/Documentation/driver-api/mtd/
Dnand_ecc.rst2 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 …]
/kernel/linux/linux-6.6/include/uapi/linux/dvb/
Dca.h1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
14 * struct ca_slot_info - CA slot interface types and info.
24 * - %CA_CI - CI high level interface;
25 * - %CA_CI_LINK - CI link layer level interface;
26 * - %CA_CI_PHYS - CI physical layer level interface;
27 * - %CA_DESCR - built-in descrambler;
28 * - %CA_SC -simple smart card interface.
32 * - %CA_CI_MODULE_PRESENT - module (or card) inserted;
33 * - %CA_CI_MODULE_READY - module is ready for usage.
52 * struct ca_descr_info - descrambler types and info.
[all …]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Datarihw.h2 ** 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 …]
/kernel/linux/linux-6.6/arch/m68k/include/asm/
Datarihw.h2 ** 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 …]
/kernel/linux/linux-5.10/include/uapi/linux/dvb/
Dca.h1 /* 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 …]
/kernel/linux/linux-6.6/arch/sparc/include/asm/
Diommu_32.h1 /* 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 …]
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Diommu_32.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/tty/serial/
Ddz.h1 /* 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 */
/kernel/linux/linux-5.10/drivers/tty/serial/
Ddz.h1 /* 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 */
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dfield-order.rst1 .. 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 …]

12345678910