STRUCT OMAP_SR_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct omap_sr_data(9) πŸŽ€

okay bestie so this is straight out of the Kernel API Manual and it's literally the blueprint for struct omap_sr_data β€” the Smartreflex platform data situation. periodt. let's get into it πŸ’…


✨ NAME ✨

struct omap_sr_data β€” Smartreflex platform data. that's it, that's the vibe 🫢


🌸 SYNOPSIS 🌸

struct omap_sr_data {
    const char                      *name;
    int ip_type;
    u32 senp_mod;
    u32 senn_mod;
    u32 err_weight;
    u32 err_maxlimit;
    u32 accum_data;
    u32 senn_avgweight;
    u32 senp_avgweight;
    int nvalue_count;
    struct omap_sr_nvalue_table     *nvalue_table;
    struct voltagedomain            *voltdm;
 };

like, look at her. main character struct energy fr fr πŸ‘‘


🧚 Members 🧚

okay so every field gets its moment, no skipping, we don't do that here πŸ’–

  • name β€” the instance name. like a little name tag but for your SR instance ✨
  • ip_type β€” the Smartreflex IP type. iykyk 🌈
  • senp_mod β€” the SENPENABLE value of the sr CONFIG register πŸ“
  • senn_mod β€” the SENNENABLE value for the sr CONFIG register 🌸
  • err_weight β€” the ERRWEIGHT value of the sr ERRCONFIG register πŸ’œ
  • err_maxlimit β€” the ERRMAXLIMIT value of the sr ERRCONFIG register 😭
  • accum_data β€” the ACCUMDATA value of the sr CONFIG register πŸ”₯
  • senn_avgweight β€” the SENNAVGWEIGHT value of the sr AVGWEIGHT register πŸ’€
  • senp_avgweight β€” the SENPAVGWEIGHT value of the sr AVGWEIGHT register 🌟
  • nvalue_count β€” the number of distinct nvalues in the nvalue table. counting era πŸ”’
  • nvalue_table β€” the table containing the efuse offsets and nvalues corresponding to them πŸŽ€
  • voltdm β€” pointer to the voltage domain associated with the SR. pointer bestie 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/linux/power/smartreflex.h struct omap_sr_pmic_data(9), struct omap_smartreflex_dev_attr(9), struct omap_sr_class_data(9), struct omap_sr_nvalue_table(9)

like go read those too, they're all in the same friend group fr fr πŸ’–


ngl the whole thing lives in ./include/linux/power and it's October 2026 coded. slay, bye bestie πŸ’…βœ¨πŸ¦‹
πŸ“¦ where this page comes from