__ssp_disable_txwm(9)
π __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 astruct 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:
- Kernel file
./drivers/tty/serial/sifive.candstruct 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_rxwm(9)__ssp_receive_char(9)__ssp_receive_chars(9)__ssp_update_div(9)__ssp_update_baud_rate(9)__ssp_set_stop_bits(9)__ssp_wait_for_xmitr(9)sifive_serial_clk_notifier(9)
π 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
- 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