__ssp_disable_txwm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __ssp_disable_txwm

okay so bestie, welcome to the Kernel API Manual β€” this one's a lil function from the SiFive UART driver and it's honestly so chill. Let's get into it ✨


✨ NAME ✨

__ssp_disable_txwm β€” literally just turns OFF transmit watermark interrupts. that's it. that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void __ssp_disable_txwm (struct sifive_serial_port *ssp );

no return value, nothing comes back, she just does her thing and leaves πŸ’…


🌸 ARGUMENTS 🌸

  • ssp β€” a pointer to a struct sifive_serial_port. yes queen, that's the port object, she's the main character here πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so what this does: it disables interrupt generation when the transmit FIFO watermark is reached, on the UART that ssp refers to. no more "hey bestie the FIFO hit the watermark" interrupts from this port β€” we're silencing that notification, periodt. πŸ”‡βœ¨

think of it as putting your notifications on do-not-disturb for one specific thing. iconic behavior tbh 🫢


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, no cap β€” go read these too:


πŸ’€ reminder: this is the disable one. if you actually WANT the watermark interrupt, you want __ssp_enable_txwm(9) β€” please don't mix them up bestie, i'm begging πŸ™ˆ

okay that's the page!! she lives in ./drivers/tty/serial, she's from October 2026, and yes the footer still says __ssp_disable_txwm(9) because we stay on brand πŸ’œπŸŒˆβ­

go off, kernel dev πŸ§šπŸ’–

πŸ“¦ where this page comes from