STRUCT OMAP_VC_CHANNEL_CFG(9)
π struct omap_vc_channel_cfg(9) β NAME π
okay so bestie, welcome to the Kernel API Manual page for struct omap_vc_channel_cfg, and it's literally exactly what it sounds like: this struct is here to describe the cfg_channel bitfield. that's the whole job. iconic of it honestly π«Ά
β¨ SYNOPSIS β¨
struct omap_vc_channel_cfg {
u8 sa;
u8 rav;
u8 rac;
u8 racen;
u8 cmd;
};
like, that's the whole struct. five lil u8 fields, no cap π¦
πΈ Members πΈ
bestie these are the members, memorize them, they're all just bits doing their lil bit (pun intended π):
saβ the bit for the slave address πravβ the bit for the voltage configuration register β‘racβ the bit for the command configuration register πracenβ the enable bit for RAC πcmdβ the bit for command value set selection π―
π¦ Description π¦
so these are the channel configuration bits, and they're common for OMAP3+. and because every OMAP generation wanted to be a lil different (main character energy fr fr), here's where each one keeps its bits:
- OMAP3 register:
PRM_VC_CH_CONF - OMAP4 register:
PRM_VC_CFG_CHANNEL - OMAP5 register:
PRM_VC_SMPS_<voltdm>_CONFIGβ yes that's<voltdm>as a placeholder, it's a whole vibe check per voltage domain, iykyk π
ngl the naming across generations is giving "we changed our minds three times" and honestly? relatable.
π SEE ALSO π
go read the kernel file ./arch/arm/mach-omap2/vc.c and also these absolute icons:
omap_vc_config_channel(9)omap3_set_i2c_timings(9)omap3_set_off_timings(9)omap4_calc_volt_ramp(9)omap4_usec_to_val_scrm(9)omap4_set_timings(9)omap4_vc_i2c_timing_init(9)omap_vc_i2c_init(9)omap_vc_calc_vsel(9)
and that's the page!! π this cutie lives in ./arch/arm/mach-omap2, it's dated October 2026, and it's the struct omap_vc_channel_cfg(9) manual page under the Kernel API Manual. slay, go read your registers 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