ti_sci_cmd_dev_is_valid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ti_sci_cmd_dev_is_valid(9) β€” like, the Kernel API Manual page, bestie πŸŽ€

okay so real talk, this page is from the Kernel API Manual and it's about one (1) tiny little function that just checks if a device ID is even valid. baby function. iconic behaviour. let's get into it ✨


🌸 NAME 🌸

ti_sci_cmd_dev_is_valid β€” literally asking "is this device valid or not" πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int ti_sci_cmd_dev_is_valid (const struct ti_sci_handle *handle , u32 id
);

so it takes your handle, takes your id, and gives you back an int. that's the whole vibe. no cap.


✨ ARGUMENTS ✨

  • handle β€” a pointer to the TISCI handle, the one you got from *ti_sci_get_handle. yes bestie you have to actually get the handle first, can't just manifest it πŸ™ˆ
  • id β€” the Device Identifier. like, the ID of the device. the device's whole identity fr fr.

πŸ‘‘ RETURN πŸ‘‘

returns 0 if everything went fine and the device ID is valid 🫢 otherwise it returns the appropriate error β€” so like, if it's not valid, you get an error code and you deal with it, periodt. πŸ’€


🌈 SEE ALSO 🌈

okay this is the part where the manpage just casually drops the entire friend group πŸ’… the kernel file is ./drivers/firmware/ti_sci.c and honestly the whole squad is here:

like I said. the whole friend group. iykyk 🧚


lowkey the entire page is just "is the device valid, yes or no" and honestly? relatable. sometimes you just need a yes or no from the universe. ⭐

and that's the whole thing bestie β€” this one lives over in ./drivers/firmware and it's dated October 2026, so it's giving future-forward main character energy πŸ‘‘πŸ’œ mwah, go check your device IDs, ily πŸ“

πŸ“¦ where this page comes from