/linux-6.3-rc2/drivers/scsi/aic7xxx/aicasm/ |
A 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-6.3-rc2/Documentation/driver-api/mtd/ |
A D | nand_ecc.rst | 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 59 cp is my abbreviation for column parity, rp for row parity. 114 nicer picture.(but they use line parity as term where I use row parity) 193 const char parity[256] = { 241 (parity[rp7] << 7) | 242 (parity[rp6] << 6) | 248 (parity[rp0]); 257 (parity[rp8]); 382 (parity[rp0]); [all …]
|
/linux-6.3-rc2/arch/mips/mm/ |
A D | cerr-sb1.c | 290 char parity = 0; in range_parity() local 295 parity = !parity; in range_parity() 298 return parity; in range_parity() 305 char parity = 0; in inst_parity() local 313 parity <<= 1; in inst_parity() 314 parity |= byte_parity; in inst_parity() 316 return parity; in inst_parity() 436 p ^= (parity[w>>24] ^ parity[(w>>16) & 0xFF] in dc_ecc() 437 ^ parity[(w>>8) & 0xFF] ^ parity[w & 0xFF]); in dc_ecc() 439 p ^= (parity[w>>24] ^ parity[(w>>16) & 0xFF] in dc_ecc() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/serial/ |
A D | xlnx,opb-uartlite.yaml | 45 xlnx,use-parity: 49 Whether parity checking was enabled when the device was configured. 51 xlnx,odd-parity: 55 Whether odd parity was configured. 63 - xlnx,use-parity 69 xlnx,use-parity: 73 - xlnx,odd-parity 86 xlnx,use-parity = <0>;
|
/linux-6.3-rc2/drivers/media/pci/mantis/ |
A D | mantis_uart.c | 31 enum mantis_parity parity; member 46 } parity[3] = { variable 114 mmwrite((mmread(MANTIS_UART_CTL) | (params->parity & 0x3)), MANTIS_UART_CTL); in mantis_uart_setup() 150 params.parity = config->parity; in mantis_uart_init() 153 parity[params.parity].string); in mantis_uart_init()
|
/linux-6.3-rc2/arch/mips/mti-malta/ |
A 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-6.3-rc2/arch/mips/generic/ |
A D | yamon-dt.c | 160 char mode_var_name[9], path[20], parity; in yamon_dt_serial_config() local 177 parity = 0; in yamon_dt_serial_config() 191 parity = mode_var[0]; in yamon_dt_serial_config() 205 if (parity != 'e' && parity != 'n' && parity != 'o') in yamon_dt_serial_config() 206 parity = 'n'; in yamon_dt_serial_config() 212 uart, baud, parity, stop_bits, in yamon_dt_serial_config()
|
/linux-6.3-rc2/arch/mips/ar7/ |
A D | prom.c | 192 char parity = '\0', bits = '\0', flow = '\0'; in console_config() local 205 parity = *s++; in console_config() 218 if (parity != 'n' && parity != 'o' && parity != 'e') in console_config() 219 parity = 'n'; in console_config() 225 parity, bits, flow); in console_config() 227 sprintf(console_string, " console=ttyS0,%d%c%c", baud, parity, in console_config()
|
/linux-6.3-rc2/Documentation/driver-api/md/ |
A D | raid5-ppl.rst | 6 addressed by PPL is that after a dirty shutdown, parity of a particular stripe 8 in degraded state, there is no way to recalculate parity, because one of the 10 array or using it is as degraded - data calculated from parity for array blocks 15 Partial parity for a write operation is the XOR of stripe data chunks not 17 write hole. XORing partial parity with the modified chunks produces parity for 20 this stripe is missing, this updated parity can be used to recover its 26 When handling a write request PPL writes partial parity before new data and 27 parity are dispatched to disks. PPL is a distributed log - it is stored on 28 array member drives in the metadata area, on the parity drive of a particular 37 performed for this stripe (parity is not updated). So it is possible to have
|
A D | raid5-cache.rst | 27 and parity don't match. The reason is that a stripe write involves several RAID 53 write. For non-full-stripe writes, MD must read old data before the new parity 83 ID for recovery identification. Data can be IO data and parity data. Data is 91 write-through mode, MD calculates parity for IO data, writes both IO data and 92 parity to the log, writes the data and parity to RAID disks after the data and 93 parity is settled down in log and finally the IO is finished. Read just reads 99 MD will calculate parity for the data and write parity into the log. After this 100 is finished, MD will write both data and parity into RAID disks, then MD can 107 data and data. If MD finds a stripe with data and valid parities (1 parity for
|
/linux-6.3-rc2/drivers/firmware/ |
A D | pcdp.c | 25 char parity; in setup_serial_console() local 33 switch (uart->parity) { in setup_serial_console() 34 case 0x2: parity = 'e'; break; in setup_serial_console() 35 case 0x3: parity = 'o'; break; in setup_serial_console() 36 default: parity = 'n'; in setup_serial_console() 38 p += sprintf(p, "%c%d", parity, uart->bits); in setup_serial_console()
|
/linux-6.3-rc2/drivers/tty/serial/ |
A D | max3100.c | 141 int parity; in max3100_do_parity() local 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() 234 s->port.icount.parity++; in max3100_handlerx() 484 parity &= ~MAX3100_7BIT; in max3100_set_termios() 487 parity |= MAX3100_7BIT; in max3100_set_termios() 530 s->parity = parity; in max3100_set_termios() [all …]
|
A D | 21285.c | 131 port->icount.parity++; in serial21285_rx_chars() 400 int *parity, int *bits) in serial21285_get_options() argument 423 *parity = 'o'; in serial21285_get_options() 425 *parity = 'e'; in serial21285_get_options() 439 int parity = 'n'; in serial21285_console_setup() local 448 uart_parse_options(options, &baud, &parity, &bits, &flow); in serial21285_console_setup() 450 serial21285_get_options(port, &baud, &parity, &bits); in serial21285_console_setup() 452 return uart_set_options(port, co, baud, parity, bits, flow); in serial21285_console_setup()
|
A D | apbuart.c | 95 port->icount.parity++; in apbuart_rx_chars() 426 int *parity, int *bits) in apbuart_console_get_options() argument 433 *parity = 'n'; in apbuart_console_get_options() 436 *parity = 'e'; in apbuart_console_get_options() 438 *parity = 'o'; in apbuart_console_get_options() 452 int parity = 'n'; in apbuart_console_setup() local 471 uart_parse_options(options, &baud, &parity, &bits, &flow); in apbuart_console_setup() 473 apbuart_console_get_options(port, &baud, &parity, &bits); in apbuart_console_setup() 475 return uart_set_options(port, co, baud, parity, bits, flow); in apbuart_console_setup()
|
A D | amba-pl010.c | 138 port->icount.parity++; in pl010_rx_chars() 575 int *parity, int *bits) in pl010_console_get_options() argument 581 *parity = 'n'; in pl010_console_get_options() 584 *parity = 'e'; in pl010_console_get_options() 586 *parity = 'o'; in pl010_console_get_options() 605 int parity = 'n'; in pl010_console_setup() local 627 uart_parse_options(options, &baud, &parity, &bits, &flow); in pl010_console_setup() 629 pl010_console_get_options(uap, &baud, &parity, &bits); in pl010_console_setup() 631 return uart_set_options(&uap->port, co, baud, parity, bits, flow); in pl010_console_setup()
|
/linux-6.3-rc2/drivers/mtd/ |
A D | ssfdc.c | 186 int parity; in get_parity() local 188 parity = 1; in get_parity() 190 parity += (number >> k); in get_parity() 191 parity &= 1; in get_parity() 193 return parity; in get_parity() 199 int block_address, parity; in get_logical_address() local 215 parity = block_address & 0x01; in get_logical_address() 219 if (get_parity(block_address, 10) != parity) { in get_logical_address()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A 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-6.3-rc2/Documentation/core-api/ |
A 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-6.3-rc2/drivers/input/serio/ |
A D | ams_delta_serio.c | 42 int i, parity = 0; in check_data() local 52 parity++; in check_data() 55 if (!(parity & 0x01)) { in check_data() 58 parity); in check_data()
|
/linux-6.3-rc2/drivers/scsi/pcmcia/ |
A D | aha152x_stub.c | 66 static int parity = 1; variable 73 module_param(parity, int, 0); 170 s.parity = parity; in aha152x_config_cs()
|
/linux-6.3-rc2/drivers/net/wan/ |
A D | hdlc_raw.c | 70 if (new_settings.parity == PARITY_DEFAULT) in raw_ioctl() 71 new_settings.parity = PARITY_CRC16_PR1_CCITT; in raw_ioctl() 74 new_settings.parity); in raw_ioctl()
|
A D | hdlc_raw_eth.c | 86 if (new_settings.parity == PARITY_DEFAULT) in raw_eth_ioctl() 87 new_settings.parity = PARITY_CRC16_PR1_CCITT; in raw_eth_ioctl() 90 new_settings.parity); in raw_eth_ioctl()
|
/linux-6.3-rc2/Documentation/admin-guide/device-mapper/ |
A D | dm-raid.rst | 22 raid4 RAID4 with dedicated last parity disk 29 - rotating parity 0 with data continuation 32 - rotating parity N with data continuation 35 - rotating parity 0 with data restart 38 - rotating parity N with data restart 41 - rotating parity zero (left-to-right) with data restart 44 - rotating parity N (right-to-left) with data restart 47 - rotating parity N (right-to-left) with data continuation 48 raid6_n_6 RAID6 with dedicate parity disks 50 - parity and Q-syndrome on the last 2 disks; [all …]
|
/linux-6.3-rc2/arch/powerpc/platforms/powernv/ |
A D | rng.c | 34 unsigned long parity; in rng_whiten() local 41 : "=r" (parity) : "r" (val)); in rng_whiten() 47 rng->mask = (rng->mask << 1) | (parity & 1); in rng_whiten()
|
/linux-6.3-rc2/arch/m68k/atari/ |
A D | debug.c | 169 int parity = (cflag & PARENB) ? ((cflag & PARODD) ? 0x04 : 0x06) : 0; in atari_init_mfp_port() local 179 st_mfp.usart_ctr = parity | csize | 0x88; /* 1:16 clk mode, 1 stop bit */ in atari_init_mfp_port() 268 int parity = (cflag & PARENB) ? ((cflag & PARODD) ? 0x0c : 0x08) : 0x04; in atari_init_midi_port() local 283 acia.mid_ctrl = div | csize | parity | in atari_init_midi_port()
|