cvs_get_device_caps(9)
π 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 overcapsβ 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:
cvs_set_quirks(9)cvs_read_i2c(9)cvs_write_i2c(9)cvs_checksum(9)cvs_schedule_and_wait(9)cvs_wait_wake_or_sleep(9)cvs_config_mipi(9)cvs_get_device_state(9)cvs_hw_init(9)cvs_irq_handler(9)cvs_reset(9)cvs_recv(9)cvs_send(9)cvs_set_link_owner(9)cvs_configure_dev_caps(9)cvs_core_probe(9)cvs_probe(9)cvs_core_remove(9)cvs_remove(9)cvs_suspend(9)cvs_resume(9)cvs_runtime_resume(9)cvs_runtime_suspend(9)cvs_init(9)cvs_exit(9)
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
- 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