Searched defs:parity (Results 1 - 25 of 98) sorted by relevance

1234

/drivers/firmware/
H A Dpcdp.c28 char parity; local
36 switch (uart->parity) {
37 case 0x2: parity = 'e'; break;
38 case 0x3: parity = 'o'; break;
39 default: parity = 'n';
41 p += sprintf(p, "%c%d", parity, uart->bits);
H A Dpcdp.h41 u8 parity; member in struct:pcdp_uart
/drivers/input/serio/
H A Dams_delta_serio.c42 int i, parity = 0; local
51 /* calculate the parity */
54 parity++;
57 if (!(parity & 0x01)) {
59 "paritiy check failed, data=0x%X parity=0x%X\n",
60 data, parity);
/drivers/media/dvb/mantis/
H A Dmantis_uart.c41 enum mantis_parity parity; member in struct:mantis_uart_params
56 } parity[3] = { variable in typeref:struct:__anon1509
86 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 Dmantis_common.h92 enum mantis_parity parity; member in struct:mantis_hwconfig
/drivers/scsi/pcmcia/
H A Daha152x_stub.c63 static int parity = 1; variable
70 module_param(parity, int, 0);
167 s.parity = parity;
/drivers/net/wan/
H A Dhostess_sv11.c169 unsigned short parity)
171 if (encoding == ENCODING_NRZ && parity == PARITY_CRC16_PR1_CCITT)
168 hostess_attach(struct net_device *dev, unsigned short encoding, unsigned short parity) argument
H A Dsealevel.c167 unsigned short parity)
169 if (encoding == ENCODING_NRZ && parity == PARITY_CRC16_PR1_CCITT)
166 sealevel_attach(struct net_device *dev, unsigned short encoding, unsigned short parity) argument
H A Dc101.c67 unsigned short parity; member in struct:card_s
H A Dhd64570.c480 switch(port->parity) {
545 unsigned short parity)
554 if (parity != PARITY_NONE &&
555 parity != PARITY_CRC16_PR0 &&
556 parity != PARITY_CRC16_PR1 &&
557 parity != PARITY_CRC16_PR0_CCITT &&
558 parity != PARITY_CRC16_PR1_CCITT)
562 dev_to_port(dev)->parity = parity;
544 sca_attach(struct net_device *dev, unsigned short encoding, unsigned short parity) argument
H A Dhd64572.c444 switch(port->parity) {
498 unsigned short parity)
507 if (parity != PARITY_NONE &&
508 parity != PARITY_CRC16_PR0 &&
509 parity != PARITY_CRC16_PR1 &&
510 parity != PARITY_CRC32_PR1_CCITT &&
511 parity != PARITY_CRC16_PR1_CCITT)
515 dev_to_port(dev)->parity = parity;
497 sca_attach(struct net_device *dev, unsigned short encoding, unsigned short parity) argument
H A Dpci200syn.c75 unsigned short parity; member in struct:port_s
/drivers/tty/serial/
H A Dsuncore.c90 char parity; local
124 parity = *(++s);
155 switch (parity) {
H A D21285.c99 port->icount.parity++;
391 int *parity, int *bits)
414 *parity = 'o';
416 *parity = 'e';
430 int parity = 'n'; local
442 uart_parse_options(options, &baud, &parity, &bits, &flow);
444 serial21285_get_options(port, &baud, &parity, &bits);
446 return uart_set_options(port, co, baud, parity, bits, flow);
390 serial21285_get_options(struct uart_port *port, int *baud, int *parity, int *bits) argument
H A Dclps711x.c111 port->icount.parity++;
344 * If we're ignoring parity and break indicators,
464 int *parity, int *bits)
471 *parity = 'n';
474 *parity = 'e';
476 *parity = 'o';
494 int parity = 'n'; local
505 uart_parse_options(options, &baud, &parity, &bits, &flow);
507 clps711xuart_console_get_options(port, &baud, &parity, &bits);
509 return uart_set_options(port, co, baud, parity, bit
463 clps711xuart_console_get_options(struct uart_port *port, int *baud, int *parity, int *bits) argument
[all...]
H A Dmcf.c291 port->icount.parity++;
510 int parity = 'n'; local
520 uart_parse_options(options, &baud, &parity, &bits, &flow);
522 return uart_set_options(port, co, baud, parity, bits, flow);
/drivers/usb/serial/
H A Dconsole.c61 int parity = 'n'; local
79 parity = *s++;
99 switch (parity) {
H A Dkeyspan_usa28msg.h47 If the port is configured for parity, the data will be an
48 alternating string of parity and data bytes, so the message
56 If there is no parity, the format is simply:
62 USB IN (USA28 -> host, receive) messages contain data and parity
63 if parity is configred, thusly:
69 If parity is not configured, the format is:
76 the parity bit. In the RX messages (USB IN), the PARity byte is
77 the content of the 8051's status register; the parity bit
111 u8 parity, // 1=use parity, member in struct:keyspan_usa28_portControlMessage
[all...]
/drivers/media/video/saa7134/
H A Dsaa7134-input.c250 * buf[3] & 0x40 is a parity bit. A repeat event is marked
300 unsigned int start = 0,parity = 0,code = 0; local
311 parity=b[(start+parity_offset) % 4];
316 if (parity == 0)
320 if (ir->old == parity)
323 ir->old = parity;
/drivers/mtd/devices/
H A Ddocecc.c441 int parity, i, nb_errors; local
460 parity = ecc1[1];
489 parity ^= val;
500 parity ^= val;
507 /* use parity to test extra errors */
508 if ((parity & 0xff) != 0)
/drivers/scsi/aic7xxx_old/
H A Dsequencer.h47 parity : 1; member in struct:ins_format1
57 parity : 1; member in struct:ins_format2
66 parity : 1; member in struct:ins_format3
71 parity : 1, member in struct:ins_format1
81 parity : 1, member in struct:ins_format2
91 parity : 1, member in struct:ins_format3
/drivers/input/mouse/
H A Delantech.h138 unsigned char parity[256]; member in struct:elantech_data
/drivers/mtd/
H A Dinftlcore.c481 unsigned char anac, nacs, parity; local
596 parity = (nrbits(thisVUC, 16) & 0x1) ? 0x1 : 0;
597 parity |= (nrbits(prev_block, 16) & 0x1) ? 0x2 : 0;
598 parity |= (nrbits(anac, 8) & 0x1) ? 0x4 : 0;
599 parity |= (nrbits(nacs, 8) & 0x1) ? 0x8 : 0;
605 oob.u.a.parityPerField = parity;
616 oob.u.b.parityPerField = parity;
H A Dssfdc.c189 int parity; local
191 parity = 1;
193 parity += (number >> k);
194 parity &= 1;
196 return parity;
202 int block_address, parity; local
210 * parity check
218 parity = block_address & 0x01;
222 if (get_parity(block_address, 10) != parity) {
224 "parity erro
[all...]
/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_insformat.h55 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...]

Completed in 423 milliseconds

1234