devm_ti_sci...esource_sets(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

devm_ti_sci_get_resource_sets β€” okay bestie, this is the TISCI-flavored one that gets the resource sets assigned to a device. You're in the Kernel API Manual, so buckle up πŸŽ€


✨ SYNOPSIS ✨

struct ti_sci_resource * devm_ti_sci_get_resource_sets (const struct ti_sci_handle *handle , struct device *dev , u32 dev_id , u32 *sub_types , u32 sets );

πŸŽ€ ARGUMENTS πŸŽ€

  • handle β€” the TISCI handle. your golden ticket ✨
  • dev β€” device pointer, aka the device this resource is actually assigned to 🫢
  • dev_id β€” TISCI device id, the one this resource is assigned to, no cap
  • sub_types β€” an array of sub_types assigned that correspond to the device 🌸
  • sets β€” number of sub_types. literally just the count πŸ”’

πŸ’– RETURN πŸ’–

Pointer to ti_sci_resource if everything went off without a hitch β€” otherwise you get an appropriate error pointer. so like, check it before you get attached 😭


🌈 SEE ALSO 🌈

Kernel file ./drivers/firmware/ti_sci.c πŸ‘‘ and honestly the whole ti_sci friend group:


and that's the whole page, bestie πŸ¦‹ this lil beauty lives under ./drivers/firmware and it's stamped October 2026 β€” write that down, iykyk πŸ’œ

πŸ“¦ where this page comes from