Searched refs:nstop (Results 1 – 1 of 1) sorted by relevance
468 static void __ssp_set_stop_bits(struct sifive_serial_port *ssp, char nstop) in __ssp_set_stop_bits() argument472 if (nstop < 1 || nstop > 2) { in __ssp_set_stop_bits()479 v |= (nstop - 1) << SIFIVE_SERIAL_TXCTRL_NSTOP_SHIFT; in __ssp_set_stop_bits()643 char nstop; in sifive_serial_set_termios() local657 nstop = (termios->c_cflag & CSTOPB) ? 2 : 1; in sifive_serial_set_termios()658 __ssp_set_stop_bits(ssp, nstop); in sifive_serial_set_termios()