intel_tcc_get_offset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is intel_tcc_get_offset(9) from the Kernel API Manual, and she has one very specific job: intel_tcc_get_offset returns the TCC Offset value to Tjmax. periodt πŸ’…


✨ SYNOPSIS ✨

int intel_tcc_get_offset (int cpu );

one int goes in, one int comes out, no cap 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • cpu β€” the cpu that the MSR should be run on. A negative value means any cpu. iykyk 🌸

🌸 DESCRIPTION 🌸

Get the TCC offset value to Tjmax. That's the whole vibe check.

The effective thermal throttling or TCC activation temperature equals "Tjmax" - "TCC Offset", in degrees C. so yes, the formula is literally right there and it's giving math class but make it thermal πŸ”₯


πŸ”₯ RETURN πŸ”₯

On success, you get the Tcc offset value in degrees C. Otherwise, you get a negative error code. that's it, that's the whole return arc 😭


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/thermal/intel/intel_tcc.c.

Also go say hi to these icons:


xoxo, your kernel bestie πŸ’œ β€” source/version: ./drivers/thermal/intel, dated October 2026, page: intel_tcc_get_offset(9) πŸŽ€βœ¨

πŸ“¦ where this page comes from