tsens_combined_irq_thread(9)
π tsens_combined_irq_thread(9) π
okay bestie, buckle up, this one's from the Kernel API Manual and it's lowkey iconic. it's giving "thermal driver internals" and honestly? we're obsessed.
β¨ NAME β¨
tsens_combined_irq_thread β the threaded interrupt handler for combined interrupts π
like literally, that's her whole job. no cap.
πΈ SYNOPSIS πΈ
irqreturn_t tsens_combined_irq_thread (int irq , void *data );
π¦ ARGUMENTS π¦
irqβ the irq number π (yes that's it, that's the whole personality)dataβ the tsens controller's private data π«Ά (the sacred vibes package)
π₯ DESCRIPTION π₯
so here's the tea: this handler takes the combined interrupt and treats it as if it were 2 separate interrupts. the way that works is β
- call the critical handler first π
- then call the up/low one β¨
critical first, always. main character energy. periodt.
β RETURN β
IRQ_HANDLED π that's it. that's the return. she handled it.
π SEE ALSO π
- the kernel file
./drivers/thermal/qcom/tsens.cπ struct tsens_irq_data(9)tsens_read_temp(9)tsens_hw_to_mC(9)tsens_mC_to_hw(9)tsens_set_interrupt(9)tsens_threshold_violated(9)tsens_critical_irq_thread(9)tsens_irq_thread(9)
iykyk, the whole tsens friend group is here π§
anyway that's the whole page bestie, go read the source, slay π
this lil masterpiece lives in ./drivers/thermal/qcom, dated October 2026 β mwah, xoxo ππ
π¦ 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