STRUCT RPMH_REQUEST(9)
β¨ struct rpmh_request(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for struct rpmh_request π β literally the little message bundle that gets sent over to rpmh-rsc. it's giving "envelope with your whole request inside" energy, and honestly? iconic π¦.
π NAME
struct rpmh_request β the message to be sent to rpmh-rsc π¨
πΈ SYNOPSIS
struct rpmh_request {
struct tcs_request msg;
struct tcs_cmd cmd[MAX_RPMH_PAYLOAD];
struct completion *completion;
const struct device *dev;
bool needs_free;
};
no cap, that's the whole shape of it. copy it exactly, don't be out here renaming fields π.
π Members
msgβ the request itself, the main character of the struct πcmdβ the payload that will be part of themsg, i.e. the actual goodies riding along with the request πcompletionβ triggered when request is done β¨ (so like, the "we're so back" notification)devβ the device making the request, aka who's asking π«Άneeds_freeβ check to free dynamically allocated request object π β yes queen, do your cleanup, memory leaks are not the vibe π
lowkey important: that last one is a flag you check before freeing a dynamically allocated request object. keep it tidy π§
π SEE ALSO
Kernel file ./drivers/soc/qcom/rpmh-internal.h β plus these absolute legends:
struct tcs_group(9)struct rpmh_ctrlr(9)struct rsc_drv(9)
go read them, iykyk ππ
that's the whole page bestie, no filler, fr fr π
source: ./drivers/soc/qcom Β· dated October 2026 Β· struct rpmh_request(9)
mwah, go slay your RPMh requests ππ β¨
π¦ 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