rpmh_rsc_write_next_wakeup(9)
π rpmh_rsc_write_next_wakeup(9) β like, the Kernel API Manual page, bestie π
okay so this is a page from the Kernel API Manual, and it's literally called rpmh_rsc_write_next_wakeup(9). yes that's a mouthful, we're gonna get through it together π«Ά
β¨ NAME β¨
rpmh_rsc_write_next_wakeup β writes the next wakeup into CONTROL_TCS. that's it. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
void rpmh_rsc_write_next_wakeup (struct rsc_drv *drv );
like, it returns nothing (void), it takes one thing, and its name is a whole paragraph. iconic honestly π
β ARGUMENTS β
drvβ the controller. yep, that's the one (1) argument. she's the controller. main character energy fr fr π
π₯ DESCRIPTION π₯
so here's the tea β β when someone calls this function, what it writes depends on where you're calling it from, and that's the whole plot:
- called from suspend β it writes the maximum wakeup cycles. like, going all out, the max.
- called from idle β it writes the earliest
hrtimerwakeup instead. different vibe, different number. π
same function, two completely different moods depending on context. no cap. lowkey obsessed with how that works ngl β¨
π¦ SEE ALSO π¦
okay bestie, buckle up, because there's a whole squad here π these all live in the kernel file ./drivers/soc/qcom/rpmh-rsc.c and they're all (9) manual pages too:
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_tx_done(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_cpu_pm_callback(9)rpmh_rsc_pd_callback(9)
that's seventeen friends and every single one of them is a whole (9) page. the friend group is large, and honestly? goals π
π real talk tho: this page tells you exactly two behaviours β max wakeup cycles from suspend, earliest hrtimer wakeup from idle. don't go reading anything else into it, i'm not gonna make stuff up for you, that's not the vibe π
and that's the page!! mwah, love u, go read ./drivers/soc/qcom things π β this lil writeup dropped October 2026, from the source path ./drivers/soc/qcom, and it's all about rpmh_rsc_write_next_wakeup(9) β¨ππ«Ά you're gonna slay this
π¦ 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