uart_port_tx_limited_flags(9)
β¨ uart_port_tx_limited_flags β¨ β Kernel API Manual
Okay so bestie, picture this: you're deep in the kernel, you're doing UART transmit things, and you need a helper that's literally uart_port_tx_limited but with flags. That's this function. It's the transmit helper for uart_port with count limiting β with flags. The name says it all, periodt. π
πΈ SYNOPSIS πΈ
uart_port_tx_limited_flags (port , ch , flags , count , tx_ready ,
put_char , tx_done );
π ARGUMENTS π
These are the seven parameters you're working with, bestie β no cap, all of them matter:
portβ the uart port, your main character for this whole operationchβ a variable to store a character to be written to the HW, like a little character-holder bestieflagsβUART_TX_NOSTOPor similar, the vibe flags that ride along with this transmissioncountβ a limit of characters to send, the cap on how much we're doing todaytx_readyβ can HW accept more data function, the "are we still going?" checkput_charβ function to write a character, the actual scribe doing the worktx_doneβ function to call after the loop is done, the afterparty callback π
π DESCRIPTION π
See uart_port_tx_limited for more details. That's the whole tea β this page is the flags-flavoured sibling of that one, so if you need the full lore, go read that. This page is short and iconic and knows exactly what it is. π«Ά
π SEE ALSO π
All the related reads, linked for your convenience:
- Kernel file
./include/linux/serial_core.h struct uart_ops(9)uart_port_set_cons(9)uart_port_lock(9)uart_port_lock_irq(9)uart_port_lock_irqsave(9)uart_port_trylock(9)uart_port_trylock_irqsave(9)uart_port_unlock(9)uart_port_unlock_irq(9)uart_port_unlock_irqrestore(9)enum uart_pm_state(9)uart_xmit_advance(9)enum UART_TX_FLAGS(9)uart_port_tx_limited(9)uart_port_tx(9)uart_port_tx_flags(9)
So yeah, that's the whole manual, bestie. This gem lives in ./include/linux, dated October 2026, and it's brought to you as uart_port_tx_limited_flags(9) β go transmit responsibly with your flags and count limits. Slay. π₯π
π¦ 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