STRUCT OMAP_SR_DATA(9)
π 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β theSENPENABLEvalue of the srCONFIGregister πsenn_modβ theSENNENABLEvalue for the srCONFIGregister πΈerr_weightβ theERRWEIGHTvalue of the srERRCONFIGregister πerr_maxlimitβ theERRMAXLIMITvalue of the srERRCONFIGregister πaccum_dataβ theACCUMDATAvalue of the srCONFIGregister π₯senn_avgweightβ theSENNAVGWEIGHTvalue of the srAVGWEIGHTregister πsenp_avgweightβ theSENPAVGWEIGHTvalue of the srAVGWEIGHTregister π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
- 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