uart_port_unlock_irqrestore(9)
π uart_port_unlock_irqrestore(9) β Kernel API Manual β¨
πΈ NAME πΈ
okay bestie, uart_port_unlock_irqrestore is literally the βunlock the UART port, restore interruptsβ era π
it does exactly what it says on the label, no cap.
β¨ SYNOPSIS β¨
void uart_port_unlock_irqrestore (struct uart_port *up , unsigned long
flags );
π ARGUMENTS π
upβ pointer to the UART port structure π«Ά like, the actual port weβre unlocking, main character energy only.flagsβ the saved interrupt flags for restore β¨ keep them safe, then put them back, iykyk.
π¦ SEE ALSO π¦
the whole friend group:
- Kernel file
./include/linux/serial_core.handstruct 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)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)
source/version: ./include/linux Β· date: October 2026 β uart_port_unlock_irqrestore(9) signing 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