Searched refs:parity (Results 76 - 100 of 189) sorted by relevance

12345678

/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_asm.c298 static bool parity(u64 value) function
317 ecc |= parity(nfp_ustore_ecc_polynomials[i] & insn) << i;
/linux-master/drivers/staging/media/av7110/
H A Dav7110_ca.c299 if (descr->index >= 16 || descr->parity > 1) {
304 (descr->index<<8)|descr->parity,
/linux-master/drivers/tty/serial/8250/
H A D8250_ingenic.c100 unsigned int parity, bits, flow; /* unused for now */ local
102 uart_parse_options(opt, &baud, &parity, &bits, &flow);
/linux-master/drivers/net/wan/
H A Dfsl_ucc_hdlc.c839 unsigned short parity)
847 if (parity != PARITY_NONE &&
848 parity != PARITY_CRC32_PR1_CCITT &&
849 parity != PARITY_CRC16_PR0_CCITT &&
850 parity != PARITY_CRC16_PR1_CCITT)
854 priv->parity = parity;
838 ucc_hdlc_attach(struct net_device *dev, unsigned short encoding, unsigned short parity) argument
/linux-master/drivers/tty/serial/
H A Dmpc52xx_uart.c1195 /* With CMSPAR, PARODD also means high parity (same as termios) */
1400 port->icount.parity++;
1497 int *baud, int *parity, int *bits, int *flow)
1526 *parity = 'n';
1528 *parity = mr1 & MPC52xx_PSC_MODE_PARODD ? 'o' : 'e';
1576 int parity = 'n'; local
1626 uart_parse_options(options, &baud, &parity, &bits, &flow);
1628 mpc52xx_console_get_options(port, &baud, &parity, &bits, &flow);
1631 baud, bits, parity, flow);
1633 return uart_set_options(port, co, baud, parity, bit
1496 mpc52xx_console_get_options(struct uart_port *port, int *baud, int *parity, int *bits, int *flow) argument
[all...]
H A Dmps2-uart.c437 int parity = 'n'; local
449 uart_parse_options(options, &baud, &parity, &bits, &flow);
451 return uart_set_options(&mps_port->port, co, baud, parity, bits, flow);
H A Desp32_uart.c557 int parity = 'n'; local
578 uart_parse_options(options, &baud, &parity, &bits, &flow);
580 return uart_set_options(&sport->port, co, baud, parity, bits, flow);
H A Dowl-uart.c560 int parity = 'n'; local
571 uart_parse_options(options, &baud, &parity, &bits, &flow);
573 return uart_set_options(&owl_port->port, co, baud, parity, bits, flow);
H A Dlpc32xx_hs.c157 int parity = 'n'; local
168 uart_parse_options(options, &baud, &parity, &bits, &flow);
172 return uart_set_options(port, co, baud, parity, bits, flow);
478 /* Always 8-bit, no parity, 1 stop bit */
H A Dsifive.c643 dev_err_once(ssp->port.dev, "parity checking not supported\n");
816 int parity = 'n'; local
827 uart_parse_options(options, &baud, &parity, &bits, &flow);
829 return uart_set_options(&ssp->port, co, baud, parity, bits, flow);
H A Dfsl_lpuart.c291 /* and the parity is enabled */
905 sport->port.icount.parity++;
993 sport->port.icount.parity++;
1122 sport->port.icount.parity++;
1141 sport->port.icount.parity++;
1145 * At this point parity/framing error is
2030 /* parity must be enabled when CS7 to match 8-bits format */
2082 * if we're ignoring parity and break indicators,
2268 /* parity must be enabled when CS7 to match 8-bits format */
2317 * if we're ignoring parity an
2534 lpuart_console_get_options(struct lpuart_port *sport, int *baud, int *parity, int *bits) argument
2583 lpuart32_console_get_options(struct lpuart_port *sport, int *baud, int *parity, int *bits) argument
2633 int parity = 'n'; local
[all...]
H A Dma35d1_serial.c253 up->port.icount.parity++;
459 * If we're ignoring parity and break indicators,
598 int parity = 'n'; local
626 uart_parse_options(options, &baud, &parity, &bits, &flow);
628 return uart_set_options(port, co, baud, parity, bits, flow);
H A Dlantiq.c192 port->icount.parity++;
416 cflag &= ~CMSPAR; /* Mark/Space parity is not supported */
438 * If we're ignoring parity and break indicators,
448 /* set error signals - framing, parity and overrun, enable receiver */
623 int parity = 'n'; local
641 uart_parse_options(options, &baud, &parity, &bits, &flow);
642 return uart_set_options(port, co, baud, parity, bits, flow);
H A Dserial_txx9.c280 up->icount.parity++;
588 /* byte size and parity */
652 * If we're ignoring parity and break indicators,
879 int parity = 'n'; local
896 uart_parse_options(options, &baud, &parity, &bits, &flow);
898 return uart_set_options(up, co, baud, parity, bits, flow);
H A Dpxa.c128 up->port.icount.parity++;
465 * If we're ignoring parity and break indicators,
684 int parity = 'n'; local
694 uart_parse_options(options, &baud, &parity, &bits, &flow);
696 return uart_set_options(&up->port, co, baud, parity, bits, flow);
/linux-master/drivers/media/pci/saa7134/
H A Dsaa7134-input.c338 unsigned int start = 0,parity = 0,code = 0; local
352 parity=b[(start+parity_offset) % 4];
357 if (parity == 0)
361 if (ir->old == parity)
364 ir->old = parity;
/linux-master/net/bluetooth/rfcomm/
H A Dtty.c865 u8 baud, data_bits, stop_bits, parity, x_on, x_off; local
886 /* Mark and space parity are not supported! */
890 parity = RFCOMM_RPN_PARITY_ODD;
893 parity = RFCOMM_RPN_PARITY_EVEN;
897 parity = RFCOMM_RPN_PARITY_NONE;
994 data_bits, stop_bits, parity,
H A Dcore.c99 #define __rpn_line_settings(data, stop, parity) ((data & 0x3) | ((stop & 0x1) << 2) | ((parity & 0x7) << 3))
998 u8 parity, u8 flow_ctrl_settings,
1006 BT_DBG("%p cr %d dlci %d bit_r 0x%x data_b 0x%x stop_b 0x%x parity 0x%x"
1008 s, cr, dlci, bit_rate, data_bits, stop_bits, parity,
1023 rpn->line_settings = __rpn_line_settings(data_bits, stop_bits, parity);
1492 u8 parity = 0; local
1510 parity = RFCOMM_RPN_PARITY_NONE;
1518 * no parity, no flow control lines, normal XON/XOFF chars */
1548 parity
996 rfcomm_send_rpn(struct rfcomm_session *s, int cr, u8 dlci, u8 bit_rate, u8 data_bits, u8 stop_bits, u8 parity, u8 flow_ctrl_settings, u8 xon_char, u8 xoff_char, u16 param_mask) argument
[all...]
/linux-master/include/linux/
H A Dserial_core.h219 * Change the @port parameters, including word length, parity, stop bits.
226 * - %PARENB - parity enable
227 * - %PARODD - odd parity (when %PARENB is in force)
236 * - %INPCK - enable frame and parity error events to be passed to the TTY
240 * - %IGNPAR - ignore parity and framing errors.
244 * The interaction of the ktermios::c_iflag bits is as follows (parity
420 __u32 parity; member in struct:uart_icount
972 void uart_parse_options(const char *options, int *baud, int *parity, int *bits,
975 int parity, int bits, int flow);
H A Dserdev.h309 enum serdev_parity parity);
/linux-master/drivers/net/wireless/broadcom/b43/
H A Ddma.c677 bool parity = ring->dev->dma.parity; local
691 if (!parity)
704 if (!parity)
723 if (!parity)
739 if (!parity)
1079 dma->parity = true;
1081 /* TODO: find out which SSB devices need disabling parity */
1083 dma->parity = false;
/linux-master/drivers/tc/
H A Dtc.c166 "(with%s parity)\n", tc_bus.info.revision,
168 tc_bus.info.parity ? "" : "out");
/linux-master/arch/mips/include/asm/mach-cavium-octeon/
H A Dkernel-entry-init.h72 # Zero all of CVMSEG to make sure parity is correct
/linux-master/drivers/staging/greybus/
H A Duart.c492 newline.parity = termios->c_cflag & PARENB ?
684 icount->parity = gb_tty->iocount.parity;
885 gb_tty->line_coding.parity = GB_SERIAL_NO_PARITY;
/linux-master/drivers/mmc/core/
H A Dsdio_uart.c60 __u32 parity; member in struct:uart_icount
300 * If we're ignoring parity and break indicators,
373 port->icount.parity++;
960 if (port->icount.parity)
962 port->icount.parity);

Completed in 488 milliseconds

12345678