STRUCT OMAP_VC_CHANNEL(9)
π NAME π
okay bestie, welcome to the struct omap_vc_channel(9) page from the Kernel API Manual β¨ this one is literally the VC per-instance data struct, and it's giving per-channel VC realness. no cap, that's the whole name section π«Ά
β¨ SYNOPSIS β¨
struct omap_vc_channel {
u16 i2c_slave_addr;
u16 volt_reg_addr;
u16 cmd_reg_addr;
u8 cfg_channel;
bool i2c_high_speed;
const struct omap_vc_common *common;
u32 smps_sa_mask;
u32 smps_volra_mask;
u32 smps_cmdra_mask;
u8 cmdval_reg;
u8 smps_sa_reg;
u8 smps_volra_reg;
u8 smps_cmdra_reg;
u8 cfg_channel_reg;
u8 cfg_channel_sa_shift;
u8 flags;
};
π§ Members π§
i2c_slave_addrβ the I2C slave address of the PMIC for this VC channel πvolt_reg_addrβ the address of the voltage configuration register β‘cmd_reg_addrβ the address of the command configuration register πcfg_channelβ the current value of the VC channel configuration register πΈi2c_high_speedβ boolean vibe check: whether or not to use I2C high-speed mode π¦commonβ pointer to the VC common data for this platform π«Άsmps_sa_maskβ the i2c slave address bitmask in thePRM_VC_SMPS_SAregister π₯smps_volra_maskβ theVOLRA*bitmask in thePRM_VC_VOL_RAregister β¨smps_cmdra_maskβ theCMDRA*bitmask in thePRM_VC_CMD_RAregister πcmdval_regβ register for theon/ret/offvoltage level values for this channel πsmps_sa_regβ offset of thePRM_VC_SMPS_SAreg from PRM start πsmps_volra_regβ offset of thePRM_VC_SMPS_VOL_RAreg from PRM start βsmps_cmdra_regβ offset of thePRM_VC_SMPS_CMD_RAreg from PRM start πcfg_channel_regβ the VC channel configuration register πcfg_channel_sa_shiftβ bit shift for the slave address in thecfg_channelregister π§flagsβ VC channel-specific flags, and yes they're optional π
π SEE ALSO π
- the kernel file
./arch/arm/mach-omap2/vc.hπ - the
struct omap_vc_common(9)page, bestie π«Ά
this cutie page is serving source <./arch/arm/mach-omap2>, date <October 2026>, and manual struct omap_vc_channel(9) β mwah, ty for reading π
π¦ 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