Searched refs:nstop (Results 1 - 1 of 1) sorted by relevance

/linux-master/drivers/tty/serial/
H A Dsifive.c462 * @nstop: 1 or 2 (stop bits)
464 * Program the SiFive UART referred to by @ssp to use @nstop stop bits.
466 static void __ssp_set_stop_bits(struct sifive_serial_port *ssp, char nstop) argument
470 if (nstop < 1 || nstop > 2) {
477 v |= (nstop - 1) << SIFIVE_SERIAL_TXCTRL_NSTOP_SHIFT;
635 char nstop; local
649 nstop = (termios->c_cflag & CSTOPB) ? 2 : 1;
650 __ssp_set_stop_bits(ssp, nstop);

Completed in 105 milliseconds