STRUCT TEGRA_TSENSOR_GROUP(9)
π struct tegra_tsensor_group(9) β Kernel API Manual, bestie edition π
okay so this one is from the <pink>Kernel API Manual</pink>, and it's literally the whole glow-up guide to struct tegra_tsensor_group β the SOC_THERM sensor group data. it's giving "thermal management but make it fashion" β¨
πΈ NAME πΈ
struct tegra_tsensor_group β SOC_THERM sensor group data. that's it, that's the vibe π«Ά
β¨ SYNOPSIS β¨
here's the struct in all its glory, copy it exactly, no improvising π
struct tegra_tsensor_group {
const char *name;
u8 id;
u16 sensor_temp_offset;
u32 sensor_temp_mask;
u32 pdiv, pdiv_ate, pdiv_mask;
u32 pllx_hotspot_diff, pllx_hotspot_mask;
u32 thermtrip_enable_mask;
u32 thermtrip_any_en_mask;
u32 thermtrip_threshold_mask;
u32 thermctl_isr_mask;
u16 thermctl_lvl0_offset;
u32 thermctl_lvl0_up_thresh_mask;
u32 thermctl_lvl0_dn_thresh_mask;
};
π Members π
okay bestie, here's the roster β these are the fields the page actually introduces you to π
nameβ the short name of the temperature sensor group. like a nickname but official πidβ the numeric ID of the temperature sensor group. numbers are so main character π’sensor_temp_offsetβ the offset of theSENSOR_TEMP*register. where the tea is stored πsensor_temp_maskβ the bit mask for this sensor group inside theSENSOR_TEMP*register. yes queen, mask it πpdivβ the sensor count post-divider to use during runtime. the everyday fit πΈpdiv_ateβ the sensor count post-divider used during automated test. the test-day fit π§pdiv_maskβ the register bitfield mask for thePDIVfield for this sensor. very demure, very masked β¨pllx_hotspot_diffβ the hotspot offset from thePLLXsensor, must be 0 for β and yeah, the sentence in the original page literally trails off right there π not me leaving it exactly as it is, because facts are facts π«Άpllx_hotspot_maskβ the register bitfield mask for theHOTSPOTfield. mask on, mask off π₯
heads up bestie π the struct up top also hasthermtrip_enable_mask,thermtrip_any_en_mask,thermtrip_threshold_mask,thermctl_isr_mask,thermctl_lvl0_offset,thermctl_lvl0_up_thresh_maskandthermctl_lvl0_dn_thresh_maskβ but this page doesn't say a single word about what they do, so i'm not gonna make it up. no invented lore on my watch π
π¦ SEE ALSO π¦
- the kernel file
./drivers/thermal/tegra/soctherm.hβ go read it, iykyk π
and that's the page!! no cap, you ate this one π
signing off from ./drivers/thermal/tegra, edition of October 2026, struct tegra_tsensor_group(9) β mwah, love u, go stay cool (literally, thermal sensors) ππ
π¦ 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