/linux-master/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_insformat.h | 55 parity : 1; member in struct:ins_format1 57 uint32_t parity : 1, 74 parity : 1; member in struct:ins_format2 76 uint32_t parity : 1, 92 parity : 1; member in struct:ins_format3 94 uint32_t parity : 1, 110 parity : 1; member in struct:ins_format4 112 uint32_t parity : 1, 128 parity : 1; member in struct:ins_format5 130 uint32_t parity 146 parity : 1; member in struct:ins_format6 [all...] |
/linux-master/arch/mips/generic/ |
H A D | yamon-dt.c | 160 char mode_var_name[9], path[20], parity; local 177 parity = 0; 191 parity = mode_var[0]; 205 if (parity != 'e' && parity != 'n' && parity != 'o') 206 parity = 'n'; 212 uart, baud, parity, stop_bits,
|
/linux-master/arch/mips/mti-malta/ |
H A D | malta-init.c | 46 char parity = '\0', bits = '\0', flow = '\0'; local 56 parity = *s++; 68 if (parity != 'n' && parity != 'o' && parity != 'e') 69 parity = 'n'; 77 parity, bits); 83 parity, bits, flow);
|
/linux-master/include/linux/ |
H A D | synclink.h | 32 unsigned char parity; member in struct:MGSL_PARAMS32
|
H A D | serial.h | 42 __u32 frame, parity, overrun, brk; member in struct:async_icount
|
/linux-master/arch/x86/kernel/ |
H A D | bootflag.c | 23 static int __init parity(u8 v) function 42 if (!parity(v)) 73 if (!parity(v))
|
/linux-master/drivers/media/pci/mantis/ |
H A D | mantis_uart.c | 31 enum mantis_parity parity; member in struct:mantis_uart_params 46 } parity[3] = { variable in typeref:struct:__anon137 71 dprintk(MANTIS_ERROR, 1, "UART parity error"); 114 mmwrite((mmread(MANTIS_UART_CTL) | (params->parity & 0x3)), MANTIS_UART_CTL); 148 /* default parity: */ 150 params.parity = config->parity; 151 dprintk(MANTIS_INFO, 1, "Initializing UART @ %sbps parity:%s", 153 parity[params.parity] [all...] |
H A D | mantis_vp3030.c | 85 .parity = MANTIS_PARITY_NONE,
|
H A D | hopper_vp3028.c | 70 .parity = MANTIS_PARITY_NONE,
|
/linux-master/arch/mips/mm/ |
H A D | cerr-sb1.c | 80 printk(" tag-parity"); 82 printk(" data-parity"); 256 static const uint8_t parity[256] = { variable 275 /* Masks to select bits for Hamming parity, mask_72_64[i] for bit[i] */ 287 /* Calculate the parity on a range of bits */ 290 char parity = 0; local 295 parity = !parity; 298 return parity; 301 /* Calculate the 4-bit even byte-parity fo 305 char parity = 0; local [all...] |
/linux-master/drivers/fsi/ |
H A D | fsi-master-i2cr.c | 39 static bool i2cr_check_parity32(u32 v, bool parity) argument 45 parity = !parity; 48 return parity; 54 bool parity = I2CR_INITIAL_PARITY; local 58 parity = !parity; 61 return parity; 64 static u32 i2cr_get_command(u32 address, bool parity) argument 68 if (i2cr_check_parity32(address, parity)) [all...] |
/linux-master/drivers/net/wan/ |
H A D | hdlc_raw_eth.c | 86 if (new_settings.parity == PARITY_DEFAULT) 87 new_settings.parity = PARITY_CRC16_PR1_CCITT; 90 new_settings.parity);
|
H A D | hdlc_raw.c | 70 if (new_settings.parity == PARITY_DEFAULT) 71 new_settings.parity = PARITY_CRC16_PR1_CCITT; 74 new_settings.parity);
|
/linux-master/drivers/usb/serial/ |
H A D | keyspan_usa28msg.h | 48 If the port is configured for parity, the data will be an 49 alternating string of parity and data bytes, so the message 57 If there is no parity, the format is simply: 63 USB IN (USA28 -> host, receive) messages contain data and parity 64 if parity is configred, thusly: 70 If parity is not configured, the format is: 77 the parity bit. In the RX messages (USB IN), the PARity byte is 78 the content of the 8051's status register; the parity bit 112 u8 parity, // 1=use parity, member in struct:keyspan_usa28_portControlMessage [all...] |
/linux-master/include/uapi/linux/hdlc/ |
H A D | ioctl.h | 24 #define PARITY_NONE 1 /* No parity */ 55 unsigned short parity; member in struct:__anon1689
|
/linux-master/drivers/scsi/pcmcia/ |
H A D | aha152x_stub.c | 66 static int parity = 1; variable 73 module_param(parity, int, 0); 170 s.parity = parity;
|
/linux-master/include/uapi/linux/dvb/ |
H A D | ca.h | 111 * @parity: control words parity, where 0 means even and 1 means odd 116 unsigned int parity; member in struct:ca_descr
|
/linux-master/drivers/input/serio/ |
H A D | ams_delta_serio.c | 42 int i, parity = 0; local 49 /* calculate the parity */ 52 parity++; 55 if (!(parity & 0x01)) { 57 "parity check failed, data=0x%X parity=0x%X\n", data, 58 parity);
|
/linux-master/drivers/mtd/ |
H A D | ssfdc.c | 185 int parity; local 187 parity = 1; 189 parity += (number >> k); 190 parity &= 1; 192 return parity; 198 int block_address, parity; local 206 * parity check 214 parity = block_address & 0x01; 218 if (get_parity(block_address, 10) != parity) { 220 "parity erro [all...] |
/linux-master/drivers/tty/serial/ |
H A D | max3100.c | 107 int parity; /* keeps track if we should send parity */ member in struct:max3100_port 141 int parity; local 143 if (s->parity & MAX3100_PARITY_ODD) 144 parity = 1; 146 parity = 0; 148 if (s->parity & MAX3100_7BIT) 153 parity = parity ^ (hweight8(c) & 1); 154 return parity; 427 u32 param_new, param_mask, parity = 0; local [all...] |
H A D | apbuart.c | 93 port->icount.parity++; 424 int *parity, int *bits) 431 *parity = 'n'; 434 *parity = 'e'; 436 *parity = 'o'; 450 int parity = 'n'; local 469 uart_parse_options(options, &baud, &parity, &bits, &flow); 471 apbuart_console_get_options(port, &baud, &parity, &bits); 473 return uart_set_options(port, co, baud, parity, bits, flow); 423 apbuart_console_get_options(struct uart_port *port, int *baud, int *parity, int *bits) argument
|
H A D | suncore.c | 90 char parity; local 125 parity = *(++s); 156 switch (parity) {
|
H A D | 21285.c | 132 port->icount.parity++; 401 int *parity, int *bits) 424 *parity = 'o'; 426 *parity = 'e'; 440 int parity = 'n'; local 449 uart_parse_options(options, &baud, &parity, &bits, &flow); 451 serial21285_get_options(port, &baud, &parity, &bits); 453 return uart_set_options(port, co, baud, parity, bits, flow); 400 serial21285_get_options(struct uart_port *port, int *baud, int *parity, int *bits) argument
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | rng.c | 34 unsigned long parity; local 36 /* Calculate the parity of the value */ 41 : "=r" (parity) : "r" (val)); 46 /* update the mask based on the parity of this value */ 47 rng->mask = (rng->mask << 1) | (parity & 1);
|
/linux-master/arch/m68k/atari/ |
H A D | debug.c | 169 int parity = (cflag & PARENB) ? ((cflag & PARODD) ? 0x04 : 0x06) : 0; local 179 st_mfp.usart_ctr = parity | csize | 0x88; /* 1:16 clk mode, 1 stop bit */ 268 int parity = (cflag & PARENB) ? ((cflag & PARODD) ? 0x0c : 0x08) : 0x04; local 283 acia.mid_ctrl = div | csize | parity |
|