tcs_tx_done(9)
π tcs_tx_done(9) π
okay so bestie, welcome to the kernel API manual, this one's tcs_tx_done and it's literally the TX Done interrupt handler, no cap β¨
πΈ NAME πΈ
tcs_tx_done β the TX Done interrupt handler π
that's the whole vibe, she handles it and she's done
π SYNOPSIS π
irqreturn_t tcs_tx_done (int irq , void *p );
like, that's the whole signature, look at her go π¦
β¨ ARGUMENTS β¨
irqβ the IRQ number. and honestly? she's ignored π literally does not get looked at, don't worry about herpβ a pointer to"struct rsc_drv", that's the goods, that's what we actually care about π
π₯ DESCRIPTION π₯
so this one gets called for ACTIVE_ONLY transfers β and yes those are the only ones we even enable the IRQ for, iykyk β specifically when a transfer is done π«
that's it, that's the job, and she ate π
π«Ά RETURN π«Ά
IRQ_HANDLED β that's the answer, always, periodt β
π SEE ALSO π
the kernel file ./drivers/soc/qcom/rpmh-rsc.c and honestly the whole friend group:
tcs_invalidate(9)rpmh_rsc_invalidate(9)get_tcs_for_msg(9)get_req_from_tcs(9)__tcs_set_trigger(9)enable_tcs_irq(9)__tcs_buffer_write(9)check_for_req_inflight(9)find_free_tcs(9)claim_tcs_for_req(9)rpmh_rsc_send_data(9)find_slots(9)rpmh_rsc_write_ctrl_data(9)rpmh_rsc_ctrlr_is_busy(9)rpmh_rsc_write_next_wakeup(9)rpmh_rsc_cpu_pm_callback(9)rpmh_rsc_pd_callback(9)
go read them, they're iconic, all of them π
and that's the page bestie π this one lives in ./drivers/soc/qcom, dated October 2026, and it's from the Kernel API Manual β mwah, love u, go handle some interrupts π
β¨π
π¦ 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