soctherm_oc_irq_disable(9)
π soctherm_oc_irq_disable(9) β¨
okay so real talk, this is a page straight out of the Kernel API Manual, and it's about one tiny little function that does one tiny little job, and honestly? she eats. let's get into it bestie π«Ά
πΈ NAME πΈ
soctherm_oc_irq_disable β the function that disables overcurrent interrupt requests. that's it. that's her whole personality. and honestly, iconic of her to be so focused π
β¨ SYNOPSIS β¨
void soctherm_oc_irq_disable (struct irq_data *data );
no return value, one argument, zero drama. periodt. π
π¦ ARGUMENTS π¦
dataβ the interrupt request information. yes that's the whole description. she's giving "no notes, just vibes" but like, in a legit kernel-docs way π this is thestruct irq_data *you're handing over, and it carries the info about the interrupt request.
π§ DESCRIPTION π§
so what does she actually do? she clears the interrupt request enable bit of the overcurrent interrupt request chip data. lowkey simple, highkey important. one bit, cleared, done, main character energy only π
like β overcurrent interrupt request? not today. the enable bit gets cleared and the interrupt request chip data says "not it" π
β RETURN β
Nothing is returned β it's a void function, bestie. she gives nothing and she takes nothing. she simply does the bit-clearing and dips πβοΈ
π₯ SEE ALSO π₯
okay this is the part where the friend group shows up. whole squad, no cap. the kernel file is ./drivers/thermal/tegra/soctherm.c and here's everyone:
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_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)
note the sibling energy: soctherm_oc_irq_enable(9) turns it on, soctherm_oc_irq_disable(9) turns it off, soctherm_oc_irq_lock(9) and soctherm_oc_irq_sync_unlock(9) keep things from getting messy. balanced. as all things should be π
π tiny reminder: this page lives in ./drivers/thermal/tegra β that's the source tree home, iykyk.
and that's the whole page babes!! no crumbs left, every single reference accounted for, we love a complete read π this one's dated October 2026 and comes to you from ./drivers/thermal/tegra β so like, go clear that enable bit, bestie, and remember: void means she returns nothing but she still slays πβ¨
π¦ 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