__ssp_set_stop_bits(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __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 a struct sifive_serial_port. basically your VIP pass to the UART you're about to mess with πŸ’…
  • nstop β€” a char, and it's gotta be 1 or 2. 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:

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