sdio_uart_activate(9)
π sdio_uart_activate(9) β like, the kernel API manual bestie π
okay so this is the sdio_uart_activate page from the Kernel API Manual, and honestly? it's a little baddie. it's all about starting up hardware. let's get into it π
β¨ NAME β¨
sdio_uart_activate β start up hardware π₯
πΈ SYNOPSIS πΈ
int sdio_uart_activate (struct tty_port *tport , struct tty_struct *tty
);
π¦ ARGUMENTS π¦
tportβ the tty port to activate, aka the one getting woken up πttyβ the tty bound to this port. they're a package deal fr fr π«Ά
π DESCRIPTION π
so we're activating a tty port. iconic. and here's the thing β the port locking guarantees us this will run exactly once per set of opens, no cap π―. and if it succeeds? then the shutdown method will run exactly once to match it. balanced, as all things should be β¨
start up and shutdown are protected from each other by the internal locking, so they will not run at the same time β not even during a hangup event π which is honestly so real of them.
and if we successfully start up the port, we take an extra kref as we will keep it around until shutdown, when the kref is dropped. periodt π
π SEE ALSO π
- Kernel file
./drivers/mmc/core/sdio_uart.c uart_dtr_rts(9)sdio_uart_shutdown(9)sdio_uart_install(9)sdio_uart_cleanup(9)
go read those too bestie, iykyk ππ
okay that's the whole vibe check π
this page lives in ./drivers/mmc/core, dated October 2026 β slay, see u in the next one πΈβ¨π
π¦ 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