mux_write(9)
π mux_write(9) β like, the Kernel API Manual page, bestie π
okay so picture this: you're deep in the Kernel API Manual and you land on mux_write(9) and you're like "what does this even do" β don't worry, I got you. Sit down, hydrate, let's go β¨
πΈ NAME πΈ
mux_write β the function that writes chars into the mux fifo. That's it. That's the whole vibe. π«Ά
π¦ SYNOPSIS π¦
void mux_write (struct uart_port *port );
literally one argument, one return type of void, no drama π
β ARGUMENTS β
portβ a ptr to theuart_port. yes bestie, a pointer. it's giving "structure reference" energy and we respect it π
π DESCRIPTION π
So here's the tea β: this function writes all the data from the uart buffer over into the mux fifo. Every last char. Not some of it, not a little snack of it β all of it. slay π₯
no cap, that's genuinely the whole description. short and iconic, main character energy fr fr β¨
π SEE ALSO π
omg the friend group π these are all the mux functions you should go say hi to, plus the kernel file they live in:
- kernel file
./drivers/tty/serial/mux.c 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_read(9)mux_startup(9)mux_shutdown(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)
aaaand that's the page!! π tysm for reading, you ate that ngl π
okay so the sign-off: this whole thing lives under ./drivers/tty/serial and it's dated October 2026 β so yeah, it's from the future, we love a timestamp that ate πβ¨ byeeee π¦
π¦ 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