fsl_diu_name_to_port(9)
π NAME π
From the Kernel API Manual, page fsl_diu_name_to_port(9): fsl_diu_name_to_port β convert a port name to a monitor port enum. That's the whole vibe, bestie. β¨
πΈ SYNOPSIS πΈ
enum fsl_diu_monitor_port fsl_diu_name_to_port (const char *s );
π ARGUMENTS π
sβ-- undescribed --π fr fr, the page literally doesn't describe it beyond that.
π¦ DESCRIPTION π¦
Okay so fsl_diu_name_to_port() takes the name of a monitor port β "dvi", "lvds", or "dlvds" β and returns the enum fsl_diu_monitor_port that corresponds to that string. Slay. π
For compatibility with older versions, a number is also supported: "0", "1", or "2". Legacy stays iconic, no cap. π«Ά
If the string is unknown, DVI is assumed. That's the default, bestie. π
If the particular port is not supported by the platform, another port (platform-specific) is chosen instead. So the platform can swap in its own fave. π
π SEE ALSO π
- Kernel file
./drivers/video/fbdev/fsl-diu-fb.c struct fsl_diu_data(9)fsl_diu_get_pixel_format(9)
xoxo, this fsl_diu_name_to_port(9) page is sourced from ./drivers/video/fbdev and dated October 2026 β bye bestie πβ¨
π¦ 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