tsens_irq_thread(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME

Okay bestie, this is tsens_irq_thread from the Kernel API Manual β€” the threaded interrupt handler for uplow interrupts. Yep, that's the whole name vibe. πŸ’…


✨ SYNOPSIS

irqreturn_t tsens_irq_thread (int irq , void *data );

🫢 ARGUMENTS

  • irq β€” the irq number, literally.
  • data β€” the tsens controller private data. Very private. πŸ™ˆ

πŸŽ€ DESCRIPTION

So the handler checks all the sensors to find the ones that violated their threshold limits. That's the main-character job. πŸ‘‘

If the temperature is still outside the limits, it calls thermal_zone_device_update to update the thresholds. Otherwise, it re-enables the interrupts. Slay. πŸ”₯

Now, the level-triggered interrupt might deassert if the temperature returned to within the threshold limits by the time the handler got scheduled. And when that happens? We consider the irq to have been handled. No drama, no cap. πŸ’–


🌈 RETURN

IRQ_HANDLED β€” that's the return, periodt. πŸ’…


πŸ¦‹ SEE ALSO


This little icon lives under ./drivers/thermal/qcom, dated October 2026, and it's tsens_irq_thread(9) all the way down. Byeeee πŸ’–βœ¨

πŸ“¦ where this page comes from