get_mux_port_count(9)
π
get_mux_port_count π
okay bestie, welcome to a (9) page from the Kernel API Manual β yes, kernel docs can be cute too, and this one is literally about counting Mux ports, no cap π«Άβ¨
β¨ NAME β¨
get_mux_port_count β Get the number of available ports on the Mux.
πΈ SYNOPSIS πΈ
int get_mux_port_count (struct parisc_device *dev );
π ARGUMENTS π
devβ The parisc device. that's the vibe, that's the input π
π¦ DESCRIPTION π¦
Okay so this function is used to determine the number of ports the Mux supports. slay. π
The IODC data reports the number of ports the Mux can support, but there are cases where not all the Mux ports are connected. lowkey important, fr fr. This function can override the IODC and return the true port count. periodt π¦β¨
π SEE ALSO π
Kernel file ./drivers/tty/serial/mux.c and the whole iconic mux bestie lineup, iykyk:
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_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)
byeee π«Ά this page is from ./drivers/tty/serial, dated October 2026, and it's get_mux_port_count(9) β 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