Searched refs:nstop (Results 1 – 1 of 1) sorted by relevance
466 static void __ssp_set_stop_bits(struct sifive_serial_port *ssp, char nstop) in __ssp_set_stop_bits() argument470 if (nstop < 1 || nstop > 2) { in __ssp_set_stop_bits()477 v |= (nstop - 1) << SIFIVE_SERIAL_TXCTRL_NSTOP_SHIFT; in __ssp_set_stop_bits()635 char nstop; in sifive_serial_set_termios() local649 nstop = (termios->c_cflag & CSTOPB) ? 2 : 1; in sifive_serial_set_termios()650 __ssp_set_stop_bits(ssp, nstop); in sifive_serial_set_termios()