Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/tty/serial/
Dsifive.c466 static void __ssp_set_stop_bits(struct sifive_serial_port *ssp, char nstop) in __ssp_set_stop_bits() argument
470 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() local
649 nstop = (termios->c_cflag & CSTOPB) ? 2 : 1; in sifive_serial_set_termios()
650 __ssp_set_stop_bits(ssp, nstop); in sifive_serial_set_termios()