soctherm_oc_irq_lock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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


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