uart_port_lock(9)
okay bestie, welcome to uart_port_lock(9) π
this little page lives in the Kernel API Manual, and itβs giving βone job, done cute.β No cap. β¨
πΈ NAME πΈ
uart_port_lock β Lock the UART port πβ¨
π¦ SYNOPSIS π¦
void uart_port_lock (struct uart_port *up );
π ARGUMENTS π
upβ Pointer to UART port structure. Thatβs the UART port struct pointer, periodt. π«Ά
π SEE ALSO π
Like, go read these next, bestie β theyβre the whole friend group:
- Kernel file
./include/linux/serial_core.h,struct uart_ops(9) uart_port_set_cons(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)uart_port_tx_flags(9)
Reminder: every name here is literal. Copy the backticked bits exactly, iykyk. π
mwah π source/version ./include/linux, dated October 2026, page uart_port_lock(9) β thatβs the sign-off, 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