_exar_mpio_set(9)
β¨ NAME β¨
okay so bestie, welcome to the Kernel API Manual entry for _exar_mpio_set β and it does exactly what the name says: Set an Exar MPIO output high or low. π
β¨
π SYNOPSIS π
int _exar_mpio_set (struct exar8250 *priv , unsigned int mpio_num , bool
high );
π ARGUMENTS π
privβ Device's private structure. It's the device's own little private-structure home base.mpio_numβ MPIO number/offset to set. Slay, specific pin energy.highβ Set MPIO high iftrue, low iffalse. The whole vibe check right there.
π₯ DESCRIPTION π₯
Set a single MPIO high or low. Lowkey simple, highkey important. π«Ά
You also need to call exar_mpio_config_output to configure the pin as an output β the page literally says exar_mpio_config_output must also be called, so don't skip it, bestie. No cap.
β RETURN β
0 on success, negative error code on failure. That's the whole return situation. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/tty/serial/8250/8250_exar.c - struct
exar8250_board(9) exar_mpio_config_output(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)
cute sign-off bestie: this page's source/version is ./drivers/tty/serial/8250, and it's dated October 2026 β mwah, go set those MPIOs πβ¨π
π¦ 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