throttlectl_cpu_level_cfg(9)
π 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 astruct tegra_soctherm, literally handing over the soctherm struct πlevelβ describing the levelLOW/MED/HIGHof 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:
ccroc_writel(9)ccroc_readl(9)enforce_temp_range(9)thermtrip_program(9)throttrip_program(9)tegra_soctherm_set_hwtrips(9)soctherm_thermal_isr_thread(9)soctherm_oc_intr_enable(9)soctherm_handle_alarm(9)soctherm_edp_isr_thread(9)soctherm_edp_isr(9)soctherm_oc_irq_lock(9)soctherm_oc_irq_sync_unlock(9)soctherm_oc_irq_enable(9)soctherm_oc_irq_disable(9)soctherm_oc_irq_map(9)soctherm_irq_domain_xlate_twocell(9)soctherm_oc_int_init(9)soctherm_init_hw_throt_cdev(9)throttlectl_cpu_level_select(9)throttlectl_cpu_mn(9)throttlectl_gpu_level_select(9)soctherm_throttle_program(9)
mwah π β source/version is ./drivers/thermal/tegra, and the date stamp is October 2026. periodt π«Άβ¨
π¦ 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