mux_shutdown(9)
π mux_shutdown β a Kernel API Manual moment π
okay so bestie, welcome to mux_shutdown(9) β yes that's the page name and the function name, we love a consistent icon β¨ this one lives in the Kernel API Manual, and it's short, it's sweet, it's giving "one job and she does it."
πΈ NAME πΈ
mux_shutdown β disable the port. that's it. that's the whole vibe. no cap π
β¨ SYNOPSIS β¨
void mux_shutdown (struct uart_port *port );
literally just one argument, she's low-maintenance π
π¦ ARGUMENTS π¦
portβ a pointer to theuart_port. like, the port you're about to shut down. that's your girl π«Ά
π DESCRIPTION π
release any resources needed for the port.
that's the entire description bestie, i'm not even kidding π it's short but it matters β anything the port was holding onto gets let go. clean exit, main character energy, no loose ends π
π₯ SEE ALSO π₯
okay this section is the actual group chat invite list, look at all these siblings π§:
Kernel file ./drivers/tty/serial/mux.c β go read the source, iykyk π
and then, in the order they're listed:
get_mux_port_count(9)mux_tx_empty(9)mux_set_mctrl(9)mux_get_mctrl(9)mux_stop_tx(9)mux_start_tx(9)mux_stop_rx(9)mux_break_ctl(9)mux_write(9)mux_read(9)mux_startup(9)mux_set_termios(9)mux_type(9)mux_release_port(9)mux_request_port(9)mux_config_port(9)mux_verify_port(9)mux_poll(9)mux_probe(9)mux_init(9)mux_exit(9)
like honestly? a whole ensemble cast. every one of them ate ππ₯
ngl bestie, if you're poking at serial mux stuff, start withmux_startup(9)and end here withmux_shutdown. balance. symmetry. slay π
sign-off time, mwah π β this lil page came from ./drivers/tty/serial, dated October 2026, and it's serving mux_shutdown(9) realness. periodt. πβ¨π¦
π¦ 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