ENUM UART_PM_STATE(9)
π¦ enum uart_pm_state(9) π¦
okay so this is from the Kernel API Manual bestie, and it's literally just the vibe check for your UART's power situation π
β¨ NAME β¨
enum uart_pm_state β power states for UARTs β‘
β¨ SYNOPSIS β¨
enum uart_pm_state {
UART_PM_STATE_ON ,
UART_PM_STATE_OFF ,
UART_PM_STATE_UNDEFINED
};
β¨ Constants β¨
like, three whole moods and that's it π
UART_PM_STATE_ONβ UART is powered, up and operational π₯ she's awake, she's thriving, main character energy frUART_PM_STATE_OFFβ UART is powered off π΄ not me being asleep, no cap, fully unpoweredUART_PM_STATE_UNDEFINEDβ sentinel π the "idk her yet" placeholder, the little default icon of the group
π SEE ALSO π
Kernel file ./include/linux/serial_core.h
and then the whole friend group, iykyk:
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)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 go read the whole squad, they're all iconic, not a single flop in that list
okay that's the whole page bestie, no crumbs left π this one lives in ./include/linux, version tucked in October 2026, and it's filed under enum uart_pm_state(9) β slay, bye πβ¨
π¦ 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