tcs_invalidate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, meet tcs_invalidate β€” this is the tcs_invalidate(9) page from the Kernel API Manual, and it has exactly one iconic job: invalidate all the TCSes of the type you hand it, whether that’s sleep or wake. Periodt. πŸ’…


✨ SYNOPSIS ✨

void tcs_invalidate (struct rsc_drv *drv , int type );

🫢 ARGUMENTS 🫢

  • drv β€” the RSC controller. main character hardware controller energy.
  • type β€” literally one of SLEEP_TCS or WAKE_TCS. that’s the vibe check. πŸ¦‹

πŸ’… DESCRIPTION πŸ’…

okay so this is gonna clear the "slots" variable of the given tcs_group, and it also tells the hardware to forget about all entries. no cap, the hardware gets the full forget-everything memo. πŸ”₯

⚠️ big warning, bestie: the caller must make sure that no other RPMH actions are happening when this function is called. otherwise the device may immediately become used again even before this function exits. 😭 so yeah, timing matters fr fr.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/soc/qcom/rpmh-rsc.c β€” and here’s the whole friend group:


made with πŸ’– from the ./drivers/soc/qcom source/version corner, stamped October 2026, and this whole page is tcs_invalidate(9) 🫢✨

πŸ“¦ where this page comes from