get_tcs_for_msg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to the get_tcs_for_msg(9) page in the Kernel API Manual πŸ’–. This function is literally here to Get the tcs_group used to send the given message. That’s the whole assignment, no cap periodt ✨

✨ SYNOPSIS ✨

struct tcs_group * get_tcs_for_msg (struct rsc_drv *drv , const struct
tcs_request *msg );

copy-paste safe, bestie 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • drv β€” The RSC controller. iconic controller behavior πŸ‘‘
  • msg β€” The message we want to send. the whole point πŸ’Œ

πŸ’… DESCRIPTION πŸ’…

okay so normally this is pretty straightforward, except if we are trying to send an ACTIVE_ONLY message but don't have any active_only TCSes. That’s the little plot twist 😭 β€” the vibe check gets spicy πŸ”₯

🫢 RETURN 🫢

A pointer to a tcs_group or an ERR_PTR. that’s it, that’s the return πŸ’…βœ¨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/soc/qcom/rpmh-rsc.c β€” go read the source, bestie πŸ“šπŸ’–


byeee bestie β€” this page is from ./drivers/soc/qcom, dated October 2026, and it’s the get_tcs_for_msg(9) page. slay and stay safe out there πŸ’…πŸ’–

πŸ“¦ where this page comes from