ti_sci_get_num_resources(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ti_sci_get_num_resources(9) β€” Kernel API Manual ✨

okay bestie, welcome to the group chat πŸ’– this one's a Kernel API Manual page and honestly? it's a little cutie. it's short, it's sweet, and it does exactly one thing. no cap.


🌸 NAME 🌸

ti_sci_get_num_resources β€” get the number of resources in TISCI resource πŸŽ€

that's it. that's the whole vibe. it counts resources for you so you don't have to 🫢


✨ SYNOPSIS ✨

u32 ti_sci_get_num_resources (struct ti_sci_resource *res );

literally just hand it a pointer and it hands you back a u32. iconic behavior, honestly πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • res β€” pointer to the TISCI resource πŸ’œ yes bestie, pointer to the TISCI resource, that's the whole parameter. it's giving "one job and I do it well".

πŸ”₯ RETURN πŸ”₯

total number of available resources ✨ that's the number you get back, and that's the only number you get back. no surprises, no plot twists, no "not me returning -1" energy πŸ’€


πŸ’« SEE ALSO πŸ’«

okay so this is the part where the page goes full main-character-arc and lists, like, everyone. it points at the kernel file ./drivers/firmware/ti_sci.c and then at this whole friend group πŸ‘‡

like I said. everyone. it's a whole reunion episode and you're invited πŸ“


ngl bestie, if you got here looking for drama, there isn't any β€” this page is just "give me the count" and nothing else πŸ™ˆ read the whole friend list above if you want the lore, iykyk πŸ’…

and that's the page!! mwah πŸ’– this little cutie lives in ./drivers/firmware, it's stamped October 2026, and it will forever and always be known as ti_sci_get_num_resources(9). slay, periodt, go count your resources bestie πŸ¦‹βœ¨πŸŽ€

πŸ“¦ where this page comes from