/Linux-v4.19/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_insformat.h | 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, 110 parity : 1; member 112 uint32_t parity : 1, 128 parity : 1; member 130 uint32_t parity : 1, [all …]
|
/Linux-v4.19/Documentation/mtd/ |
D | nand_ecc.txt | 28 bytes. This is done by calculating several parity bits over the rows and 29 columns. The parity used is even parity which means that the parity bit = 1 30 if the data over which the parity is calculated is 1 and the parity bit = 0 31 if the data over which the parity is calculated is 0. So the total 32 number of bits over the data over which the parity is calculated + the 33 parity bit is even. (see wikipedia if you can't follow this). 53 cp is my abbreviation for column parity, rp for row parity. 55 Let's start to explain column parity. 56 cp0 is the parity that belongs to all bit0, bit2, bit4, bit6. 59 cp2 is the parity over bit0, bit1, bit4 and bit5 [all …]
|
/Linux-v4.19/arch/mips/mm/ |
D | cerr-sb1.c | 269 static const uint8_t parity[256] = { variable 303 char parity = 0; in range_parity() local 308 parity = !parity; in range_parity() 311 return parity; in range_parity() 318 char parity = 0; in inst_parity() local 326 parity <<= 1; in inst_parity() 327 parity |= byte_parity; in inst_parity() 329 return parity; in inst_parity() 449 p ^= (parity[w>>24] ^ parity[(w>>16) & 0xFF] in dc_ecc() 450 ^ parity[(w>>8) & 0xFF] ^ parity[w & 0xFF]); in dc_ecc() [all …]
|
/Linux-v4.19/drivers/media/pci/mantis/ |
D | mantis_uart.c | 43 enum mantis_parity parity; member 58 } parity[3] = { variable 126 mmwrite((mmread(MANTIS_UART_CTL) | (params->parity & 0x3)), MANTIS_UART_CTL); in mantis_uart_setup() 162 params.parity = config->parity; in mantis_uart_init() 165 parity[params.parity].string); in mantis_uart_init()
|
/Linux-v4.19/arch/mips/mti-malta/ |
D | malta-init.c | 46 char parity = '\0', bits = '\0', flow = '\0'; in console_config() local 56 parity = *s++; in console_config() 68 if (parity != 'n' && parity != 'o' && parity != 'e') in console_config() 69 parity = 'n'; in console_config() 77 parity, bits); in console_config() 83 parity, bits, flow); in console_config()
|
/Linux-v4.19/arch/mips/generic/ |
D | yamon-dt.c | 164 char mode_var_name[9], path[20], parity; in yamon_dt_serial_config() local 181 parity = 0; in yamon_dt_serial_config() 195 parity = mode_var[0]; in yamon_dt_serial_config() 209 if (parity != 'e' && parity != 'n' && parity != 'o') in yamon_dt_serial_config() 210 parity = 'n'; in yamon_dt_serial_config() 216 uart, baud, parity, stop_bits, in yamon_dt_serial_config()
|
/Linux-v4.19/arch/mips/ar7/ |
D | prom.c | 204 char parity = '\0', bits = '\0', flow = '\0'; in console_config() local 217 parity = *s++; in console_config() 230 if (parity != 'n' && parity != 'o' && parity != 'e') in console_config() 231 parity = 'n'; in console_config() 237 parity, bits, flow); in console_config() 239 sprintf(console_string, " console=ttyS0,%d%c%c", baud, parity, in console_config()
|
/Linux-v4.19/Documentation/md/ |
D | raid5-ppl.txt | 4 addressed by PPL is that after a dirty shutdown, parity of a particular stripe 6 in degraded state, there is no way to recalculate parity, because one of the 8 array or using it is as degraded - data calculated from parity for array blocks 13 Partial parity for a write operation is the XOR of stripe data chunks not 15 write hole. XORing partial parity with the modified chunks produces parity for 18 this stripe is missing, this updated parity can be used to recover its 24 When handling a write request PPL writes partial parity before new data and 25 parity are dispatched to disks. PPL is a distributed log - it is stored on 26 array member drives in the metadata area, on the parity drive of a particular 35 performed for this stripe (parity is not updated). So it is possible to have
|
D | raid5-cache.txt | 25 and parity don't match. The reason is that a stripe write involves several RAID 51 write. For non-full-stripe writes, MD must read old data before the new parity 81 ID for recovery identification. Data can be IO data and parity data. Data is 89 write-through mode, MD calculates parity for IO data, writes both IO data and 90 parity to the log, writes the data and parity to RAID disks after the data and 91 parity is settled down in log and finally the IO is finished. Read just reads 97 MD will calculate parity for the data and write parity into the log. After this 98 is finished, MD will write both data and parity into RAID disks, then MD can 105 data and data. If MD finds a stripe with data and valid parities (1 parity for
|
/Linux-v4.19/drivers/firmware/ |
D | pcdp.c | 28 char parity; in setup_serial_console() local 36 switch (uart->parity) { in setup_serial_console() 37 case 0x2: parity = 'e'; break; in setup_serial_console() 38 case 0x3: parity = 'o'; break; in setup_serial_console() 39 default: parity = 'n'; in setup_serial_console() 41 p += sprintf(p, "%c%d", parity, uart->bits); in setup_serial_console()
|
/Linux-v4.19/drivers/tty/serial/ |
D | max3100.c | 107 int parity; /* keeps track if we should send parity */ member 141 int parity; in max3100_do_parity() local 143 if (s->parity & MAX3100_PARITY_ODD) in max3100_do_parity() 144 parity = 1; in max3100_do_parity() 146 parity = 0; in max3100_do_parity() 148 if (s->parity & MAX3100_7BIT) in max3100_do_parity() 153 parity = parity ^ (hweight8(c) & 1); in max3100_do_parity() 154 return parity; in max3100_do_parity() 164 if (s->parity & MAX3100_7BIT) in max3100_calc_parity() 169 if (s->parity & MAX3100_PARITY_ON) in max3100_calc_parity() [all …]
|
D | 21285.c | 96 port->icount.parity++; in serial21285_rx_chars() 387 int *parity, int *bits) in serial21285_get_options() argument 410 *parity = 'o'; in serial21285_get_options() 412 *parity = 'e'; in serial21285_get_options() 426 int parity = 'n'; in serial21285_console_setup() local 438 uart_parse_options(options, &baud, &parity, &bits, &flow); in serial21285_console_setup() 440 serial21285_get_options(port, &baud, &parity, &bits); in serial21285_console_setup() 442 return uart_set_options(port, co, baud, parity, bits, flow); in serial21285_console_setup()
|
D | apbuart.c | 99 port->icount.parity++; in apbuart_rx_chars() 456 int *parity, int *bits) in apbuart_console_get_options() argument 463 *parity = 'n'; in apbuart_console_get_options() 466 *parity = 'e'; in apbuart_console_get_options() 468 *parity = 'o'; in apbuart_console_get_options() 482 int parity = 'n'; in apbuart_console_setup() local 501 uart_parse_options(options, &baud, &parity, &bits, &flow); in apbuart_console_setup() 503 apbuart_console_get_options(port, &baud, &parity, &bits); in apbuart_console_setup() 505 return uart_set_options(port, co, baud, parity, bits, flow); in apbuart_console_setup()
|
D | serial_ks8695.c | 173 port->icount.parity++; in ks8695uart_rx_chars() 573 static void __init ks8695_console_get_options(struct uart_port *port, int *baud, int *parity, int *… in ks8695_console_get_options() argument 581 *parity = 'o'; in ks8695_console_get_options() 584 *parity = 'e'; in ks8695_console_get_options() 587 *parity = 'n'; in ks8695_console_get_options() 614 int parity = 'n'; in ks8695_console_setup() local 625 uart_parse_options(options, &baud, &parity, &bits, &flow); in ks8695_console_setup() 627 ks8695_console_get_options(port, &baud, &parity, &bits); in ks8695_console_setup() 629 return uart_set_options(port, co, baud, parity, bits, flow); in ks8695_console_setup()
|
/Linux-v4.19/drivers/mtd/ |
D | ssfdc.c | 189 int parity; in get_parity() local 191 parity = 1; in get_parity() 193 parity += (number >> k); in get_parity() 194 parity &= 1; in get_parity() 196 return parity; in get_parity() 202 int block_address, parity; in get_logical_address() local 218 parity = block_address & 0x01; in get_logical_address() 222 if (get_parity(block_address, 10) != parity) { in get_logical_address()
|
/Linux-v4.19/fs/exofs/ |
D | ore.c | 55 layout->parity = 0; in ore_verify_layout() 58 layout->parity = 1; in ore_verify_layout() 61 layout->parity = 2; in ore_verify_layout() 109 (layout->group_width - layout->parity); in ore_verify_layout() 110 if (layout->parity) { in ore_verify_layout() 112 (layout->group_width - layout->parity) * in ore_verify_layout() 265 if (layout->parity && length) { in ore_get_rw_state() 266 unsigned data_devs = layout->group_width - layout->parity; in ore_get_rw_state() 277 num_raid_units = num_stripes * layout->parity; in ore_get_rw_state() 310 if (layout->parity) in ore_get_rw_state() [all …]
|
/Linux-v4.19/arch/x86/kernel/ |
D | bootflag.c | 23 static int __init parity(u8 v) in parity() function 42 if (!parity(v)) in sbf_write() 73 if (!parity(v)) in sbf_value_valid()
|
/Linux-v4.19/Documentation/core-api/ |
D | librs.rst | 57 and stores the result in the parity buffer. Note that the parity buffer 76 /* Initialize the parity buffer */ 78 /* Encode 512 byte in data8. Store parity in buffer par */ 86 received parity symbols and corrects errors in the data. 113 /* Receive parity */ 130 /* Receive parity */ 141 Note: It's not necessary to give data and received parity to the 152 /* Receive parity */
|
/Linux-v4.19/drivers/input/serio/ |
D | ams_delta_serio.c | 45 int i, parity = 0; in check_data() local 55 parity++; in check_data() 58 if (!(parity & 0x01)) { in check_data() 61 parity); in check_data()
|
/Linux-v4.19/drivers/scsi/pcmcia/ |
D | aha152x_stub.c | 63 static int parity = 1; variable 70 module_param(parity, int, 0); 167 s.parity = parity; in aha152x_config_cs()
|
/Linux-v4.19/drivers/net/wan/ |
D | hdlc_raw.c | 73 if (new_settings.parity == PARITY_DEFAULT) in raw_ioctl() 74 new_settings.parity = PARITY_CRC16_PR1_CCITT; in raw_ioctl() 77 new_settings.parity); in raw_ioctl()
|
D | hdlc_raw_eth.c | 89 if (new_settings.parity == PARITY_DEFAULT) in raw_eth_ioctl() 90 new_settings.parity = PARITY_CRC16_PR1_CCITT; in raw_eth_ioctl() 93 new_settings.parity); in raw_eth_ioctl()
|
/Linux-v4.19/arch/ia64/include/asm/sn/ |
D | tioce.h | 338 u64 parity[512]; /* 0x00E000 -- 0x00EFF8 */ member 345 u64 parity[512]; /* 0x011000 -- 0x011FF8 */ member 352 u64 parity[512]; /* 0x014000 -- 0x014FF8 */ member 359 u64 parity[512]; /* 0x017000 -- 0x017FF8 */ member 366 u64 parity[512]; /* 0x01A000 -- 0x01AFF8 */ member 373 u64 parity[64]; /* 0x01B400 -- 0x01B5F8 */ member 391 u64 parity[258]; /* 0x025020 -- 0x025828 */ member 436 u64 parity[32]; /* 0x040400 -- 0x0404F8 */ member 447 u64 parity[256]; /* 0x043000 -- 0x0437F8 */ member 457 u64 parity[8]; /* 0x044200 -- 0x044238 */ member
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | rng.c | 47 unsigned long parity; in rng_whiten() local 50 asm ("popcntd %0,%1" : "=r" (parity) : "r" (val)); in rng_whiten() 56 rng->mask = (rng->mask << 1) | (parity & 1); in rng_whiten()
|
/Linux-v4.19/Documentation/device-mapper/ |
D | dm-raid.txt | 19 raid4 RAID4 with dedicated last parity disk 20 raid5_n RAID5 with dedicated last parity disk supporting takeover 24 - rotating parity 0 with data continuation 26 - rotating parity N with data continuation 28 - rotating parity 0 with data restart 30 - rotating parity N with data restart 32 - rotating parity zero (left-to-right) with data restart 34 - rotating parity N (right-to-left) with data restart 36 - rotating parity N (right-to-left) with data continuation 37 raid6_n_6 RAID6 with dedicate parity disks [all …]
|