STRUCT TLMM_TEST_PRIV(9)
π struct tlmm_test_priv(9) π
okay so picture this: it's a page straight out of the Kernel API Manual, and it's literally just the per-test context struct. yeah. per-test context. that's the whole vibe. she's a little bookkeeping queen and she ate π
β¨ NAME β¨
struct tlmm_test_priv β the per-test context, no cap π«Ά
πΈ SYNOPSIS πΈ
struct tlmm_test_priv {
atomic_t intr_count;
atomic_t thread_count;
unsigned int intr_op;
atomic_t intr_op_remain;
unsigned int thread_op;
atomic_t thread_op_remain;
};
like, look at her. six fields. all business. mostly atomic_t because we're being β¨responsibleβ¨ in IRQ context, and two plain unsigned ints doing their own thing. iconic.
π Members π
intr_countβ the number of times the hard handler got hit while theTLMM_TEST_COUNTop was set. it's literally counting the hits, bestie π₯thread_countβ same energy, different handler: the number of times the thread handler was hit while theTLMM_TEST_COUNTop was set πΈintr_opβ the operations that the hard IRQ handler is supposed to perform. that's her whole job πintr_op_remainβ how many times theTLMM_TEST_THEN_*operations should still be performed by the hard IRQ handler. yes it's a countdown, yes it's main character energy βthread_opβ the operations the threaded IRQ handler is supposed to perform. threaded handler's turn to shine πthread_op_remainβ how many times theTLMM_TEST_THEN_*operations should still be performed by the threaded IRQ handler. remaining-count-down but make it threaded π¦
ngl the whole struct is just counters and pending-op bookkeeping so the hard handler and the threaded handler each know what they're doing and how many times they're doing it. two ops, two remain-counters, two hit-counters. gender equality in the interrupt pipeline fr fr π
π SEE ALSO π
- Kernel file
./drivers/pinctrl/qcom/tlmm-test.cβ go read the source, it's giving lore π
and that's the page!! tysm for coming to my ted talk π«Ά the footer energy: this one lives in ./drivers/pinctrl/qcom, dated October 2026, and it's filed under struct tlmm_test_priv(9). slay, bye πβ¨
π¦ 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