tee_device_set_dev_groups(9)
β¨ 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 toteedevπ
π₯ 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:
struct tee_device(9)struct tee_driver_ops(9)struct tee_desc(9)struct tee_protmem_pool(9)struct tee_protmem_pool_ops(9)tee_device_alloc(9)tee_device_register(9)tee_device_unregister(9)tee_device_get(9)tee_device_put(9)tee_session_calc_client_uuid(9)struct tee_shm_pool(9)struct tee_shm_pool_ops(9)tee_shm_pool_free(9)tee_protmem_static_pool_alloc(9)tee_get_drvdata(9)tee_shm_alloc_priv_buf(9)tee_shm_is_dynamic(9)tee_shm_put(9)tee_shm_get_id(9)tee_shm_get_from_id(9)teedev_open(9)teedev_close_context(9)teedev_ctx_get(9)teedev_ctx_put(9)
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
- 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