STRUCT TCS_CMD(9)
π NAME β struct tcs_cmd(9) π
okay so bestie, welcome to the Kernel API Manual page for struct tcs_cmd(9) β and struct tcs_cmd is literally an individual request to RPMH. iconic little request behavior β¨
π¦ SYNOPSIS π¦
struct tcs_cmd {
u32 addr;
u32 data;
u32 wait;
};
π Members π
addrβ the address of the resourceslv_id:18:16 | offset:0:15. location, location, location β¨dataβ the resource state request. the actual ask πwaitβ ensure that this command is complete before returning. wait means wait, bestie β³
okay so setting wait here only makes sense during rpmh_write_batch for active-only transfers, this is because:
rpmh_writeβ Always waits.(DEFINE_RPMH_MSG_ONSTACK will set .wait_for_compl)always waits, no cap π°οΈrpmh_write_asyncβ Never waits.(There's no request completion callback)never waits, periodt π
π₯ SEE ALSO π₯
- Kernel file
./include/soc/qcom/tcs.h struct tcs_request(9)
okay bye bestie, this cutie lives in ./include/soc/qcom, October 2026 edition, and itβs the struct tcs_cmd(9) page β mwah ππ
π¦ 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