exar_mpio_config_output(9)
π exar_mpio_config_output β like, the KERNEL API MANUAL one, bestie
okay so real talk, this is page exar_mpio_config_output(9) from the Kernel API Manual, and it's honestly kind of a vibe. she's short, she's sweet, she turns an Exar MPIO into an output. slay.
β¨ NAME β¨
exar_mpio_config_output β configure an Exar MPIO as an output π
πΈ SYNOPSIS πΈ
int exar_mpio_config_output (struct exar8250 *priv , unsigned int
mpio_num );
like yes, that's the whole signature, no cap π«Ά
π¦ ARGUMENTS π¦
privβ the device's private structure, aka where all the juicy private info lives πmpio_numβ the MPIO number/offset you're configuring. pick your fave. it's giving "which one, bestie" β¨
π DESCRIPTION π
so what she does is: configure a single MPIO as an output and disable tristate. that's the whole job. iconic behavior honestly π
β οΈ real talk though β it is recommended that you set the level withexar_mpio_set_high/exar_mpio_set_lowprior to calling this function, so you can ensure the default MPIO pin state. don't skip this step bestie, it's lowkey important π
π₯ RETURN π₯
0on success π- a negative error code on failure π
periodt.
π SEE ALSO π
- the kernel file
./drivers/tty/serial/8250/8250_exar.cβ go read her, she's the main character π struct exar8250_board(9)_exar_mpio_set(9)cti_tristate_disable(9)cti_plx_int_enable(9)cti_read_osc_freq(9)cti_get_port_type_xr17c15x_xr17v25x(9)cti_get_port_type_fpga(9)cti_get_port_type_xr17v35x(9)
iykyk π§
okay that's the whole page, you ate that π this lil masterpiece lives in ./drivers/tty/serial/8250 and it's dated October 2026 β yes, October 2026, she's from the future and she's thriving β mwah π
π¦ 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