/linux-master/drivers/nfc/s3fwrn5/ |
H A D | firmware.h | 89 char parity; member in struct:s3fwrn5_fw_info
|
/linux-master/fs/ocfs2/ |
H A D | blockcheck.h | 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); 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.
|
H A D | blockcheck.c | 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. 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 73 * would be _if_ it were bumped up by the parity bit. Capice? 92 * parity = ocfs2_hamming_encode(0, buf1, 512 * 8, 0); 93 * parity = ocfs2_hamming_encode(parity, buf 97 ocfs2_hamming_encode(u32 parity, void *data, unsigned int d, unsigned int nr) argument [all...] |
/linux-master/drivers/tty/serial/ |
H A D | amba-pl010.c | 139 port->icount.parity++; 410 * If we're ignoring parity and break indicators, 576 int *parity, int *bits) 582 *parity = 'n'; 585 *parity = 'e'; 587 *parity = 'o'; 606 int parity = 'n'; local 628 uart_parse_options(options, &baud, &parity, &bits, &flow); 630 pl010_console_get_options(uap, &baud, &parity, &bits); 632 return uart_set_options(&uap->port, co, baud, parity, bit 575 pl010_console_get_options(struct uart_amba_port *uap, int *baud, int *parity, int *bits) argument [all...] |
H A D | clps711x.c | 115 port->icount.parity++; 381 int baud = 38400, bits = 8, parity = 'n', flow = 'n'; local 406 parity = 'e'; 408 parity = 'o'; 418 uart_parse_options(options, &baud, &parity, &bits, &flow); 420 ret = uart_set_options(port, co, baud, parity, bits, flow);
|
H A D | sa1100.c | 201 sport->port.icount.parity++; 448 * If we're ignoring parity and break indicators, 473 /* set the parity, stop bits and data size */ 717 int *parity, int *bits) 728 *parity = 'n'; 731 *parity = 'e'; 733 *parity = 'o'; 753 int parity = 'n'; local 766 uart_parse_options(options, &baud, &parity, &bits, &flow); 768 sa1100_console_get_options(sport, &baud, &parity, 716 sa1100_console_get_options(struct sa1100_port *sport, int *baud, int *parity, int *bits) argument [all...] |
H A D | fsl_linflexuart.c | 255 sport->icount.parity++; 346 * PCE = 0x0; - No parity 462 /* parity must be enabled when CS7 to match 8-bits format */ 498 * if we're ignoring parity and break indicators, 665 linflex_console_get_options(struct uart_port *sport, int *parity, int *bits) argument 677 *parity = 'n'; 680 *parity = 'o'; 682 *parity = 'e'; 698 int parity = 'n'; local 716 uart_parse_options(options, &baud, &parity, [all...] |
/linux-master/drivers/media/pci/mantis/ |
H A D | mantis_vp1034.c | 102 .parity = MANTIS_PARITY_NONE,
|
/linux-master/drivers/input/mouse/ |
H A D | elantech.h | 186 unsigned char parity[256]; member in struct:elantech_data
|
/linux-master/include/uapi/linux/ |
H A D | serial.h | 106 int frame, overrun, parity, brk; member in struct:serial_icounter_struct
|
H A D | synclink.h | 168 unsigned char parity; /* none, even, or odd */ member in struct:_MGSL_PARAMS 215 __u32 frame, parity, overrun, brk; member in struct:mgsl_icount
|
/linux-master/include/linux/ |
H A D | tc.h | 57 s32 parity; /* System module supports TC parity. */ member in struct:tcinfo
|
H A D | hdlc.h | 38 unsigned short encoding, unsigned short parity);
|
/linux-master/drivers/usb/serial/ |
H A D | console.c | 60 int parity = 'n'; local 76 parity = *s++; 96 switch (parity) {
|
H A D | whiteheat.c | 629 /* determine the parity */ 633 port_settings.parity = WHITEHEAT_PAR_MARK; 635 port_settings.parity = WHITEHEAT_PAR_SPACE; 638 port_settings.parity = WHITEHEAT_PAR_ODD; 640 port_settings.parity = WHITEHEAT_PAR_EVEN; 642 port_settings.parity = WHITEHEAT_PAR_NONE; 643 dev_dbg(dev, "%s - parity = %c\n", __func__, port_settings.parity);
|
H A D | iuu_phoenix.c | 787 u32 *actual, u8 parity) 840 switch (parity & 0x0F) { 861 switch (parity & 0xF0) { 890 u32 parity; local 900 /* compute the parity parameter */ 901 parity = 0; 904 parity |= IUU_PARITY_SPACE; 906 parity |= IUU_PARITY_MARK; 908 parity |= IUU_PARITY_NONE; 911 parity | 786 iuu_uart_baud(struct usb_serial_port *port, u32 baud_base, u32 *actual, u8 parity) argument [all...] |
H A D | mxuport.c | 412 port->icount.parity++; 413 dev_dbg(&port->dev, "%s - parity error\n", __func__); 843 u8 parity; local 875 /* Set parity of termios */ 879 parity = MX_PARITY_MARK; 881 parity = MX_PARITY_SPACE; 884 parity = MX_PARITY_ODD; 886 parity = MX_PARITY_EVEN; 889 parity = MX_PARITY_NONE; 899 buf[1] = parity; [all...] |
/linux-master/drivers/usb/storage/ |
H A D | alauda.c | 215 static unsigned char parity[256]; variable 222 parity[0] = 0; 224 parity[i] = (parity[i&(i-1)] ^ 1); 238 ecc2[i] = ~(a ^ (a<<1) ^ (parity[i] ? 0xa8 : 0)); 251 bit = parity[data[i]]; 259 ecc[0] = ~(a ^ (a<<1) ^ (parity[par] ? 0xaa : 0)); 262 ecc[1] = ~(a ^ (a<<1) ^ (parity[par] ? 0xaa : 0)); 631 /* check even parity */ 632 if (parity[dat [all...] |
/linux-master/drivers/scsi/ |
H A D | aha152x.h | 271 unsigned parity:1; /* SCSI-parity: 1=enabled 0=disabled */ member in struct:__anon8141::__anon8142 276 #define cf_parity fields.parity 323 int parity; member in struct:aha152x_setup
|
H A D | aha152x.c | 126 * - parity check now configurable 356 static int parity[] = {1, 1}; variable 357 module_param_array(parity, int, NULL, 0); 358 MODULE_PARM_DESC(parity,"use scsi parity"); 463 int parity; /* parity checking enabled */ member in struct:aha152x_hostdata 565 #define PARITY (HOSTDATA(shpnt)->parity) 765 PARITY = setup->parity; 791 "parity [all...] |
/linux-master/drivers/tty/serdev/ |
H A D | serdev-ttyport.c | 126 /* Bring the UART into a known 8 bits no parity hw fc state */ 196 enum serdev_parity parity) 203 if (parity != SERDEV_PARITY_NONE) { 205 if (parity == SERDEV_PARITY_ODD) 195 ttyport_set_parity(struct serdev_controller *ctrl, enum serdev_parity parity) argument
|
/linux-master/drivers/net/wan/ |
H A D | wanxl.h | 143 u32 parity; member in struct:__anon876
|
H A D | hd64570.c | 479 switch (port->parity) { 551 unsigned short parity) 560 if (parity != PARITY_NONE && 561 parity != PARITY_CRC16_PR0 && 562 parity != PARITY_CRC16_PR1 && 563 parity != PARITY_CRC16_PR0_CCITT && 564 parity != PARITY_CRC16_PR1_CCITT) 568 dev_to_port(dev)->parity = parity; 550 sca_attach(struct net_device *dev, unsigned short encoding, unsigned short parity) argument
|
H A D | hd64572.c | 436 switch (port->parity) { 497 unsigned short parity) 506 if (parity != PARITY_NONE && 507 parity != PARITY_CRC16_PR0 && 508 parity != PARITY_CRC16_PR1 && 509 parity != PARITY_CRC32_PR1_CCITT && 510 parity != PARITY_CRC16_PR1_CCITT) 514 dev_to_port(dev)->parity = parity; 496 sca_attach(struct net_device *dev, unsigned short encoding, unsigned short parity) argument
|
H A D | wanxl.c | 326 unsigned short parity) 334 if (parity != PARITY_NONE && 335 parity != PARITY_CRC32_PR1_CCITT && 336 parity != PARITY_CRC16_PR1_CCITT && 337 parity != PARITY_CRC32_PR0_CCITT && 338 parity != PARITY_CRC16_PR0_CCITT) 342 get_status(port)->parity = parity; 325 wanxl_attach(struct net_device *dev, unsigned short encoding, unsigned short parity) argument
|