Home
last modified time | relevance | path

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

123456

/openbmc/bmcweb/redfish-core/include/generated/enums/
H A Dserial_interface.hpp6 // clang-format off
14 enum class Parity{ enum
18 Odd, enumerator
43 NLOHMANN_JSON_SERIALIZE_ENUM(Parity, {
44 {Parity::Invalid, "Invalid"},
45 {Parity::None, "None"},
46 {Parity::Even, "Even"},
47 {Parity::Odd, "Odd"},
48 {Parity::Mark, "Mark"},
49 {Parity::Space, "Space"},
[all …]
/openbmc/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:
32 clock-names:
35 current-speed:
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DSerialInterface.v1_2_1.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
28 "description": "The available OEM-specific actions for this resource.",
29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
107 "Hardware": "Out-of-band flow control imposed.",
109 "Software": "XON/XOFF in-band flow control imposed."
116 …"longDescription": "This Redfish Specification-described type shall contain links to resources tha…
118 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
135 …operties contained in this object shall conform to the Redfish Specification-described requirement…
[all …]
/openbmc/qemu/rust/hw/char/pl011/src/
H A Dlib.rs3 // SPDX-License-Identifier: GPL-2.0-or-later
57 /// ARM DDI 0183G, Table 3-1 p.3-3
82 /// `IrDA` Low-Power Counter Register
121 fn try_from(value: u64) -> Result<Self, Self::Error> { in try_from()
148 //! All PL011 registers are essentially 32-bit wide, but are typed here as
151 //! as a 32-bit register where the unmentioned higher bits are always
162 /// - if the FIFOs are enabled, data written to this location is pushed onto
165 /// - if the FIFOs are not enabled, data is stored in the transmitter
170 /// prefixed with a start bit, appended with the appropriate parity bit
171 /// (if parity is enabled), and a stop bit. The resultant word is then
[all …]
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_ecc.c2 * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
4 * Copyright (C) 2002-2011 Aleph One Ltd.
17 * The ECC comprises 22 bits of parity information and is stuffed into 3 bytes.
19 * The ECC can correct single bit errors in a 256-byte page of data. Thus, two
20 * such ECC blocks are used on a 512-byte NAND page.
28 /* Table generated by gen-ecc.c
31 * Bit 0 of each entry indicates whether the entry has an odd or even parity,
32 * and therefore this bytes influence on the line parity.
71 /* Calculate the ECC for a 256-byte block of data */
85 if (b & 0x01) { /* odd number of bits in the byte */ in yaffs_ecc_calc()
[all …]
/openbmc/linux/include/linux/platform_data/
H A 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
/openbmc/linux/drivers/media/pci/mantis/
H A 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 …]
/openbmc/linux/Documentation/input/devices/
H A 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 …]
/openbmc/linux/drivers/usb/serial/
H A 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 …]
H A 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 …]
H A Dio_16654.h1 /* 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 …]
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
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 …]
H A Dbelkin_sa.h1 /* 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 …]
/openbmc/linux/drivers/input/serio/
H A 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 …]
/openbmc/linux/include/uapi/linux/dvb/
H A 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 …]
/openbmc/linux/Documentation/driver-api/mtd/
H A 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 …]
/openbmc/linux/arch/m68k/include/asm/
H A 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 …]
H A Dmcfuart.h1 /* 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 */
/openbmc/u-boot/drivers/serial/
H A Dserial_stm32.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
22 bool stm32f4 = uart_info->stm32f4; in _stm32_serial_setbrg()
45 _stm32_serial_setbrg(plat->base, plat->uart_info, in stm32_serial_setbrg()
46 plat->clock_rate, baudrate); in stm32_serial_setbrg()
54 bool stm32f4 = plat->uart_info->stm32f4; in stm32_serial_setconfig()
55 u8 uart_enable_bit = plat->uart_info->uart_enable_bit; in stm32_serial_setconfig()
56 u32 cr1 = plat->base + CR1_OFFSET(stm32f4); in stm32_serial_setconfig()
58 uint parity = SERIAL_GET_PARITY(serial_config); in stm32_serial_setconfig() local
63 * only parity config is implemented, check if other serial settings in stm32_serial_setconfig()
[all …]
/openbmc/linux/arch/sparc/include/asm/
H A 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 …]
H A Dturbosparc.h1 /* 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 …]
/openbmc/linux/drivers/tty/serial/
H A 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 */
H A Dsh-sci.h1 /* 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 */
69 /* Serial Control Register, HSCIF-only bits */
77 #define SCI_PER BIT(3) /* Parity Error */
94 #define SCIF_PER BIT(2) /* Parity Error */
98 #define SCIF_PERC 0xf000 /* Number of Parity Errors */
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A 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 …]
/openbmc/linux/Documentation/filesystems/
H A Dntfs.rst1 .. 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 …]

123456