STRUCT OMAP_VC_COMMON(9)
πΈ struct omap_vc_common(9) πΈ
Okay so welcome to the Kernel API Manual page for struct omap_vc_common(9), bestie. This is the per-VC register/bitfield data struct, and we're gonna walk through every single field like the main characters they are. π
β¨ NAME β¨
struct omap_vc_common β per-VC register/bitfield data. That's the whole NAME section, periodt. π
β¨ SYNOPSIS β¨
Here's the struct definition, copied exactly because we do not mess with code, no cap:
struct omap_vc_common {
u32 cmd_on_mask;
u32 valid;
u8 bypass_val_reg;
u8 data_shift;
u8 slaveaddr_shift;
u8 regaddr_shift;
u8 cmd_on_shift;
u8 cmd_onlp_shift;
u8 cmd_ret_shift;
u8 cmd_off_shift;
u8 i2c_cfg_reg;
u8 i2c_cfg_clear_mask;
u8 i2c_cfg_hsen_mask;
u8 i2c_mcode_mask;
};
π Members π
cmd_on_maskβ ON bitmask inPRM_VC_CMD_VAL*register. iykyk, it's a whole mask moment. β¨validβVALIDbitmask inPRM_VC_BYPASS_VALregister. Valid bitmask energy, fr fr.bypass_val_regβ Offset ofPRM_VC_BYPASS_VALreg from PRM start. Reg-offset vibes. π¦data_shiftβDATAfield shift inPRM_VC_BYPASS_VALregister. Shift it, bestie. πΈslaveaddr_shiftβSLAVEADDRfield shift inPRM_VC_BYPASS_VALregister. SLAVEADDR shift moment. πregaddr_shiftβREGADDRfield shift inPRM_VC_BYPASS_VALregister. REGADDR shift slay. πcmd_on_shiftβONfield shift inPRM_VC_CMD_VAL_*register. ON shift, iconic. πcmd_onlp_shiftβONLPfield shift inPRM_VC_CMD_VAL_*register. ONLP shift, obsessed. βcmd_ret_shiftβRETfield shift inPRM_VC_CMD_VAL_*register. RET shift, periodt. π₯cmd_off_shiftβOFFfield shift inPRM_VC_CMD_VAL_*register. OFF shift, okay bestie. πi2c_cfg_regβ I2C configuration register offset. I2C config offset moment. π§i2c_cfg_clear_maskβ high-speed mode bit clear mask in I2C config register. Clear mask, okay? πi2c_cfg_hsen_maskβ high-speed mode bit field mask in I2C config register. High-speed mode field mask, slay. πi2c_mcode_maskβ MCODE field mask for I2C config register. MCODE mask, iconic. π«Ά
π Description π
Okay so the Description is literally just a double-XXX note, and it's giving "known weirdness" vibes:
β οΈ caveat: XXX One of cmd_on_mask and cmd_on_shift are not needed XXX VALID should probably be a shift, not a mask
That's the whole thing, bestie. No extra lore, no hidden extra claims, just that exact note. π
π¦ SEE ALSO π¦
Go look at these too, bestie:
- Kernel file:
./arch/arm/mach-omap2/vc.h struct omap_vc_channel(9)
xoxo π source: ./arch/arm/mach-omap2 Β· date: October 2026 Β· page: struct omap_vc_common(9)
π¦ 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