uart_port_tx_flags(9)
π uart_port_tx_flags (kernel API manual, bestie edition)
okay so you're in the Kernel API Manual and the page you pulled up is uart_port_tx_flags, section 9. it's the transmit helper for uart_port β but make it flags. we love an option-forward king π
β¨ NAME β¨
uart_port_tx_flags β transmit helper for uart_port with flags π
π¦ SYNOPSIS π¦
uart_port_tx_flags (port , ch , flags , tx_ready , put_char );
πΈ ARGUMENTS πΈ
portβ the uart port. that's your main character right there πchβ a variable to store a character that's gonna be written to the HW. yes, it's a variable, not a value β it holds the char β¨flagsβUART_TX_NOSTOPor something similar. flags go here, bestie.tx_readyβ the "can HW accept more data" function. vibe check for the hardware π«Άput_charβ the function that writes a character. it does exactly what it says on the tin.
π DESCRIPTION π
okay so this is the short one, ngl. for the full story, go see uart_port_tx_limited β that's where all the details live, iykyk ππ
π SEE ALSO π
like literally all of these, they're iconic together:
- Kernel file
./include/linux/serial_core.hstruct 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_limited_flags(9)uart_port_tx(9)
and that's the whole page, bestie, no cap β¨ this little gem lives in ./include/linux and the version date on it is October 2026 β so yeah, from the future, slay π°οΈπ mwah, go read uart_port_tx_limited now fr fr π
π¦ 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