soctherm_oc_irq_lock(9)
π soctherm_oc_irq_lock(9) π
okay so bestie, this one comes from the Kernel API Manual and it's a tiny but iconic lock helper. no cap, it's giving βmutex gatekeeper for the over-current IRQβ energy π«Ά
πΈ NAME πΈ
soctherm_oc_irq_lock β locks the over-current interrupt request β¨
β¨ SYNOPSIS β¨
void soctherm_oc_irq_lock (struct irq_data *data );
π ARGUMENTS π
dataβ Interrupt request data. that's the IRQ data this helper works from, periodt π
π DESCRIPTION π
So here's the tea: soctherm_oc_irq_lock looks up the chip data from data and then locks the mutex associated with a particular over-current interrupt request. literally that's the whole flex ππ₯
It's void, so it doesn't hand you a return value back β it just does the lookup-and-lock thing, no extra drama π
bestie note: the βparticular over-current interrupt requestβ part is important β it's not a generic lock-everything situation, it's that specific IRQ's mutex π
π¦ SEE ALSO π¦
Kernel file ./drivers/thermal/tegra/soctherm.c
The whole reference squad:
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_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_cfg(9)throttlectl_cpu_level_select(9)throttlectl_cpu_mn(9)throttlectl_gpu_level_select(9)soctherm_throttle_program(9)
and that's the page, bestie π source/version: ./drivers/thermal/tegra β’ date: October 2026 β’ page: soctherm_oc_irq_lock(9) β go off, kernel queen ππ
π¦ 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