STRUCT OMAP_VC_CHANNEL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 the PRM_VC_SMPS_SA register πŸ”₯
  • smps_volra_mask β€” the VOLRA* bitmask in the PRM_VC_VOL_RA register ✨
  • smps_cmdra_mask β€” the CMDRA* bitmask in the PRM_VC_CMD_RA register πŸ’œ
  • cmdval_reg β€” register for the on/ret/off voltage level values for this channel πŸ‘‘
  • smps_sa_reg β€” offset of the PRM_VC_SMPS_SA reg from PRM start 🌈
  • smps_volra_reg β€” offset of the PRM_VC_SMPS_VOL_RA reg from PRM start ⭐
  • smps_cmdra_reg β€” offset of the PRM_VC_SMPS_CMD_RA reg from PRM start πŸ“
  • cfg_channel_reg β€” the VC channel configuration register πŸŽ€
  • cfg_channel_sa_shift β€” bit shift for the slave address in the cfg_channel register 🧚
  • 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