Home
last modified time | relevance | path

Searched refs:stop_bits (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/arch/mips/generic/
Dyamon-dt.c165 unsigned int uart, baud, stop_bits; in yamon_dt_serial_config() local
180 baud = stop_bits = 0; in yamon_dt_serial_config()
199 stop_bits = mode_var[0] - '0'; in yamon_dt_serial_config()
212 if (stop_bits != 7 && stop_bits != 8) in yamon_dt_serial_config()
213 stop_bits = 8; in yamon_dt_serial_config()
216 uart, baud, parity, stop_bits, in yamon_dt_serial_config()
/Linux-v4.19/include/linux/
Dsynclink.h31 unsigned char stop_bits; member
/Linux-v4.19/drivers/usb/serial/
Dcypress_m8.c293 int stop_bits, int parity_enable, int parity_type, int reset, in cypress_serial_control() argument
332 feature_buffer[4] |= (stop_bits << 3); /* assign stop bits in 1 bit space */ in cypress_serial_control()
865 int data_bits, stop_bits, parity_type, parity_enable; in cypress_set_termios() local
915 stop_bits = cflag & CSTOPB ? 1 : 0; in cypress_set_termios()
952 __func__, stop_bits, parity_enable, parity_type, data_bits); in cypress_set_termios()
955 data_bits, stop_bits, in cypress_set_termios()
Dmxuport.c849 u8 stop_bits; in mxuport_set_termios() local
901 stop_bits = MX_STOP_BITS_2; in mxuport_set_termios()
903 stop_bits = MX_STOP_BITS_1; in mxuport_set_termios()
907 buf[2] = stop_bits; in mxuport_set_termios()
935 dev_dbg(&port->dev, "stop_bits : %d\n", stop_bits); in mxuport_set_termios()
/Linux-v4.19/drivers/firmware/
Dpcdp.h42 u8 stop_bits; member
/Linux-v4.19/net/bluetooth/rfcomm/
Dcore.c959 u8 bit_rate, u8 data_bits, u8 stop_bits, in rfcomm_send_rpn() argument
970 s, cr, dlci, bit_rate, data_bits, stop_bits, parity, in rfcomm_send_rpn()
985 rpn->line_settings = __rpn_line_settings(data_bits, stop_bits, parity); in rfcomm_send_rpn()
1453 u8 stop_bits = 0; in rfcomm_recv_rpn() local
1471 stop_bits = RFCOMM_RPN_STOP_1; in rfcomm_recv_rpn()
1501 stop_bits = __get_rpn_stop_bits(rpn->line_settings); in rfcomm_recv_rpn()
1502 if (stop_bits != RFCOMM_RPN_STOP_1) { in rfcomm_recv_rpn()
1503 BT_DBG("RPN stop bits mismatch 0x%x", stop_bits); in rfcomm_recv_rpn()
1504 stop_bits = RFCOMM_RPN_STOP_1; in rfcomm_recv_rpn()
1546 rfcomm_send_rpn(s, 0, dlci, bit_rate, data_bits, stop_bits, in rfcomm_recv_rpn()
Dtty.c876 u8 baud, data_bits, stop_bits, parity, x_on, x_off; in rfcomm_tty_set_termios() local
938 stop_bits = RFCOMM_RPN_STOP_15; in rfcomm_tty_set_termios()
940 stop_bits = RFCOMM_RPN_STOP_1; in rfcomm_tty_set_termios()
1005 data_bits, stop_bits, parity, in rfcomm_tty_set_termios()
/Linux-v4.19/include/uapi/linux/
Dsynclink.h167 unsigned char stop_bits; /* 1 or 2 stop bits */ member
/Linux-v4.19/include/net/bluetooth/
Drfcomm.h230 u8 bit_rate, u8 data_bits, u8 stop_bits,
/Linux-v4.19/include/acpi/
Dactbl3.h112 u8 stop_bits; member
Dacrestyp.h456 u8 stop_bits; member
/Linux-v4.19/drivers/tty/serial/
Dmpsc.c1406 u32 chr_bits, stop_bits, par; in mpsc_set_termios() local
1425 stop_bits = MPSC_MPCR_SBL_2; in mpsc_set_termios()
1427 stop_bits = MPSC_MPCR_SBL_1; in mpsc_set_termios()
1449 mpsc_set_stop_bit_length(pi, stop_bits); in mpsc_set_termios()
Dioc3_serial.c588 int baud, int byte_size, int stop_bits, int parenb, int parodd) in config_port() argument
596 baud, byte_size, stop_bits, parenb, parodd)); in config_port()
646 if (stop_bits) in config_port()
Dioc4_serial.c1318 int baud, int byte_size, int stop_bits, int parenb, int parodd) in config_port() argument
1324 __func__, baud, byte_size, stop_bits, parenb, parodd)); in config_port()
1374 if (stop_bits) in config_port()
/Linux-v4.19/drivers/tty/
Dsynclink_gt.c368 .stop_bits = 1,
1145 tmp_params.stop_bits = info->params.stop_bits; in get_params32()
1175 info->params.stop_bits = tmp_params.stop_bits; in set_params32()
2543 info->params.stop_bits = (cflag & CSTOPB) ? 2 : 1; in change_params()
2554 info->params.stop_bits + 1; in change_params()
4144 if (info->params.stop_bits != 1) in async_mode()
Dsynclinkmp.c2766 info->params.stop_bits = 2; in change_params()
2768 info->params.stop_bits = 1; in change_params()
2786 info->params.stop_bits + 1; in change_params()
4381 if (info->params.stop_bits != 1) in async_mode()
Dsynclink.c1930 info->params.stop_bits = 2; in mgsl_change_params()
1932 info->params.stop_bits = 1; in mgsl_change_params()
1950 info->params.stop_bits + 1; in mgsl_change_params()
5865 if ( info->params.stop_bits != 1 ) in usc_set_async_mode()
/Linux-v4.19/drivers/acpi/acpica/
Drsdumpinfo.c465 {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(uart_serial_bus.stop_bits),
Drsserial.c468 {ACPI_RSC_2BITFLAG, ACPI_RS_OFFSET(data.uart_serial_bus.stop_bits),
/Linux-v4.19/drivers/char/pcmcia/
Dsynclink_cs.c1433 info->params.stop_bits = 2; in mgslpc_change_params()
1435 info->params.stop_bits = 1; in mgslpc_change_params()
1453 info->params.stop_bits + 1; in mgslpc_change_params()
3490 if (info->params.stop_bits != 1) in async_mode()