soctherm_oc_irq_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the struct 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:

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