cvs_get_device_caps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

cvs_get_device_caps β€” bestie, this one reads the protocol capabilities. That's it, that's the vibe 🫢


✨ SYNOPSIS ✨

int cvs_get_device_caps (struct icvs *ctx , struct icvs_dev_capabilities
*caps );

okay so the signature is a little chunky but literally she's just two pointers and an int, we love a low-effort icon πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • ctx β€” your CVS device context πŸ‘‘ like, the whole device's main character energy, you gotta hand her over
  • caps β€” the capability structure you're about to populate 🌸 she goes in empty-ish and comes out full of facts, that's the whole point ngl

⭐ RETURN ⭐

0 on success, or a negative errno 😭 so like, check it, don't just assume it ate, fr fr


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/media/i2c/cvs/core.c β€” and the whole extended friend group, no cap:


bestie the whole squad is in ./drivers/media/i2c/cvs 🧚 go say hi πŸ’œ

mwah πŸ’‹ this page is brought to you by the Kernel API Manual girlies, live from ./drivers/media/i2c/cvs, dated October 2026 β€” and with that, cvs_get_device_caps(9) logs off πŸŽ€βœ¨

πŸ“¦ where this page comes from