Home
last modified time | relevance | path

Searched refs:parity (Results 1 – 200 of 247) sorted by relevance

12

/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
Daicasm_insformat.h55 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 …]
Daicasm_gram.y1680 f1_instr->parity = 1; in format_1_instr()
1817 f3_instr->parity = 1; in format_3_instr()
/linux-4.1.27/Documentation/mtd/
Dnand_ecc.txt28 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-4.1.27/arch/mips/mti-sead3/
Dsead3-init.c25 char parity = '\0', bits = '\0', flow = '\0'; in console_config() local
36 parity = *s++; in console_config()
48 if (parity != 'n' && parity != 'o' && parity != 'e') in console_config()
49 parity = 'n'; in console_config()
55 parity, bits, flow); in console_config()
/linux-4.1.27/arch/mips/mm/
Dcerr-sb1.c269 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-4.1.27/drivers/media/pci/mantis/
Dmantis_uart.c41 enum mantis_parity parity; member
56 } 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()
Dmantis_vp3028.c36 .parity = MANTIS_PARITY_NONE,
Dhopper_vp3028.c82 .parity = MANTIS_PARITY_NONE,
Dmantis_vp3030.c97 .parity = MANTIS_PARITY_NONE,
Dmantis_vp1034.c114 .parity = MANTIS_PARITY_NONE,
Dmantis_vp1033.c206 .parity = MANTIS_PARITY_NONE,
Dmantis_vp2040.c181 .parity = MANTIS_PARITY_NONE,
Dmantis_vp2033.c182 .parity = MANTIS_PARITY_NONE,
Dmantis_common.h92 enum mantis_parity parity; member
Dmantis_vp1041.c351 .parity = MANTIS_PARITY_NONE,
/linux-4.1.27/arch/mips/mti-malta/
Dmalta-init.c46 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-4.1.27/arch/mips/ar7/
Dprom.c203 char parity = '\0', bits = '\0', flow = '\0'; in console_config() local
216 parity = *s++; in console_config()
229 if (parity != 'n' && parity != 'o' && parity != 'e') in console_config()
230 parity = 'n'; in console_config()
236 parity, bits, flow); in console_config()
238 sprintf(console_string, " console=ttyS0,%d%c%c", baud, parity, in console_config()
/linux-4.1.27/drivers/firmware/
Dpcdp.c28 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()
Dpcdp.h41 u8 parity; member
/linux-4.1.27/drivers/tty/serial/
Dmax3100.c112 int parity; /* keeps track if we should send parity */ member
146 int parity; in max3100_do_parity() local
148 if (s->parity & MAX3100_PARITY_ODD) in max3100_do_parity()
149 parity = 1; in max3100_do_parity()
151 parity = 0; in max3100_do_parity()
153 if (s->parity & MAX3100_7BIT) in max3100_do_parity()
158 parity = parity ^ (hweight8(c) & 1); in max3100_do_parity()
159 return parity; in max3100_do_parity()
169 if (s->parity & MAX3100_7BIT) in max3100_calc_parity()
174 if (s->parity & MAX3100_PARITY_ON) in max3100_calc_parity()
[all …]
D21285.c95 port->icount.parity++; in serial21285_rx_chars()
386 int *parity, int *bits) in serial21285_get_options() argument
409 *parity = 'o'; in serial21285_get_options()
411 *parity = 'e'; in serial21285_get_options()
425 int parity = 'n'; in serial21285_console_setup() local
437 uart_parse_options(options, &baud, &parity, &bits, &flow); in serial21285_console_setup()
439 serial21285_get_options(port, &baud, &parity, &bits); in serial21285_console_setup()
441 return uart_set_options(port, co, baud, parity, bits, flow); in serial21285_console_setup()
Dapbuart.c98 port->icount.parity++; in apbuart_rx_chars()
455 int *parity, int *bits) in apbuart_console_get_options() argument
462 *parity = 'n'; in apbuart_console_get_options()
465 *parity = 'e'; in apbuart_console_get_options()
467 *parity = 'o'; in apbuart_console_get_options()
481 int parity = 'n'; in apbuart_console_setup() local
500 uart_parse_options(options, &baud, &parity, &bits, &flow); in apbuart_console_setup()
502 apbuart_console_get_options(port, &baud, &parity, &bits); in apbuart_console_setup()
504 return uart_set_options(port, co, baud, parity, bits, flow); in apbuart_console_setup()
Dserial_ks8695.c178 port->icount.parity++; in ks8695uart_rx_chars()
578 static void __init ks8695_console_get_options(struct uart_port *port, int *baud, int *parity, int *… in ks8695_console_get_options() argument
586 *parity = 'o'; in ks8695_console_get_options()
589 *parity = 'e'; in ks8695_console_get_options()
592 *parity = 'n'; in ks8695_console_get_options()
619 int parity = 'n'; in ks8695_console_setup() local
630 uart_parse_options(options, &baud, &parity, &bits, &flow); in ks8695_console_setup()
632 ks8695_console_get_options(port, &baud, &parity, &bits); in ks8695_console_setup()
634 return uart_set_options(port, co, baud, parity, bits, flow); in ks8695_console_setup()
Defm32-uart.c219 port->icount.parity++; in efm32_uart_rx_chars()
555 int *baud, int *parity, int *bits) in efm32_uart_console_get_options() argument
576 *parity = 'o'; in efm32_uart_console_get_options()
578 *parity = 'e'; in efm32_uart_console_get_options()
580 *parity = 'n'; in efm32_uart_console_get_options()
586 *baud, *parity, *bits); in efm32_uart_console_get_options()
594 int parity = 'n'; in efm32_uart_console_setup() local
626 uart_parse_options(options, &baud, &parity, &bits, &flow); in efm32_uart_console_setup()
629 &baud, &parity, &bits); in efm32_uart_console_setup()
631 return uart_set_options(&efm_port->port, co, baud, parity, bits, flow); in efm32_uart_console_setup()
Dnetx-serial.c217 port->icount.parity++; in netx_rxint()
552 int *parity, int *bits, int *flow) in netx_console_get_options() argument
565 *parity = 'n'; in netx_console_get_options()
568 *parity = 'e'; in netx_console_get_options()
570 *parity = 'o'; in netx_console_get_options()
598 int parity = 'n'; in netx_console_setup() local
611 uart_parse_options(options, &baud, &parity, &bits, &flow); in netx_console_setup()
618 &parity, &bits, &flow); in netx_console_setup()
623 return uart_set_options(&sport->port, co, baud, parity, bits, flow); in netx_console_setup()
Dsuncore.c90 char parity; in sunserial_console_termios() local
124 parity = *(++s); in sunserial_console_termios()
155 switch (parity) { in sunserial_console_termios()
Damba-pl010.c155 uap->port.icount.parity++; in pl010_rx_chars()
625 int *parity, int *bits) in pl010_console_get_options() argument
631 *parity = 'n'; in pl010_console_get_options()
634 *parity = 'e'; in pl010_console_get_options()
636 *parity = 'o'; in pl010_console_get_options()
655 int parity = 'n'; in pl010_console_setup() local
677 uart_parse_options(options, &baud, &parity, &bits, &flow); in pl010_console_setup()
679 pl010_console_get_options(uap, &baud, &parity, &bits); in pl010_console_setup()
681 return uart_set_options(&uap->port, co, baud, parity, bits, flow); in pl010_console_setup()
Dsa1100.c212 sport->port.icount.parity++; in sa1100_rx_chars()
750 int *parity, int *bits) in sa1100_console_get_options() argument
761 *parity = 'n'; in sa1100_console_get_options()
764 *parity = 'e'; in sa1100_console_get_options()
766 *parity = 'o'; in sa1100_console_get_options()
786 int parity = 'n'; in sa1100_console_setup() local
799 uart_parse_options(options, &baud, &parity, &bits, &flow); in sa1100_console_setup()
801 sa1100_console_get_options(sport, &baud, &parity, &bits); in sa1100_console_setup()
803 return uart_set_options(&sport->port, co, baud, parity, bits, flow); in sa1100_console_setup()
Dclps711x.c122 port->icount.parity++; in uart_clps711x_int_rx()
389 int baud = 38400, bits = 8, parity = 'n', flow = 'n'; in uart_clps711x_console_setup() local
414 parity = 'e'; in uart_clps711x_console_setup()
416 parity = 'o'; in uart_clps711x_console_setup()
426 uart_parse_options(options, &baud, &parity, &bits, &flow); in uart_clps711x_console_setup()
428 ret = uart_set_options(port, co, baud, parity, bits, flow); in uart_clps711x_console_setup()
Dbfin_uart.c291 uart->port.icount.parity++; in bfin_serial_rx_chars()
431 uart->port.icount.parity++; in bfin_serial_dma_rx_chars()
1043 int *parity, int *bits) in bfin_serial_console_get_options() argument
1054 *parity = 'n'; in bfin_serial_console_get_options()
1057 *parity = 'e'; in bfin_serial_console_get_options()
1059 *parity = 'o'; in bfin_serial_console_get_options()
1073 pr_debug("%s:baud = %d, parity = %c, bits= %d\n", __func__, *baud, *parity, *bits); in bfin_serial_console_get_options()
1112 int parity = 'n'; in bfin_serial_console_setup() local
1133 uart_parse_options(options, &baud, &parity, &bits, &flow); in bfin_serial_console_setup()
1135 bfin_serial_console_get_options(uart, &baud, &parity, &bits); in bfin_serial_console_setup()
[all …]
Dfsl_lpuart.c664 sport->port.icount.parity++; in lpuart_rxint()
728 sport->port.icount.parity++; in lpuart32_rxint()
1602 int *parity, int *bits) in lpuart_console_get_options() argument
1616 *parity = 'n'; in lpuart_console_get_options()
1619 *parity = 'o'; in lpuart_console_get_options()
1621 *parity = 'e'; in lpuart_console_get_options()
1651 int *parity, int *bits) in lpuart32_console_get_options() argument
1665 *parity = 'n'; in lpuart32_console_get_options()
1668 *parity = 'o'; in lpuart32_console_get_options()
1670 *parity = 'e'; in lpuart32_console_get_options()
[all …]
Dmxs-auart.c344 s->port.icount.parity++; in mxs_auart_rx_char()
1037 int *parity, int *bits) in auart_console_get_options() argument
1046 *parity = 'n'; in auart_console_get_options()
1049 *parity = 'e'; in auart_console_get_options()
1051 *parity = 'o'; in auart_console_get_options()
1077 int parity = 'n'; in auart_console_setup() local
1097 uart_parse_options(options, &baud, &parity, &bits, &flow); in auart_console_setup()
1099 auart_console_get_options(&s->port, &baud, &parity, &bits); in auart_console_setup()
1101 ret = uart_set_options(&s->port, co, baud, parity, bits, flow); in auart_console_setup()
Dpch_uart.c455 unsigned int parity, unsigned int bits, in pch_uart_hal_set_line() argument
470 if (parity & ~(PCH_UART_LCR_PEN | PCH_UART_LCR_EPS | PCH_UART_LCR_SP)) { in pch_uart_hal_set_line()
471 dev_err(priv->port.dev, "Invalid parity(0x%x)\n", parity); in pch_uart_hal_set_line()
485 lcr = parity; in pch_uart_hal_set_line()
1083 port->icount.parity++; in pch_uart_err_ir()
1390 unsigned int baud, parity, bits, stb; in pch_uart_set_termios() local
1416 parity = PCH_UART_HAL_PARITY_ODD; in pch_uart_set_termios()
1418 parity = PCH_UART_HAL_PARITY_EVEN; in pch_uart_set_termios()
1421 parity = PCH_UART_HAL_PARITY_NONE; in pch_uart_set_termios()
1437 rtn = pch_uart_hal_set_line(priv, baud, parity, bits, stb); in pch_uart_set_termios()
[all …]
Ddigicolor-usart.c157 port->icount.parity++; in digicolor_uart_rx()
422 int baud = 115200, bits = 8, parity = 'n', flow = 'n'; in digicolor_uart_console_setup() local
433 uart_parse_options(options, &baud, &parity, &bits, &flow); in digicolor_uart_console_setup()
435 return uart_set_options(port, co, baud, parity, bits, flow); in digicolor_uart_console_setup()
Daltera_uart.c213 port->icount.parity++; in altera_uart_rx_chars()
455 int parity = 'n'; in altera_uart_console_setup() local
465 uart_parse_options(options, &baud, &parity, &bits, &flow); in altera_uart_console_setup()
467 return uart_set_options(port, co, baud, parity, bits, flow); in altera_uart_console_setup()
Duartlite.c131 port->icount.parity++; in ulite_receive()
476 int parity = 'n'; in ulite_console_setup() local
497 uart_parse_options(options, &baud, &parity, &bits, &flow); in ulite_console_setup()
499 return uart_set_options(port, co, baud, parity, bits, flow); in ulite_console_setup()
Dmcf.c304 port->icount.parity++; in mcf_rx_chars()
554 int parity = 'n'; in mcf_console_setup() local
564 uart_parse_options(options, &baud, &parity, &bits, &flow); in mcf_console_setup()
566 return uart_set_options(port, co, baud, parity, bits, flow); in mcf_console_setup()
Dvt8500_serial.c191 port->icount.parity++; in handle_rx()
535 int parity = 'n'; in vt8500_console_setup() local
547 uart_parse_options(options, &baud, &parity, &bits, &flow); in vt8500_console_setup()
550 co, baud, parity, bits, flow); in vt8500_console_setup()
Dsprd_serial.c211 port->icount.parity++; in handle_lsr_errors()
567 int parity = 'n'; in sprd_console_setup() local
579 uart_parse_options(options, &baud, &parity, &bits, &flow); in sprd_console_setup()
581 return uart_set_options(port, co, baud, parity, bits, flow); in sprd_console_setup()
Dlantiq.c178 port->icount.parity++; in lqasc_rx_chars()
623 int parity = 'n'; in lqasc_console_setup() local
641 uart_parse_options(options, &baud, &parity, &bits, &flow); in lqasc_console_setup()
642 return uart_set_options(port, co, baud, parity, bits, flow); in lqasc_console_setup()
Darc_uart.c496 int parity = 'n'; in arc_serial_console_setup() local
511 uart_parse_options(options, &baud, &parity, &bits, &flow); in arc_serial_console_setup()
517 return uart_set_options(port, co, baud, parity, bits, flow); in arc_serial_console_setup()
Dmpc52xx_uart.c1404 port->icount.parity++; in mpc52xx_uart_int_rx_chars()
1534 int *baud, int *parity, int *bits, int *flow) in mpc52xx_console_get_options() argument
1563 *parity = 'n'; in mpc52xx_console_get_options()
1565 *parity = mr1 & MPC52xx_PSC_MODE_PARODD ? 'o' : 'e'; in mpc52xx_console_get_options()
1613 int parity = 'n'; in mpc52xx_console_setup() local
1663 uart_parse_options(options, &baud, &parity, &bits, &flow); in mpc52xx_console_setup()
1665 mpc52xx_console_get_options(port, &baud, &parity, &bits, &flow); in mpc52xx_console_setup()
1668 baud, bits, parity, flow); in mpc52xx_console_setup()
1670 return uart_set_options(port, co, baud, parity, bits, flow); in mpc52xx_console_setup()
Dpnx8xxx_uart.c214 sport->port.icount.parity++; in pnx8xxx_rx_chars()
730 int parity = 'n'; in pnx8xxx_console_setup() local
743 uart_parse_options(options, &baud, &parity, &bits, &flow); in pnx8xxx_console_setup()
745 return uart_set_options(&sport->port, co, baud, parity, bits, flow); in pnx8xxx_console_setup()
Dst-asc.c315 port->icount.parity++; in asc_receive_chars()
839 int parity = 'n'; in asc_console_setup() local
857 uart_parse_options(options, &baud, &parity, &bits, &flow); in asc_console_setup()
859 return uart_set_options(&ascport->port, co, baud, parity, bits, flow); in asc_console_setup()
Dbcm63xx_uart.c281 port->icount.parity++; in bcm_uart_do_rx()
737 int parity = 'n'; in bcm_console_setup() local
746 uart_parse_options(options, &baud, &parity, &bits, &flow); in bcm_console_setup()
748 return uart_set_options(port, co, baud, parity, bits, flow); in bcm_console_setup()
Ddz.c223 icount->parity++; in dz_receive_chars()
869 int parity = 'n'; in dz_console_setup() local
883 uart_parse_options(options, &baud, &parity, &bits, &flow); in dz_console_setup()
885 return uart_set_options(&dport->port, co, baud, parity, bits, flow); in dz_console_setup()
Dserial_core.c1152 icount->parity = cnow.parity; in uart_get_icount()
1704 if (uport->icount.parity) in uart_line_info()
1706 uport->icount.parity); in uart_line_info()
1871 uart_parse_options(char *options, int *baud, int *parity, int *bits, int *flow) in uart_parse_options() argument
1879 *parity = *s++; in uart_parse_options()
1918 int baud, int parity, int bits, int flow) in uart_set_options() argument
1953 switch (parity) { in uart_set_options()
2271 int parity = 'n'; in uart_poll_init() local
2299 uart_parse_options(options, &baud, &parity, &bits, &flow); in uart_poll_init()
2300 return uart_set_options(port, NULL, baud, parity, bits, flow); in uart_poll_init()
Dmeson_uart.c478 int parity = 'n'; in meson_serial_console_setup() local
489 uart_parse_options(options, &baud, &parity, &bits, &flow); in meson_serial_console_setup()
491 return uart_set_options(port, co, baud, parity, bits, flow); in meson_serial_console_setup()
Dimx.c672 sport->port.icount.parity++; in imx_rxint()
1683 int *parity, int *bits) in imx_console_get_options() argument
1694 *parity = 'n'; in imx_console_get_options()
1697 *parity = 'o'; in imx_console_get_options()
1699 *parity = 'e'; in imx_console_get_options()
1746 int parity = 'n'; in imx_console_setup() local
1767 uart_parse_options(options, &baud, &parity, &bits, &flow); in imx_console_setup()
1769 imx_console_get_options(sport, &baud, &parity, &bits); in imx_console_setup()
1773 retval = uart_set_options(&sport->port, co, baud, parity, bits, flow); in imx_console_setup()
Dsb1250-duart.c368 icount->parity++; in sbd_receive_chars()
880 int parity = 'n'; in sbd_console_setup() local
894 uart_parse_options(options, &baud, &parity, &bits, &flow); in sbd_console_setup()
895 return uart_set_options(uport, co, baud, parity, bits, flow); in sbd_console_setup()
Dpxa.c136 up->port.icount.parity++; in receive_chars()
736 int parity = 'n'; in serial_pxa_console_setup() local
746 uart_parse_options(options, &baud, &parity, &bits, &flow); in serial_pxa_console_setup()
748 return uart_set_options(&up->port, co, baud, parity, bits, flow); in serial_pxa_console_setup()
Dvr41xx_siu.c344 port->icount.parity++; in receive_chars()
789 int parity = 'n'; in siu_console_setup() local
807 uart_parse_options(options, &baud, &parity, &bits, &flow); in siu_console_setup()
809 return uart_set_options(port, con, baud, parity, bits, flow); in siu_console_setup()
Dar933x_uart.c585 int parity = 'n'; in ar933x_uart_console_setup() local
596 uart_parse_options(options, &baud, &parity, &bits, &flow); in ar933x_uart_console_setup()
598 return uart_set_options(&up->port, co, baud, parity, bits, flow); in ar933x_uart_console_setup()
Dlpc32xx_hs.c169 int parity = 'n'; in lpc32xx_hsuart_console_setup() local
180 uart_parse_options(options, &baud, &parity, &bits, &flow); in lpc32xx_hsuart_console_setup()
182 return uart_set_options(port, co, baud, parity, bits, flow); in lpc32xx_hsuart_console_setup()
Damba-pl011.c204 uap->port.icount.parity++; in pl011_fifo_to_tty()
2039 int *parity, int *bits) in pl011_console_get_options() argument
2046 *parity = 'n'; in pl011_console_get_options()
2049 *parity = 'e'; in pl011_console_get_options()
2051 *parity = 'o'; in pl011_console_get_options()
2077 int parity = 'n'; in pl011_console_setup() local
2110 uart_parse_options(options, &baud, &parity, &bits, &flow); in pl011_console_setup()
2112 pl011_console_get_options(uap, &baud, &parity, &bits); in pl011_console_setup()
2114 return uart_set_options(&uap->port, co, baud, parity, bits, flow); in pl011_console_setup()
Dm32r_sio.c337 up->port.icount.parity++; in receive_chars()
1056 int parity = 'n'; in m32r_sio_console_setup() local
1074 uart_parse_options(options, &baud, &parity, &bits, &flow); in m32r_sio_console_setup()
1076 return uart_set_options(port, co, baud, parity, bits, flow); in m32r_sio_console_setup()
Detraxfs-uart.c96 int parity = 'n'; in cris_console_setup() local
107 uart_parse_options(options, &baud, &parity, &bits, &flow); in cris_console_setup()
110 uart_set_options(port, co, baud, parity, bits, flow); in cris_console_setup()
554 icount->parity++; in receive_chars_no_dma()
Datmel_serial.c632 port->icount.parity++; in atmel_pdc_rxerr()
1353 port->icount.parity++; in atmel_rx_from_ring()
2374 int *parity, int *bits) in atmel_console_get_options() argument
2394 *parity = 'e'; in atmel_console_get_options()
2396 *parity = 'o'; in atmel_console_get_options()
2413 int parity = 'n'; in atmel_console_setup() local
2430 uart_parse_options(options, &baud, &parity, &bits, &flow); in atmel_console_setup()
2432 atmel_console_get_options(port, &baud, &parity, &bits); in atmel_console_setup()
2434 return uart_set_options(port, co, baud, parity, bits, flow); in atmel_console_setup()
Dsamsung.c2055 int *parity, int *bits) in s3c24xx_serial_get_options() argument
2092 *parity = 'e'; in s3c24xx_serial_get_options()
2096 *parity = 'o'; in s3c24xx_serial_get_options()
2101 *parity = 'n'; in s3c24xx_serial_get_options()
2127 int parity = 'n'; in s3c24xx_serial_console_setup() local
2155 uart_parse_options(options, &baud, &parity, &bits, &flow); in s3c24xx_serial_console_setup()
2157 s3c24xx_serial_get_options(port, &baud, &parity, &bits); in s3c24xx_serial_console_setup()
2161 return uart_set_options(port, co, baud, parity, bits, flow); in s3c24xx_serial_console_setup()
Dbfin_sport_uart.c618 int parity = 'n'; in sport_uart_console_setup() local
634 uart_parse_options(options, &baud, &parity, &bits, &flow); in sport_uart_console_setup()
636 return uart_set_options(&up->port, co, baud, parity, bits, flow); in sport_uart_console_setup()
Dip22zilog.c293 up->port.icount.parity++; in ip22zilog_receive_chars()
1035 int parity = 'n'; in ip22zilog_console_setup() local
1051 uart_parse_options(options, &baud, &parity, &bits, &flow); in ip22zilog_console_setup()
1052 return uart_set_options(&up->port, con, baud, parity, bits, flow); in ip22zilog_console_setup()
Dsccnxp.c377 port->icount.parity++; in sccnxp_handle_rx()
828 int baud = 9600, bits = 8, parity = 'n', flow = 'n'; in sccnxp_console_setup() local
831 uart_parse_options(options, &baud, &parity, &bits, &flow); in sccnxp_console_setup()
833 return uart_set_options(port, co, baud, parity, bits, flow); in sccnxp_console_setup()
Dserial_txx9.c305 up->port.icount.parity++; in receive_chars()
939 int parity = 'n'; in serial_txx9_console_setup() local
957 uart_parse_options(options, &baud, &parity, &bits, &flow); in serial_txx9_console_setup()
959 return uart_set_options(port, co, baud, parity, bits, flow); in serial_txx9_console_setup()
Dxilinx_uartps.c256 port->icount.parity++; in cdns_uart_isr()
1152 int parity = 'n'; in cdns_uart_console_setup() local
1165 uart_parse_options(options, &baud, &parity, &bits, &flow); in cdns_uart_console_setup()
1167 return uart_set_options(port, co, baud, parity, bits, flow); in cdns_uart_console_setup()
Dzs.c587 icount->parity++; in zs_receive_chars()
1201 int parity = 'n'; in zs_console_setup() local
1213 uart_parse_options(options, &baud, &parity, &bits, &flow); in zs_console_setup()
1214 return uart_set_options(uport, co, baud, parity, bits, flow); in zs_console_setup()
Dmsm_serial.c925 int parity = 'n'; in msm_console_setup() local
939 uart_parse_options(options, &baud, &parity, &bits, &flow); in msm_console_setup()
943 return uart_set_options(port, co, baud, parity, bits, flow); in msm_console_setup()
Dpmac_zilog.c298 uap->port.icount.parity++; in pmz_receive_chars()
2000 int parity = 'n'; in pmz_console_setup() local
2047 uart_parse_options(options, &baud, &parity, &bits, &flow); in pmz_console_setup()
2049 return uart_set_options(port, co, baud, parity, bits, flow); in pmz_console_setup()
Dsh-sci.c720 port->icount.parity++; in sci_receive_chars()
828 port->icount.parity++; in sci_handle_errors()
2402 int parity = 'n'; in serial_console_setup() local
2426 uart_parse_options(options, &baud, &parity, &bits, &flow); in serial_console_setup()
2428 return uart_set_options(port, co, baud, parity, bits, flow); in serial_console_setup()
Domap-serial.c540 up->port.icount.parity++; in serial_omap_rlsi()
1330 int parity = 'n'; in serial_omap_console_setup() local
1338 uart_parse_options(options, &baud, &parity, &bits, &flow); in serial_omap_console_setup()
1340 return uart_set_options(&up->port, co, baud, parity, bits, flow); in serial_omap_console_setup()
Dmpsc.c1774 int baud, bits, parity, flow; in mpsc_console_setup() local
1785 parity = pi->default_parity; in mpsc_console_setup()
1794 uart_parse_options(options, &baud, &parity, &bits, &flow); in mpsc_console_setup()
1796 return uart_set_options(&pi->port, co, baud, parity, bits, flow); in mpsc_console_setup()
Dsirfsoc_uart.c1197 unsigned int parity = 'n'; in sirfsoc_uart_console_setup() local
1213 uart_parse_options(options, &baud, &parity, &bits, &flow); in sirfsoc_uart_console_setup()
1219 return uart_set_options(port, co, baud, parity, bits, flow); in sirfsoc_uart_console_setup()
Dmen_z135_uart.c209 port->icount.parity++; in men_z135_handle_lsr()
Dcrisv10.c2255 info->icount.parity++; in handle_ser_rx_interrupt_no_dma()
2361 info->icount.parity++; in handle_ser_rx_interrupt()
4134 if (info->icount.parity) in seq_line_info()
4135 seq_printf(m, " pe:%lu", (unsigned long)info->icount.parity); in seq_line_info()
/linux-4.1.27/drivers/mtd/
Dssfdc.c189 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()
Dinftlcore.c481 unsigned char anac, nacs, parity; in INFTL_findwriteunit() local
596 parity = (nrbits(thisVUC, 16) & 0x1) ? 0x1 : 0; in INFTL_findwriteunit()
597 parity |= (nrbits(prev_block, 16) & 0x1) ? 0x2 : 0; in INFTL_findwriteunit()
598 parity |= (nrbits(anac, 8) & 0x1) ? 0x4 : 0; in INFTL_findwriteunit()
599 parity |= (nrbits(nacs, 8) & 0x1) ? 0x8 : 0; in INFTL_findwriteunit()
605 oob.u.a.parityPerField = parity; in INFTL_findwriteunit()
616 oob.u.b.parityPerField = parity; in INFTL_findwriteunit()
/linux-4.1.27/arch/x86/kernel/
Dbootflag.c22 static int __init parity(u8 v) in parity() function
41 if (!parity(v)) in sbf_write()
72 if (!parity(v)) in sbf_value_valid()
/linux-4.1.27/drivers/input/serio/
Dams_delta_serio.c42 int i, parity = 0; in check_data() local
54 parity++; in check_data()
57 if (!(parity & 0x01)) { in check_data()
60 data, parity); in check_data()
/linux-4.1.27/fs/exofs/
Dore.c55 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()
251 if (layout->parity && length) { in ore_get_rw_state()
252 unsigned data_devs = layout->group_width - layout->parity; in ore_get_rw_state()
263 num_raid_units = num_stripes * layout->parity; in ore_get_rw_state()
296 if (layout->parity) in ore_get_rw_state()
[all …]
Dore_raid.c44 unsigned parity; member
70 unsigned parity, struct __stripe_pages_2d **psp2d) in _sp2d_alloc() argument
73 unsigned data_devs = group_width - parity; in _sp2d_alloc()
136 sp2d->parity = parity; in _sp2d_alloc()
146 unsigned group_width = data_devs + sp2d->parity; in _sp2d_reset()
223 if (sp2d->parity == 1) in _gen_xor_unit()
235 if (sp2d->parity == 1) in _gen_xor_unit()
241 sp2d->data_devs + sp2d->parity, in _gen_xor_unit()
691 layout->parity, &ios->sp2d)) { in _ore_post_alloc_raid_stuff()
/linux-4.1.27/drivers/net/wan/
Dhdlc_raw.c73 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()
Dhdlc_raw_eth.c88 if (new_settings.parity == PARITY_DEFAULT) in raw_eth_ioctl()
89 new_settings.parity = PARITY_CRC16_PR1_CCITT; in raw_eth_ioctl()
92 new_settings.parity); in raw_eth_ioctl()
Dhd64572.c442 switch(port->parity) { in sca_open()
496 unsigned short parity) in sca_attach() argument
505 if (parity != PARITY_NONE && in sca_attach()
506 parity != PARITY_CRC16_PR0 && in sca_attach()
507 parity != PARITY_CRC16_PR1 && in sca_attach()
508 parity != PARITY_CRC32_PR1_CCITT && in sca_attach()
509 parity != PARITY_CRC16_PR1_CCITT) in sca_attach()
513 dev_to_port(dev)->parity = parity; in sca_attach()
Dhd64570.c478 switch(port->parity) { in sca_open()
543 unsigned short parity) in sca_attach() argument
552 if (parity != PARITY_NONE && in sca_attach()
553 parity != PARITY_CRC16_PR0 && in sca_attach()
554 parity != PARITY_CRC16_PR1 && in sca_attach()
555 parity != PARITY_CRC16_PR0_CCITT && in sca_attach()
556 parity != PARITY_CRC16_PR1_CCITT) in sca_attach()
560 dev_to_port(dev)->parity = parity; in sca_attach()
Dwanxl.c320 unsigned short parity) in wanxl_attach() argument
328 if (parity != PARITY_NONE && in wanxl_attach()
329 parity != PARITY_CRC32_PR1_CCITT && in wanxl_attach()
330 parity != PARITY_CRC16_PR1_CCITT && in wanxl_attach()
331 parity != PARITY_CRC32_PR0_CCITT && in wanxl_attach()
332 parity != PARITY_CRC16_PR0_CCITT) in wanxl_attach()
336 get_status(port)->parity = parity; in wanxl_attach()
Ddscc4.c236 unsigned short parity; member
939 dpriv->parity = PARITY_CRC16_PR0_CCITT; in dscc4_found1()
1446 i = dscc4_match(crc, dpriv->parity); in dscc4_crc_setting()
2006 unsigned short parity) in dscc4_hdlc_attach() argument
2017 if (parity != PARITY_NONE && in dscc4_hdlc_attach()
2018 parity != PARITY_CRC16_PR0_CCITT && in dscc4_hdlc_attach()
2019 parity != PARITY_CRC16_PR1_CCITT && in dscc4_hdlc_attach()
2020 parity != PARITY_CRC32_PR0_CCITT && in dscc4_hdlc_attach()
2021 parity != PARITY_CRC32_PR1_CCITT) in dscc4_hdlc_attach()
2025 dpriv->parity = parity; in dscc4_hdlc_attach()
Dhostess_sv11.c169 unsigned short parity) in hostess_attach() argument
171 if (encoding == ENCODING_NRZ && parity == PARITY_CRC16_PR1_CCITT) in hostess_attach()
Dsealevel.c167 unsigned short parity) in sealevel_attach() argument
169 if (encoding == ENCODING_NRZ && parity == PARITY_CRC16_PR1_CCITT) in sealevel_attach()
Dwanxl.h146 u32 parity; member
Dc101.c67 unsigned short parity; member
Dpci200syn.c75 unsigned short parity; member
Dpc300too.c87 unsigned short parity; member
Dn2.c105 unsigned short parity; member
Dcosa.c281 unsigned short parity);
628 unsigned short parity) in cosa_net_attach() argument
630 if (encoding == ENCODING_NRZ && parity == PARITY_CRC16_PR1_CCITT) in cosa_net_attach()
Dixp4xx_hss.c1167 unsigned short parity) in hss_hdlc_attach() argument
1174 switch(parity) { in hss_hdlc_attach()
/linux-4.1.27/drivers/scsi/pcmcia/
Daha152x_stub.c63 static int parity = 1; variable
70 module_param(parity, int, 0);
167 s.parity = parity; in aha152x_config_cs()
/linux-4.1.27/drivers/staging/skein/
Dthreefish_api.c10 u64 parity = KEY_SCHEDULE_CONST; in threefish_set_key() local
18 parity ^= key_data[i]; in threefish_set_key()
20 key_ctx->key[i] = parity; in threefish_set_key()
/linux-4.1.27/arch/ia64/include/asm/sn/
Dtioce.h338 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-4.1.27/arch/powerpc/platforms/powernv/
Drng.c45 unsigned long parity; in rng_whiten() local
48 asm ("popcntd %0,%1" : "=r" (parity) : "r" (val)); in rng_whiten()
54 rng->mask = (rng->mask << 1) | (parity & 1); in rng_whiten()
/linux-4.1.27/Documentation/device-mapper/
Ddm-raid.txt18 raid4 RAID4 dedicated parity disk
20 - rotating parity 0 with data continuation
22 - rotating parity N with data continuation
24 - rotating parity 0 with data restart
26 - rotating parity N with data restart
28 - rotating parity zero (left-to-right) with data restart
30 - rotating parity N (right-to-left) with data restart
32 - rotating parity N (right-to-left) with data continuation
130 # RAID4 - 4 data drives, 1 parity (no metadata devices)
139 # RAID4 - 4 data drives, 1 parity (with metadata devices)
[all …]
/linux-4.1.27/arch/blackfin/kernel/
Dearly_printk.c40 char parity; in earlyserial_init() local
75 parity = buf[0]; in earlyserial_init()
77 switch (parity) { in earlyserial_init()
/linux-4.1.27/arch/m68k/atari/
Ddebug.c169 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()
/linux-4.1.27/arch/cris/arch-v32/kernel/
Ddebugport.c21 unsigned char parity; member
134 if (p->parity == 'O') { in start_port()
139 } else if (p->parity == 'E') { in start_port()
/linux-4.1.27/drivers/usb/serial/
Dconsole.c63 int parity = 'n'; in usb_console_setup() local
79 parity = *s++; in usb_console_setup()
99 switch (parity) { in usb_console_setup()
Diuu_phoenix.c791 u32 *actual, u8 parity) in iuu_uart_baud() argument
844 switch (parity & 0x0F) { in iuu_uart_baud()
866 switch (parity & 0xF0) { in iuu_uart_baud()
895 u32 parity; in iuu_set_termios() local
906 parity = 0; in iuu_set_termios()
909 parity |= IUU_PARITY_SPACE; in iuu_set_termios()
911 parity |= IUU_PARITY_MARK; in iuu_set_termios()
913 parity |= IUU_PARITY_NONE; in iuu_set_termios()
916 parity |= IUU_PARITY_ODD; in iuu_set_termios()
918 parity |= IUU_PARITY_EVEN; in iuu_set_termios()
[all …]
Dmxuport.c423 port->icount.parity++; in mxuport_lsr_event()
854 u8 parity; in mxuport_set_termios() local
890 parity = MX_PARITY_MARK; in mxuport_set_termios()
892 parity = MX_PARITY_SPACE; in mxuport_set_termios()
895 parity = MX_PARITY_ODD; in mxuport_set_termios()
897 parity = MX_PARITY_EVEN; in mxuport_set_termios()
900 parity = MX_PARITY_NONE; in mxuport_set_termios()
910 buf[1] = parity; in mxuport_set_termios()
938 dev_dbg(&port->dev, "parity : %d\n", parity); in mxuport_set_termios()
Dwhiteheat.c697 port_settings.parity = WHITEHEAT_PAR_MARK; in firm_setup_port()
699 port_settings.parity = WHITEHEAT_PAR_SPACE; in firm_setup_port()
702 port_settings.parity = WHITEHEAT_PAR_ODD; in firm_setup_port()
704 port_settings.parity = WHITEHEAT_PAR_EVEN; in firm_setup_port()
706 port_settings.parity = WHITEHEAT_PAR_NONE; in firm_setup_port()
707 dev_dbg(dev, "%s - parity = %c\n", __func__, port_settings.parity); in firm_setup_port()
Dkeyspan_usa28msg.h111 u8 parity, // 1=use parity, 0=don't member
Dwhiteheat.h98 __u8 parity; /* see WHITEHEAT_PAR_* above */ member
Dgeneric.c531 icount->parity = cnow.parity; in usb_serial_generic_get_icount()
Dssu100.c484 port->icount.parity++; in ssu100_update_lsr()
Df81232.c314 port->icount.parity++; in f81232_process_read_urb()
Dark3116.c552 port->icount.parity++; in ark3116_update_lsr()
/linux-4.1.27/drivers/scsi/
Daha152x.h270 unsigned parity:1; /* SCSI-parity: 1=enabled 0=disabled */ member
275 #define cf_parity fields.parity
322 int parity; member
Daha152x.c349 static int parity[] = {1, 1}; variable
350 module_param_array(parity, int, NULL, 0);
351 MODULE_PARM_DESC(parity,"use scsi parity");
456 int parity; /* parity checking enabled */ member
558 #define PARITY (HOSTDATA(shpnt)->parity)
754 PARITY = setup->parity; in aha152x_probe_one()
3063 if ((setup->parity < 0) || (setup->parity > 1)) in checksetup()
3110 override.parity, in aha152x_init()
3131 override.parity, in aha152x_init()
3149 setup[setup_count].parity = aha152x[4]; in aha152x_init()
[all …]
DBusLogic.h441 bool parity:1; /* Byte 0 Bit 1 */ member
571 bool parity:1; /* Byte 15 Bit 1 */ member
967 bool parity:1; /* Byte 20 Bit 0 */ member
1012 bool parity:1; member
DBusLogic.c1378 adapter->parity = fpinfo->parity; in blogic_rdconfig()
1619 adapter->parity = autoscsi.parity; in blogic_rdconfig()
1657 adapter->parity = setupinfo.parity; in blogic_rdconfig()
1867 adapter, (adapter->parity ? "Enabled" : "Disabled"), in blogic_reportconfig()
/linux-4.1.27/arch/cris/arch-v10/kernel/
Ddebugport.c37 unsigned char parity; member
228 if (p->parity == 'E') { in start_port()
235 } else if (p->parity == 'O') { in start_port()
386 port->parity = 'N'; in console_setup()
392 if (*s) port->parity = *s++; in console_setup()
/linux-4.1.27/Documentation/devicetree/bindings/
Dchosen.txt32 <baud>{<parity>{<bits>{<flow>}}}
37 parity - 'n' (none), 'o', (odd) or 'e' (even)
Dxilinx.txt85 xlnx,odd-parity = <0>;
86 xlnx,use-parity = <0>;
/linux-4.1.27/arch/mips/include/asm/netlogic/xlp-hal/
Duart.h156 int parity, int int_en, int loopback) in nlm_uart_init() argument
173 lcr |= parity << 3; in nlm_uart_init()
/linux-4.1.27/drivers/usb/storage/
Dalauda.c224 static unsigned char parity[256]; variable
231 parity[0] = 0; in nand_init_ecc()
233 parity[i] = (parity[i&(i-1)] ^ 1); in nand_init_ecc()
247 ecc2[i] = ~(a ^ (a<<1) ^ (parity[i] ? 0xa8 : 0)); in nand_init_ecc()
260 bit = parity[data[i]]; in nand_compute_ecc()
268 ecc[0] = ~(a ^ (a<<1) ^ (parity[par] ? 0xaa : 0)); in nand_compute_ecc()
271 ecc[1] = ~(a ^ (a<<1) ^ (parity[par] ? 0xaa : 0)); in nand_compute_ecc()
634 if (parity[data[6] ^ data[7]]) { in alauda_read_map()
854 if (parity[MSB_of(lbap) ^ LSB_of(lbap)]) in alauda_write_lba()
Dsddr09.c193 static unsigned char parity[256]; variable
199 parity[0] = 0; in nand_init_ecc()
201 parity[i] = (parity[i&(i-1)] ^ 1); in nand_init_ecc()
215 ecc2[i] = ~(a ^ (a<<1) ^ (parity[i] ? 0xa8 : 0)); in nand_init_ecc()
227 bit = parity[data[i]]; in nand_compute_ecc()
235 ecc[0] = ~(a ^ (a<<1) ^ (parity[par] ? 0xaa : 0)); in nand_compute_ecc()
238 ecc[1] = ~(a ^ (a<<1) ^ (parity[par] ? 0xaa : 0)); in nand_compute_ecc()
872 if (parity[MSB_of(lbap) ^ LSB_of(lbap)]) in sddr09_write_lba()
1313 if (parity[ptr[6] ^ ptr[7]]) { in sddr09_read_map()
/linux-4.1.27/include/linux/
Dserial.h22 __u32 frame, parity, overrun, brk; member
Dsynclink.h32 unsigned char parity; member
Dserial_core.h109 __u32 parity; member
364 void uart_parse_options(char *options, int *baud, int *parity, int *bits,
367 int parity, int bits, int flow);
Dtc.h57 s32 parity; /* System module supports TC parity. */ member
Dhdlc.h41 unsigned short encoding, unsigned short parity);
Dcyclades.h105 __u32 frame, parity, overrun, brk; member
/linux-4.1.27/Documentation/input/
Delantech.txt116 Turns parity checking ON or OFF.
118 By echoing "0" to this file parity checking will be turned OFF. Any
123 calculating a parity bit for the last 3 bytes of each packet. The driver
127 Hardware version 2 does not provide the same parity bits. Only some basic
206 P: 1 = enable parity checking for relative mode
249 some models have M as byte 3 odd parity bit
250 when parity checking is enabled (reg_11, P = 1):
251 p1..p2 = byte 1 and 2 odd parity bit
268 parity checking enabled (reg_11, P = 1):
313 p1..p3 = byte 1..3 odd parity bit
[all …]
/linux-4.1.27/include/uapi/linux/
Dsynclink.h167 unsigned char parity; /* none, even, or odd */ member
214 __u32 frame, parity, overrun, brk; member
Dserial.h103 int frame, overrun, parity, brk; member
/linux-4.1.27/drivers/md/
DKconfig134 contain data sectors, and one drive contains the parity protection.
135 For a RAID-4 set, the parity blocks are present on a single drive,
136 while a RAID-5 set distributes the parity across the drives in one
137 of the available parity distribution methods.
145 in one of the available parity distribution methods.
357 contain data sectors, and one drive contains the parity protection.
358 For a RAID-4 set, the parity blocks are present on a single drive,
359 while a RAID-5 set distributes the parity across the drives in one
360 of the available parity distribution methods.
368 in one of the available parity distribution methods.
/linux-4.1.27/include/uapi/linux/hdlc/
Dioctl.h54 unsigned short parity; member
/linux-4.1.27/include/uapi/linux/dvb/
Dca.h72 unsigned int parity; /* 0 == even, 1 == odd */ member
/linux-4.1.27/Documentation/frv/
Dbooting.txt86 (*) console=ttyS<x>[,<baud>[<parity>[<bits>[<flow>]]]]
93 <parity> is a parity setting of "N", "O", "E", "M" or "S" for None, Odd,
106 To use the first on-chip serial port at baud rate 115200, no parity, 8
/linux-4.1.27/fs/ocfs2/
Dblockcheck.c107 u32 ocfs2_hamming_encode(u32 parity, void *data, unsigned int d, unsigned int nr) in ocfs2_hamming_encode() argument
146 parity ^= b; in ocfs2_hamming_encode()
151 return parity; in ocfs2_hamming_encode()
Dblockcheck.h88 u32 ocfs2_hamming_encode(u32 parity, void *data, unsigned int d,
/linux-4.1.27/drivers/media/pci/saa7134/
Dsaa7134-input.c358 unsigned int start = 0,parity = 0,code = 0; in get_key_pinnacle() local
369 parity=b[(start+parity_offset) % 4]; in get_key_pinnacle()
374 if (parity == 0) in get_key_pinnacle()
378 if (ir->old == parity) in get_key_pinnacle()
381 ir->old = parity; in get_key_pinnacle()
/linux-4.1.27/Documentation/scsi/
Daic7xxx.txt139 - Correct code that disables PCI parity error checking.
168 - Dynamically disable PCI parity error reporting after
171 with bad parity. Once the user has been informed of the
181 - Add ability to disable PCI parity error checking.
221 Definition: Toggles the detection of PCI parity errors.
223 PCI parity is not generated correctly on the
225 differentiate between these "spurious" parity
226 errors and real parity errors. The symptom of
Daha152x.txt23 PARITY enable parity checking (0/1; default 1 [on])
88 parity=PAR0[PAR1]
89 use parity for first and second controller
Dncr53c8xx.txt34 10.2.1 Master parity checking
35 10.2.2 Scsi parity checking
149 SCSI parity checking
150 Master parity checking
309 The driver supports SCSI parity checking and PCI bus master parity
312 problems with parity. You can disable either PCI parity or SCSI parity
667 10.2.1 Master parity checking
671 10.2.2 Scsi parity checking
858 master parity disabled mpar:n
859 scsi parity enabled spar:y
[all …]
Dsym53c8xx_2.txt119 SCSI parity checking
120 PCI Master parity checking
280 The driver supports SCSI parity checking and PCI bus master parity
283 with parity. The options to defeat parity checking have been removed
630 Data parity error detected on the PCI BUS.
654 SCSI parity error detected.
713 SCSI parity checking Y Y
832 0x00000010 parity enable
941 | | | | | | | | ----- parity check 0 - off
DChangeLog.sym53c8xx6 hardwares that fail PCI parity checking.
160 chips will check parity in some special circumstances.
161 This will cause a parity error interrupt if not in
227 errors (unrecovered parity error, data overrun, etc ...)
434 - Major rewrite of the SCSI parity error handling.
/linux-4.1.27/Documentation/
Dserial-console.txt23 defines the baudrate/parity/bits/flow control of
25 speed, P is parity (n/o/e), N is number of bits,
68 serial = 1,9600n8 (ttyS1, 9600 bd, no parity, 8 bits)
Dedac.txt74 the vendor should tie the parity status bits to 0 if they do not intend
75 to generate parity. Some vendors do not do this, and thus the parity bit
80 PCI parity/error scanning is skipped for that device. The attribute
417 for any parity error regardless of whether Parity is enabled on the
418 device. (The spec indicates parity is generated in some cases).
420 looked at to see if parity occurred on the bus on the other side of
449 This attribute file will display the number of parity errors that
519 This control files enables or disables panicking when a parity
708 bit 2 - parity
Dmd.txt59 'dirty' means that the parity cannot be trusted, and the fact that it
61 be reconstructed (due to no parity).
105 can create appropriate redundancy (copying in raid1, parity
/linux-4.1.27/drivers/input/mouse/
Delantech.h143 unsigned char parity[256]; member
Delantech.c696 return etd->parity[packet[1]] == p1 && in elantech_packet_check_v1()
697 etd->parity[packet[2]] == p2 && in elantech_packet_check_v1()
698 etd->parity[packet[3]] == p3; in elantech_packet_check_v1()
1620 etd->parity[0] = 1; in elantech_init()
1622 etd->parity[i] = etd->parity[i & (i - 1)] ^ 1; in elantech_init()
/linux-4.1.27/drivers/media/i2c/
Dsaa7115.c732 unsigned char parity; in saa711x_decode_wss() local
744 parity = wss & 15; in saa711x_decode_wss()
745 parity ^= parity >> 2; in saa711x_decode_wss()
746 parity ^= parity >> 1; in saa711x_decode_wss()
748 if (!(parity & 1)) in saa711x_decode_wss()
/linux-4.1.27/Documentation/serial/
Ddriver215 Change the port parameters, including word length, parity, stop
221 PARENB - parity enable
222 PARODD - odd parity (when PARENB is in force)
230 INPCK - enable frame and parity error events to be
236 IGNPAR - ignore parity and framing errors
239 The interaction of the iflag bits is as follows (parity error
353 number of bits, parity, stop bits and baud rate.
/linux-4.1.27/lib/raid6/
Dint.uc91 p = dptr[z0+1]; /* XOR parity */
120 p = dptr[disks-2]; /* XOR parity */
Dtilegx.uc61 p = (u64 *)dptr[z0+1]; /* XOR parity */
Dneon.uc62 p = dptr[z0+1]; /* XOR parity */
Daltivec.uc78 p = dptr[z0+1]; /* XOR parity */
/linux-4.1.27/net/bluetooth/rfcomm/
Dcore.c101 #define __rpn_line_settings(data, stop, parity) ((data & 0x3) | ((stop & 0x1) << 2) | ((parity & 0… argument
964 u8 parity, u8 flow_ctrl_settings, in rfcomm_send_rpn() argument
974 s, cr, dlci, bit_rate, data_bits, stop_bits, parity, in rfcomm_send_rpn()
989 rpn->line_settings = __rpn_line_settings(data_bits, stop_bits, parity); in rfcomm_send_rpn()
1458 u8 parity = 0; in rfcomm_recv_rpn() local
1476 parity = RFCOMM_RPN_PARITY_NONE; in rfcomm_recv_rpn()
1514 parity = __get_rpn_parity(rpn->line_settings); in rfcomm_recv_rpn()
1515 if (parity != RFCOMM_RPN_PARITY_NONE) { in rfcomm_recv_rpn()
1516 BT_DBG("RPN parity mismatch 0x%x", parity); in rfcomm_recv_rpn()
1517 parity = RFCOMM_RPN_PARITY_NONE; in rfcomm_recv_rpn()
[all …]
Dtty.c876 u8 baud, data_bits, stop_bits, parity, x_on, x_off; in rfcomm_tty_set_termios() local
901 parity = RFCOMM_RPN_PARITY_ODD; in rfcomm_tty_set_termios()
904 parity = RFCOMM_RPN_PARITY_EVEN; in rfcomm_tty_set_termios()
908 parity = RFCOMM_RPN_PARITY_NONE; in rfcomm_tty_set_termios()
1005 data_bits, stop_bits, parity, in rfcomm_tty_set_termios()
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-pko-defs.h2289 uint64_t parity:1; member
2291 uint64_t parity:1;
2302 uint64_t parity:1; member
2304 uint64_t parity:1;
2317 uint64_t parity:1; member
2319 uint64_t parity:1;
2480 uint64_t parity:1; member
2482 uint64_t parity:1;
2493 uint64_t parity:1; member
2495 uint64_t parity:1;
[all …]
/linux-4.1.27/drivers/net/wireless/b43/
Ddma.c690 bool parity = ring->dev->dma.parity; in dmacontroller_setup() local
704 if (!parity) in dmacontroller_setup()
717 if (!parity) in dmacontroller_setup()
736 if (!parity) in dmacontroller_setup()
752 if (!parity) in dmacontroller_setup()
1141 dma->parity = true; in b43_dma_init()
1145 dma->parity = false; in b43_dma_init()
Db43.h669 bool parity; /* Check for parity */ member
/linux-4.1.27/drivers/media/pci/ttpci/
Dav7110_ca.c316 if (descr->index >= 16 || descr->parity > 1) { in dvb_ca_ioctl()
321 (descr->index<<8)|descr->parity, in dvb_ca_ioctl()
/linux-4.1.27/net/irda/ircomm/
Dircomm_tty_ioctl.c400 put_user(cnow.parity, &p_cuser->parity) || in ircomm_tty_ioctl()
/linux-4.1.27/drivers/acpi/acpica/
Drsserial.c425 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.uart_serial_bus.parity),
426 AML_OFFSET(uart_serial_bus.parity),
Damlresrc.h394 u8 parity; member
Drsdumpinfo.c392 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(uart_serial_bus.parity), "Parity",
/linux-4.1.27/include/scsi/
Dosd_ore.h44 unsigned parity; member
/linux-4.1.27/Documentation/networking/
Dgeneric-hdlc.txt66 no-parity / crc16 / crc16-pr0 (CRC16 with preset zeros) / crc32-itu
67 crc16-itu (CRC16 with ITU-T polynomial) / crc16-itu-pr0 - sets parity
/linux-4.1.27/drivers/char/pcmcia/
Dsynclink_cs.c929 icount->parity++; in rx_ready_async()
953 icount->parity,icount->frame,icount->overrun); in rx_ready_async()
1437 info->params.parity = ASYNC_PARITY_NONE; in mgslpc_change_params()
1440 info->params.parity = ASYNC_PARITY_ODD; in mgslpc_change_params()
1442 info->params.parity = ASYNC_PARITY_EVEN; in mgslpc_change_params()
1445 info->params.parity = ASYNC_PARITY_SPACE; in mgslpc_change_params()
2217 icount->parity = cnow.parity; in mgslpc_get_icount()
2608 if (info->icount.parity) in line_info()
2609 seq_printf(m, " pe:%d", info->icount.parity); in line_info()
3526 if (info->params.parity != ASYNC_PARITY_NONE) in async_mode()
[all …]
/linux-4.1.27/drivers/scsi/isci/
Dphy.h135 u32 parity:1; member
/linux-4.1.27/drivers/tty/
Damiserial.c294 icount->parity++; in receive_chars()
1237 icount->parity = cnow.parity; in rs_get_icount()
1583 if (state->icount.parity) in line_info()
1584 seq_printf(m, " pe:%d", state->icount.parity); in line_info()
1723 state->icount.frame = state->icount.parity = 0; in amiga_serial_probe()
Dsynclink_gt.c370 .parity = ASYNC_PARITY_NONE
1132 icount->parity = cnow.parity; in get_icount()
1161 tmp_params.parity = info->params.parity; in get_params32()
1191 info->params.parity = tmp_params.parity; in set_params32()
1302 if (info->icount.parity) in line_info()
1303 seq_printf(m, " pe:%d", info->icount.parity); in line_info()
1445 unsigned short parity) in hdlcdev_attach() argument
1467 switch (parity) in hdlcdev_attach()
1884 icount->parity++; in rx_async()
2571 info->params.parity = (cflag & PARODD) ? ASYNC_PARITY_ODD : ASYNC_PARITY_EVEN; in change_params()
[all …]
Dsynclink.c1481 icount->parity++; in mgsl_isr_receive_data()
1519 icount->parity,icount->frame,icount->overrun); in mgsl_isr_receive_data()
1938 info->params.parity = ASYNC_PARITY_NONE; in mgsl_change_params()
1941 info->params.parity = ASYNC_PARITY_ODD; in mgsl_change_params()
1943 info->params.parity = ASYNC_PARITY_EVEN; in mgsl_change_params()
1946 info->params.parity = ASYNC_PARITY_SPACE; in mgsl_change_params()
2945 icount->parity = cnow.parity; in msgl_get_icount()
3513 if (info->icount.parity) in line_info()
3514 seq_printf(m, " pe:%d", info->icount.parity); in line_info()
5926 if ( info->params.parity != ASYNC_PARITY_NONE ) { in usc_set_async_mode()
[all …]
Dsynclinkmp.c1340 icount->parity = cnow.parity; in get_icount()
1406 if (info->icount.parity) in line_info()
1407 seq_printf(m, " pe:%d", info->icount.parity); in line_info()
1561 unsigned short parity) in hdlcdev_attach() argument
1581 switch (parity) in hdlcdev_attach()
2188 icount->parity++; in isr_rxrdy()
2221 icount->rx,icount->brk,icount->parity, in isr_rxrdy()
2795 info->params.parity = ASYNC_PARITY_NONE; in change_params()
2798 info->params.parity = ASYNC_PARITY_ODD; in change_params()
2800 info->params.parity = ASYNC_PARITY_EVEN; in change_params()
[all …]
Dmxser.c216 int parity[32]; member
1609 me->parity[p] = cflag & (PARENB | PARODD | in mxser_ioctl_special()
1840 icount->parity = cnow.parity; in mxser_get_icount()
2122 port->icount.parity++; in mxser_receive_chars()
/linux-4.1.27/drivers/mmc/card/
Dsdio_uart.c63 __u32 parity; member
396 port->icount.parity++; in sdio_uart_receive_chars()
984 if (port->icount.parity) in sdio_uart_proc_show()
986 port->icount.parity); in sdio_uart_proc_show()
/linux-4.1.27/Documentation/arm/SA1100/
DItsy32 8-bit data, no parity, 1 stop bit(s), 115200.00 b/s. in the monitor, in the
/linux-4.1.27/drivers/tc/
Dtc.c162 tc_bus.info.parity ? "" : "out"); in tc_init()
/linux-4.1.27/Documentation/filesystems/
Dntfs.txt246 mirrors, i.e. raid level 1 should not work, too. Stripes with parity, i.e.
388 stripes with parity, i.e. raid level 5, should not work, too.
412 mirrors, change it to "raid-level 1", and for stripe sets with parity, change
415 Note for stripe sets with parity you will also need to tell the MD driver
416 which parity algorithm to use by specifying the option "parity-algorithm
/linux-4.1.27/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c338 port->icount.parity++; in cpm_uart_int_rx()
1299 int parity = 'n'; in cpm_uart_console_setup() local
1337 uart_parse_options(options, &baud, &parity, &bits, &flow); in cpm_uart_console_setup()
1367 uart_set_options(port, co, baud, parity, bits, flow); in cpm_uart_console_setup()
/linux-4.1.27/arch/mips/include/asm/mach-cavium-octeon/
Dkernel-entry-init.h72 # Zero all of CVMSEG to make sure parity is correct
/linux-4.1.27/Documentation/usb/
Diuu_phoenix.txt72 is an abstraction, so use any speed or parity setting will
Dusb-serial.txt162 parity, 7 vs 8 bits per char, 1 or 2 stop bits
179 character settings. Other character lengths and parity setups are
241 $PSRF100,<protocol>,<baud>,<databits>,<stopbits>,<parity>*CHECKSUM
/linux-4.1.27/drivers/mtd/nand/
Ddiskonchip.c144 uint8_t parity; in doc_ecc_decode() local
153 parity = ecc[1]; in doc_ecc_decode()
202 parity ^= val; in doc_ecc_decode()
212 parity ^= val; in doc_ecc_decode()
219 return parity ? -EBADMSG : nerr; in doc_ecc_decode()
/linux-4.1.27/arch/mn10300/kernel/
Dmn10300-serial.c633 icount->parity++; in mn10300_serial_receive_interrupt()
1668 int i, parity = 'n', baud = 9600, bits = 8, flow = 0; in mn10300_serial_console_setup() local
1694 uart_parse_options(options, &baud, &parity, &bits, &flow); in mn10300_serial_console_setup()
1696 return uart_set_options(&port->uart, co, baud, parity, bits, flow); in mn10300_serial_console_setup()
/linux-4.1.27/include/net/bluetooth/
Drfcomm.h229 u8 parity, u8 flow_ctrl_settings,
/linux-4.1.27/Documentation/acpi/apei/
Doutput_format.txt80 target abort | parity error | watchdog timeout | invalid address | \
/linux-4.1.27/include/acpi/
Dacrestyp.h486 u8 parity; member
Dactbl2.h1010 u8 parity; member
/linux-4.1.27/arch/microblaze/boot/dts/
Dsystem.dts310 xlnx,odd-parity = <0x0>;
311 xlnx,use-parity = <0x0>;
/linux-4.1.27/fs/btrfs/
Draid56.c2362 void *parity; in finish_parity_scrub() local
2390 parity = kmap(p); in finish_parity_scrub()
2391 if (memcmp(parity, pointers[rbio->scrubp], PAGE_CACHE_SIZE)) in finish_parity_scrub()
2392 memcpy(parity, pointers[rbio->scrubp], PAGE_CACHE_SIZE); in finish_parity_scrub()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h1215 u64 *parity);
1217 u64 *parity);
/linux-4.1.27/arch/blackfin/mach-bf609/
DKconfig21 bool "Enable L1 parity check"
24 Enable the L1 parity check in L1 sram. A fault event is raised
25 when L1 parity error is found.
/linux-4.1.27/drivers/usb/class/
Dcdc-acm.c342 acm->iocount.parity++; in acm_ctrl_irq()
935 icount.parity = acm->iocount.parity; in get_serial_usage()
/linux-4.1.27/drivers/net/usb/
Dhso.c1524 icount->parity++; in tiocmget_intr_callback()
1527 icount->parity++; in tiocmget_intr_callback()
1635 icount->parity = cnow.parity; in hso_get_count()
/linux-4.1.27/fs/nfs/objlayout/
Dobjio_osd.c572 (layout->group_width - layout->parity); in aligned_on_raid_stripe()
/linux-4.1.27/Documentation/dmaengine/
Dprovider.txt167 - The device is able to perform parity check using the XOR
175 - The device is able to perform parity check using RAID6 P+Q
/linux-4.1.27/lib/
Dbch.c281 static inline int parity(unsigned int x) in parity() function
497 tmp |= parity(mask) << (m-r); in solve_linear_system()
/linux-4.1.27/drivers/ipack/devices/
Dipoctal.c145 icount->parity = channel->stats.parity_err; in ipoctal_get_icount()
/linux-4.1.27/Documentation/crypto/
Dasync-tx-api.txt37 xor-parity-calculations of the md-raid5 driver using the offload engines
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic7xxx.seq613 /* XXX Watch for ATN or parity errors??? */
700 * parity problems.
1617 * Perhaps there was a parity error on this last message byte.
1701 * Perhaps there was a parity error on this last message byte
1980 * If there is a parity error, wait for the kernel to
2111 * If there is a parity error, wait for the kernel to
/linux-4.1.27/drivers/tty/serial/8250/
D8250_core.c1514 port->icount.parity++; in serial8250_rx_chars()
3462 int parity = 'n'; in serial8250_console_setup() local
3469 uart_parse_options(options, &baud, &parity, &bits, &flow); in serial8250_console_setup()
3473 return uart_set_options(port, port->cons, baud, parity, bits, flow); in serial8250_console_setup()

12