uart_port_unlock_irq(9)
π uart_port_unlock_irq π
okay so bestie, welcome to the uart_port_unlock_irq(9) page from the Kernel API Manual β this is the little function that lets the UART port go and turns interrupts back on, and honestly? it's giving relief-after-a-long-hug energy π«Ά
β¨ NAME β¨
uart_port_unlock_irq β unlock the UART port and re-enable interrupts πβ‘
like, that's literally the whole job. unlock the port, interrupts back on. slay.
πΈ SYNOPSIS πΈ
void uart_port_unlock_irq (struct uart_port *up );
no return value, it just does the thing and dips π
π ARGUMENTS π
upβ pointer to the UART port structure. that's your port bestie, the one you're unlocking β¨
π¦ SEE ALSO π¦
the whole friend group, fr fr β go read these too:
- 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_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)
lowkey if you locked it, you gotta unlock it β that's the vibe check π
and that's the whole page, no cap π§ this one lives in ./include/linux, dated October 2026, and it's uart_port_unlock_irq(9) β now go unlock that port and let the interrupts breathe, mwah πππ
π¦ 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