__ssp_set_stop_bits(9)
π
__ssp_set_stop_bits β NAME, but make it cute
okay so bestie, welcome to the Kernel API Manual, section 9 β yes this is a section 9 page, we love a kernel-internals moment. this one's called __ssp_set_stop_bits and it does exactly one thing: set the number of stop bits. that's the whole personality. β¨
π SYNOPSIS π
void __ssp_set_stop_bits (struct sifive_serial_port *ssp , char nstop );
returns nothing (void), takes two args, absolutely no drama. π«Ά
πΈ ARGUMENTS πΈ
sspβ a pointer to astruct sifive_serial_port. basically your VIP pass to the UART you're about to mess with πnstopβ achar, and it's gotta be1or2. as in, one stop bit or two stop bits. that's the whole menu, no secret third option, no cap. π
π¦ DESCRIPTION π¦
so what we're doing here is programming the SiFive UART that ssp points at, and telling it to use nstop stop bits. that's it. that's the function. it's giving "small but iconic." π
like, the UART? it's gonna have stop bits now. the number of them? whatever you passed in. main character energy fr fr. π₯
β SEE ALSO β
bestie there is a WHOLE friend group here, the kernel file lives at ./drivers/tty/serial/sifive.c and honestly the whole squad shows up:
struct sifive_serial_port(9)__ssp_early_writel(9)__ssp_early_readl(9)__ssp_writel(9)__ssp_readl(9)sifive_serial_is_txfifo_full(9)__ssp_transmit_char(9)__ssp_transmit_chars(9)__ssp_enable_txwm(9)__ssp_enable_rxwm(9)__ssp_disable_txwm(9)__ssp_disable_rxwm(9)__ssp_receive_char(9)__ssp_receive_chars(9)__ssp_update_div(9)__ssp_update_baud_rate(9)__ssp_wait_for_xmitr(9)sifive_serial_clk_notifier(9)
go read them all, i'll wait. π
ngl the whole manpage is like four lines of actual content, so this is a short hangout. but we ate anyway. π β¨
okay that's the whole page!! mwah π this came out of ./drivers/tty/serial, dated October 2026, and it's __ssp_set_stop_bits(9) forever and always. see u in the next one, bestie ππ¦πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms