/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 …]
|
/drivers/scsi/aic7xxx_old/ |
D | sequencer.h | 47 parity : 1; member 57 parity : 1; member 66 parity : 1; member 71 parity : 1, member 81 parity : 1, member 91 parity : 1, member
|
/drivers/media/pci/mantis/ |
D | mantis_uart.c | 41 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()
|
/drivers/tty/serial/ |
D | max3100.c | 112 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 …]
|
D | 21285.c | 99 port->icount.parity++; in serial21285_rx_chars() 391 int *parity, int *bits) in serial21285_get_options() argument 414 *parity = 'o'; in serial21285_get_options() 416 *parity = 'e'; in serial21285_get_options() 430 int parity = 'n'; in serial21285_console_setup() local 442 uart_parse_options(options, &baud, &parity, &bits, &flow); in serial21285_console_setup() 444 serial21285_get_options(port, &baud, &parity, &bits); in serial21285_console_setup() 446 return uart_set_options(port, co, baud, parity, bits, flow); in serial21285_console_setup()
|
D | apbuart.c | 103 port->icount.parity++; in apbuart_rx_chars() 459 int *parity, int *bits) in apbuart_console_get_options() argument 466 *parity = 'n'; in apbuart_console_get_options() 469 *parity = 'e'; in apbuart_console_get_options() 471 *parity = 'o'; in apbuart_console_get_options() 485 int parity = 'n'; in apbuart_console_setup() local 504 uart_parse_options(options, &baud, &parity, &bits, &flow); in apbuart_console_setup() 506 apbuart_console_get_options(port, &baud, &parity, &bits); in apbuart_console_setup() 508 return uart_set_options(port, co, baud, parity, bits, flow); in apbuart_console_setup()
|
D | serial_ks8695.c | 178 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()
|
D | clps711x.c | 104 port->icount.parity++; in uart_clps711x_int_rx() 385 int *baud, int *parity, in uart_clps711x_console_get_options() argument 393 *parity = 'n'; in uart_clps711x_console_get_options() 396 *parity = 'e'; in uart_clps711x_console_get_options() 398 *parity = 'o'; in uart_clps711x_console_get_options() 413 int baud = 38400, bits = 8, parity = 'n', flow = 'n'; in uart_clps711x_console_setup() local 418 uart_parse_options(options, &baud, &parity, &bits, &flow); in uart_clps711x_console_setup() 420 uart_clps711x_console_get_options(port, &baud, &parity, &bits); in uart_clps711x_console_setup() 422 return uart_set_options(port, co, baud, parity, bits, flow); in uart_clps711x_console_setup()
|
D | mrst_max3110.c | 68 u8 parity, word_7bits; member 208 int parity = 'n'; in serial_m3110_con_setup() local 222 uart_parse_options(options, &baud, &parity, &bits, &flow); in serial_m3110_con_setup() 224 return uart_set_options(&max->port, co, baud, parity, bits, flow); in serial_m3110_con_setup() 587 unsigned int baud, parity = 0; in serial_m3110_set_termios() local 674 parity |= UART_LCR_PARITY; in serial_m3110_set_termios() 679 parity |= UART_LCR_EPAR; in serial_m3110_set_termios() 680 max->parity = parity; in serial_m3110_set_termios() 808 max->parity = 0; in serial_m3110_probe()
|
D | efm32-uart.c | 224 port->icount.parity++; in efm32_uart_rx_chars() 561 int *baud, int *parity, int *bits) in efm32_uart_console_get_options() argument 582 *parity = 'o'; in efm32_uart_console_get_options() 584 *parity = 'e'; in efm32_uart_console_get_options() 586 *parity = 'n'; in efm32_uart_console_get_options() 592 *baud, *parity, *bits); in efm32_uart_console_get_options() 600 int parity = 'n'; in efm32_uart_console_setup() local 632 uart_parse_options(options, &baud, &parity, &bits, &flow); in efm32_uart_console_setup() 635 &baud, &parity, &bits); in efm32_uart_console_setup() 637 return uart_set_options(&efm_port->port, co, baud, parity, bits, flow); in efm32_uart_console_setup()
|
D | netx-serial.c | 217 port->icount.parity++; in netx_rxint() 550 int *parity, int *bits, int *flow) in netx_console_get_options() argument 563 *parity = 'n'; in netx_console_get_options() 566 *parity = 'e'; in netx_console_get_options() 568 *parity = 'o'; in netx_console_get_options() 596 int parity = 'n'; in netx_console_setup() local 609 uart_parse_options(options, &baud, &parity, &bits, &flow); in netx_console_setup() 616 &parity, &bits, &flow); in netx_console_setup() 621 return uart_set_options(&sport->port, co, baud, parity, bits, flow); in netx_console_setup()
|
D | sa1100.c | 208 sport->port.icount.parity++; in sa1100_rx_chars() 729 int *parity, int *bits) in sa1100_console_get_options() argument 740 *parity = 'n'; in sa1100_console_get_options() 743 *parity = 'e'; in sa1100_console_get_options() 745 *parity = 'o'; in sa1100_console_get_options() 765 int parity = 'n'; in sa1100_console_setup() local 778 uart_parse_options(options, &baud, &parity, &bits, &flow); in sa1100_console_setup() 780 sa1100_console_get_options(sport, &baud, &parity, &bits); in sa1100_console_setup() 782 return uart_set_options(&sport->port, co, baud, parity, bits, flow); in sa1100_console_setup()
|
D | amba-pl010.c | 142 uap->port.icount.parity++; in pl010_rx_chars() 596 int *parity, int *bits) in pl010_console_get_options() argument 602 *parity = 'n'; in pl010_console_get_options() 605 *parity = 'e'; in pl010_console_get_options() 607 *parity = 'o'; in pl010_console_get_options() 626 int parity = 'n'; in pl010_console_setup() local 648 uart_parse_options(options, &baud, &parity, &bits, &flow); in pl010_console_setup() 650 pl010_console_get_options(uap, &baud, &parity, &bits); in pl010_console_setup() 652 return uart_set_options(&uap->port, co, baud, parity, bits, flow); in pl010_console_setup()
|
D | suncore.c | 90 char parity; in sunserial_console_termios() local 124 parity = *(++s); in sunserial_console_termios() 155 switch (parity) { in sunserial_console_termios()
|
/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()
|
/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()
|
/drivers/input/serio/ |
D | ams_delta_serio.c | 42 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()
|
/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()
|
/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 | 88 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()
|
D | hd64572.c | 443 switch(port->parity) { in sca_open() 497 unsigned short parity) in sca_attach() argument 506 if (parity != PARITY_NONE && in sca_attach() 507 parity != PARITY_CRC16_PR0 && in sca_attach() 508 parity != PARITY_CRC16_PR1 && in sca_attach() 509 parity != PARITY_CRC32_PR1_CCITT && in sca_attach() 510 parity != PARITY_CRC16_PR1_CCITT) in sca_attach() 514 dev_to_port(dev)->parity = parity; in sca_attach()
|
D | hd64570.c | 479 switch(port->parity) { in sca_open() 544 unsigned short parity) in sca_attach() argument 553 if (parity != PARITY_NONE && in sca_attach() 554 parity != PARITY_CRC16_PR0 && in sca_attach() 555 parity != PARITY_CRC16_PR1 && in sca_attach() 556 parity != PARITY_CRC16_PR0_CCITT && in sca_attach() 557 parity != PARITY_CRC16_PR1_CCITT) in sca_attach() 561 dev_to_port(dev)->parity = parity; in sca_attach()
|
D | wanxl.c | 320 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()
|
/drivers/usb/serial/ |
D | iuu_phoenix.c | 792 u32 *actual, u8 parity) in iuu_uart_baud() argument 845 switch (parity & 0x0F) { in iuu_uart_baud() 867 switch (parity & 0xF0) { in iuu_uart_baud() 896 u32 parity; in iuu_set_termios() local 907 parity = 0; in iuu_set_termios() 910 parity |= IUU_PARITY_SPACE; in iuu_set_termios() 912 parity |= IUU_PARITY_MARK; in iuu_set_termios() 914 parity |= IUU_PARITY_NONE; in iuu_set_termios() 917 parity |= IUU_PARITY_ODD; in iuu_set_termios() 919 parity |= IUU_PARITY_EVEN; in iuu_set_termios() [all …]
|
/drivers/usb/storage/ |
D | alauda.c | 223 static unsigned char parity[256]; variable 229 parity[0] = 0; in nand_init_ecc() 231 parity[i] = (parity[i&(i-1)] ^ 1); in nand_init_ecc() 245 ecc2[i] = ~(a ^ (a<<1) ^ (parity[i] ? 0xa8 : 0)); in nand_init_ecc() 261 bit = parity[data[i]]; in nand_compute_ecc() 269 ecc[0] = ~(a ^ (a<<1) ^ (parity[par] ? 0xaa : 0)); in nand_compute_ecc() 272 ecc[1] = ~(a ^ (a<<1) ^ (parity[par] ? 0xaa : 0)); in nand_compute_ecc() 636 if (parity[data[6] ^ data[7]]) { in alauda_read_map() 856 if (parity[MSB_of(lbap) ^ LSB_of(lbap)]) in alauda_write_lba()
|