Home
last modified time | relevance | path

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

12345678910>>...42

/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_hw_t5.c4 * Copyright (c) 2008-2013 Chelsio Communications, Inc. All rights reserved.
11 * Redistribution and use in source and binary forms, with or
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
30 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
42 * Truncation intentional: we only read the bottom 32-bits of the in csio_t5_set_mem_win()
43 * 64-bit BAR0/BAR1 ... We use the hardware backdoor mechanism to in csio_t5_set_mem_win()
46 * accesses to our Configuration Space and we need to set up the PCI-E in csio_t5_set_mem_win()
48 * coming across the PCI-E link. in csio_t5_set_mem_win()
57 * to use the new values.) in csio_t5_set_mem_win()
[all …]
/kernel/linux/linux-6.6/drivers/scsi/csiostor/
Dcsio_hw_t5.c4 * Copyright (c) 2008-2013 Chelsio Communications, Inc. All rights reserved.
11 * Redistribution and use in source and binary forms, with or
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
30 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
42 * Truncation intentional: we only read the bottom 32-bits of the in csio_t5_set_mem_win()
43 * 64-bit BAR0/BAR1 ... We use the hardware backdoor mechanism to in csio_t5_set_mem_win()
46 * accesses to our Configuration Space and we need to set up the PCI-E in csio_t5_set_mem_win()
48 * coming across the PCI-E link. in csio_t5_set_mem_win()
57 * to use the new values.) in csio_t5_set_mem_win()
[all …]
/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/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
10 Redistribution and use in source and binary forms, with or without
19 Copyright (C) 1998-2000 InnoSys Incorporated. All Rights Reserved
21 This file is available under a BSD-style copyright
33 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
36 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
45 USB OUT (host -> USA28, transmit) messages contain a
48 If the port is configured for parity, the data will be an
[all …]
Dkeyspan_usa90msg.h1 /* SPDX-License-Identifier: BSD-3-Clause */
5 Copyright (c) 1998-2003 InnoSys Incorporated. All Rights Reserved
6 This file is available under a BSD-style copyright
10 Redistribution and use in source and binary forms, with or without
19 Copyright (c) 1998-2003 InnoSys Incorporated. All Rights Reserved
21 This file is available under a BSD-style copyright
33 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
36 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
63 lcr, // use PARITY, STOPBITS, DATABITS below
72 txFlowControl , // use TX_FLOW... bits below
[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
10 Redistribution and use in source and binary forms, with or without
19 Copyright (C) 1998-2000 InnoSys Incorporated. All Rights Reserved
21 This file is available under a BSD-style copyright
33 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
36 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
45 USB OUT (host -> USA28, transmit) messages contain a
48 If the port is configured for parity, the data will be an
[all …]
Dkeyspan_usa90msg.h1 /* SPDX-License-Identifier: BSD-3-Clause */
5 Copyright (c) 1998-2003 InnoSys Incorporated. All Rights Reserved
6 This file is available under a BSD-style copyright
10 Redistribution and use in source and binary forms, with or without
19 Copyright (c) 1998-2003 InnoSys Incorporated. All Rights Reserved
21 This file is available under a BSD-style copyright
33 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
36 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
63 lcr, // use PARITY, STOPBITS, DATABITS below
72 txFlowControl , // use TX_FLOW... bits below
[all …]
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/aicasm/
Daicasm_insformat.h8 * Redistribution and use in source and binary forms, with or without
19 * 3. Neither the names of the above-listed copyright holders nor the names
34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
37 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
55 parity : 1; member
57 uint32_t parity : 1,
74 parity : 1; member
76 uint32_t parity : 1,
92 parity : 1; member
94 uint32_t parity : 1,
[all …]
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/
Daicasm_insformat.h8 * Redistribution and use in source and binary forms, with or without
19 * 3. Neither the names of the above-listed copyright holders nor the names
34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
37 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
55 parity : 1; member
57 uint32_t parity : 1,
74 parity : 1; member
76 uint32_t parity : 1,
92 parity : 1; member
94 uint32_t parity : 1,
[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%.
28 not use the right terminology, my coding theory class was almost 30
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,
[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%.
28 not use the right terminology, my coding theory class was almost 30
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,
[all …]
/kernel/linux/linux-6.6/fs/ocfs2/
Dblockcheck.h1 /* SPDX-License-Identifier: GPL-2.0-only */
63 * Encoding hamming code parity bits for a buffer.
70 * parity = ocfs2_hamming_encode(0, buf1, 512 * 8, 0);
71 * parity = ocfs2_hamming_encode(parity, buf2, 512 * 8, 512 * 8);
73 * If you just have one buffer, use ocfs2_hamming_encode_block().
75 u32 ocfs2_hamming_encode(u32 parity, void *data, unsigned int d,
78 * Fix a buffer with a bit error. The 'fix' is the original parity
79 * xor'd with the parity calculated now.
85 * If you only have one buffer, use ocfs2_hamming_fix_block().
Dblockcheck.c1 // SPDX-License-Identifier: GPL-2.0-only
28 * We use the following conventions:
31 * p = # parity bits
39 * power-of-two bits for parity, the data bit number and the code bit
40 * number are offset by all the parity bits beforehand.
42 * Recall that bit numbers in hamming code are 1-based. This function
43 * takes the 0-based data bit from the caller.
46 * so it's a parity bit. 2 is a power of two (2^1), so it's a parity bit.
51 * number of parity bits added. This allows the function to start the
59 * Data bits are 0-based, but we're talking code bits, which in calc_code_bit()
[all …]
/kernel/linux/linux-5.10/Documentation/scsi/
Daha152x.rst1 .. SPDX-License-Identifier: GPL-2.0
5 Adaptec AHA-1520/1522 SCSI driver for Linux (aha152x)
8 Copyright |copy| 1993-1999 Jürgen Fischer <fischer@norbit.de>
14 bottom-half handler complete()).
27 IRQ interrupt level (9-12; default 11)
28 SCSI_ID scsi id of controller (0-7; default 7)
30 PARITY enable parity checking (0/1; default 1 [on])
42 - DAUTOCONF
43 use configuration the controller reports (AHA-152x only)
45 - DSKIP_BIOSTEST
[all …]
/kernel/linux/linux-6.6/Documentation/scsi/
Daha152x.rst1 .. SPDX-License-Identifier: GPL-2.0
5 Adaptec AHA-1520/1522 SCSI driver for Linux (aha152x)
8 Copyright |copy| 1993-1999 Jürgen Fischer <fischer@norbit.de>
14 bottom-half handler complete()).
27 IRQ interrupt level (9-12; default 11)
28 SCSI_ID scsi id of controller (0-7; default 7)
30 PARITY enable parity checking (0/1; default 1 [on])
42 - DAUTOCONF
43 use configuration the controller reports (AHA-152x only)
45 - DSKIP_BIOSTEST
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/
Dblockcheck.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* -*- mode: c; c-basic-offset: 8; -*-
65 * Encoding hamming code parity bits for a buffer.
72 * parity = ocfs2_hamming_encode(0, buf1, 512 * 8, 0);
73 * parity = ocfs2_hamming_encode(parity, buf2, 512 * 8, 512 * 8);
75 * If you just have one buffer, use ocfs2_hamming_encode_block().
77 u32 ocfs2_hamming_encode(u32 parity, void *data, unsigned int d,
80 * Fix a buffer with a bit error. The 'fix' is the original parity
81 * xor'd with the parity calculated now.
87 * If you only have one buffer, use ocfs2_hamming_fix_block().
Dblockcheck.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* -*- mode: c; c-basic-offset: 8; -*-
30 * We use the following conventions:
33 * p = # parity bits
41 * power-of-two bits for parity, the data bit number and the code bit
42 * number are offset by all the parity bits beforehand.
44 * Recall that bit numbers in hamming code are 1-based. This function
45 * takes the 0-based data bit from the caller.
48 * so it's a parity bit. 2 is a power of two (2^1), so it's a parity bit.
53 * number of parity bits added. This allows the function to start the
[all …]
/kernel/linux/linux-6.6/Documentation/driver-api/md/
Draid5-cache.rst7 caches data to the RAID disks. The cache can be in write-through (supported
8 since 4.4) or write-back mode (supported since 4.10). mdadm (supported since
9 3.4) has a new option '--write-journal' to create array with cache. Please
11 in write-through mode. A user can switch it to write-back mode by::
13 echo "write-back" > /sys/block/md0/md/journal_mode
15 And switch it back to write-through mode by::
17 echo "write-through" > /sys/block/md0/md/journal_mode
22 write-through mode
27 and parity don't match. The reason is that a stripe write involves several RAID
34 The write-through cache will cache all data on cache disk first. After the data
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/md/
Draid5-cache.rst7 caches data to the RAID disks. The cache can be in write-through (supported
8 since 4.4) or write-back mode (supported since 4.10). mdadm (supported since
9 3.4) has a new option '--write-journal' to create array with cache. Please
11 in write-through mode. A user can switch it to write-back mode by::
13 echo "write-back" > /sys/block/md0/md/journal_mode
15 And switch it back to write-through mode by::
17 echo "write-through" > /sys/block/md0/md/journal_mode
22 write-through mode
27 and parity don't match. The reason is that a stripe write involves several RAID
34 The write-through cache will cache all data on cache disk first. After the data
[all …]
/kernel/linux/linux-5.10/Documentation/core-api/
Dlibrs.rst2 Reed-Solomon Library Programming Interface
10 The generic Reed-Solomon Library provides encoding, decoding and error
13 Reed-Solomon codes are used in communication and storage applications to
27 This chapter provides examples of how to use the library.
30 ------------
54 --------
56 The encoder calculates the Reed-Solomon code over the given data length
57 and stores the result in the parity buffer. Note that the parity buffer
60 The expanded data can be inverted on the fly by providing a non-zero
63 Reed-Solomon code for all 0x00 is all 0x00. The code is inverted before
[all …]
/kernel/linux/linux-6.6/Documentation/core-api/
Dlibrs.rst2 Reed-Solomon Library Programming Interface
10 The generic Reed-Solomon Library provides encoding, decoding and error
13 Reed-Solomon codes are used in communication and storage applications to
27 This chapter provides examples of how to use the library.
30 ------------
54 --------
56 The encoder calculates the Reed-Solomon code over the given data length
57 and stores the result in the parity buffer. Note that the parity buffer
60 The expanded data can be inverted on the fly by providing a non-zero
63 Reed-Solomon code for all 0x00 is all 0x00. The code is inverted before
[all …]
/kernel/linux/linux-6.6/include/uapi/asm-generic/
Dtermbits-common.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
11 #define IGNPAR 0x004 /* Ignore characters with parity errors */
12 #define PARMRK 0x008 /* Mark parity and framing errors */
13 #define INPCK 0x010 /* Enable input parity check */
50 #define CMSPAR 0x40000000 /* mark or space (stick) parity */
55 /* tcflow() ACTION argument and TCXONC use these */
61 /* tcflush() QUEUE_SELECTOR argument and TCFLSH use these */
/kernel/linux/linux-5.10/drivers/md/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
29 Software RAID mini-HOWTO, available from
43 If you don't use raid and say Y, this autodetection can cause
44 a several-second delay in the boot time due to various
54 use the so-called linear mode, i.e. it will combine the hard disk
63 tristate "RAID-0 (striping) mode"
67 use the so-called raid0 mode, i.e. it will combine the hard disk
73 Software-RAID mini-HOWTO, available from
83 tristate "RAID-1 (mirroring) mode"
86 A RAID-1 set consists of several disk drives which are exact copies
[all …]
Draid5.h1 /* SPDX-License-Identifier: GPL-2.0 */
30 * Empty -> Want - on read or write to get old data for parity calc
31 * Empty -> Dirty - on compute_parity to satisfy write/sync request.
32 * Empty -> Clean - on compute_block when computing a block for failed drive
33 * Want -> Empty - on failed read
34 * Want -> Clean - on successful completion of read request
35 * Dirty -> Clean - on successful completion of write request
36 * Dirty -> Clean - on failed write
37 * Clean -> Dirty - on compute_parity to satisfy write/sync (RECONSTRUCT or RMW)
39 * The Want->Empty, Want->Clean, Dirty->Clean, transitions
[all …]
/kernel/linux/linux-6.6/drivers/md/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 # after relevant mdadm enhancements - to make "names=yes"
21 # the default - are widely available.
34 Software RAID mini-HOWTO, available from
48 If you don't use raid and say Y, this autodetection can cause
49 a several-second delay in the boot time due to various
69 use the so-called linear mode, i.e. it will combine the hard disk
78 tristate "RAID-0 (striping) mode"
82 use the so-called raid0 mode, i.e. it will combine the hard disk
88 Software-RAID mini-HOWTO, available from
[all …]

12345678910>>...42