cvs_set_link_owner(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the cvs_set_link_owner(9) page from the Kernel API Manual β€” this is the link-ownership switch situation, and it's giving very β€œwho's driving the CSI-2 bus?” energy πŸ’…βœ¨

πŸŽ€ NAME πŸŽ€

cvs_set_link_owner β€” Switch CSI-2 link ownership between host and device πŸ¦‹

πŸ’… SYNOPSIS πŸ’…

       int cvs_set_link_owner (struct icvs *ctx , enum icvs_csi_link_owner
       owner );

🌸 ARGUMENTS 🌸

  • ctx β€” CVS device context πŸ’–
  • owner β€” Desired owner (ICVS_CSI_LINK_HOST or ICVS_CSI_LINK_CVS) πŸ‘‘

✨ DESCRIPTION ✨

so here's the tea β˜•: this gets called from runtime PM callbacks to claim or release the CSI-2 link. It's also callable directly for error recovery paths. no cap, that's the whole vibe 🫢

πŸ”₯ RETURN πŸ”₯

0 on success or negative errno. periodt πŸ’«

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/media/i2c/cvs/core.c β€” and the whole friend group is here:


mwah πŸ’‹ cute sign-off time: source/version ./drivers/media/i2c/cvs, date October 2026, and the footer also names cvs_set_link_owner(9) β€” slay πŸ«ΆπŸ’–

πŸ“¦ where this page comes from