throttlectl_cpu_level_cfg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is throttlectl_cpu_level_cfg(9) from the Kernel API Manual β€” the kernel function that programs CCROC NV_THERM level config. That’s the whole name vibe ✨

✨ SYNOPSIS ✨

void throttlectl_cpu_level_cfg (struct tegra_soctherm *ts , int level );

πŸŽ€ ARGUMENTS πŸŽ€

  • ts β€” a pointer to a struct tegra_soctherm, literally handing over the soctherm struct πŸ’…
  • level β€” describing the level LOW/MED/HIGH of throttling, so it tells you which throttle level we’re setting up.

πŸ”₯ DESCRIPTION πŸ”₯

okay so real talk: it’s necessary to set up the CPU-local CCROC NV_THERM instance with the M/N values desired for each level. This function does that. No cap 🫢

This function pre-programs the CCROC NV_THERM levels in terms of the pre-configured "Low", "Medium", or "Heavy" throttle levels, which are mapped to THROT_LEVEL_LOW, THROT_LEVEL_MED, and THROT_LEVEL_HVY. So like, it’s giving level config main character energy πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/thermal/tegra/soctherm.c β€” and the whole friend group is:

mwah πŸ’‹ β€” source/version is ./drivers/thermal/tegra, and the date stamp is October 2026. periodt 🫢✨

πŸ“¦ where this page comes from