tee_device_set_dev_groups(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ tee_device_set_dev_groups(9) ✨

okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is tee_device_set_dev_groups β€” she's a tiny little setter function and honestly? she ate. πŸŽ€


🌸 NAME 🌸

tee_device_set_dev_groups β€” Set device attribute groups

like, that's it, that's her whole job, and she does it flawlessly πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void tee_device_set_dev_groups (struct tee_device *teedev , const struct
       attribute_group **dev_groups );

no return value, no drama, just vibes ✨


πŸ“ ARGUMENTS πŸ“

  • teedev β€” Device to register. this is the tee device you're handing stuff to, she's the whole point 🫢
  • dev_groups β€” Attribute groups. the groups in question. the attribute-y ones. you're giving them to teedev 😌

πŸ”₯ DESCRIPTION πŸ”₯

so what she does is: Assigns the provided dev_groups to the teedev so that it can be registered later with tee_device_register. it's giving "prep now, slay later" πŸ‘‘

Calling this function is optional β€” not mandatory, no pressure, you do you. BUT. and this is the important part, bestie β€”

If you do call it, it must be called before tee_device_register. no cap. order matters. do not come for her after registration, she will not be able to help you 😭

🌈 SEE ALSO 🌈

Kernel file ./include/linux/tee_core.h β€” and like, the entire extended friend group:

that's twenty-five whole cross-references, she's connected fr fr 🧚


and that's the page, mwah πŸ’– this icon lives in ./include/linux, dated October 2026, and she's filed under tee_device_set_dev_groups(9) in the Kernel API Manual β€” go forth and set your dev groups, bestie, just do it before you register πŸŽ€βœ¨

πŸ“¦ where this page comes from