cvs_set_link_owner(9)
π cvs_set_link_owner(9) π
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_HOSTorICVS_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:
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_get_device_caps(9)cvs_hw_init(9)cvs_irq_handler(9)cvs_reset(9)cvs_recv(9)cvs_send(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)
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
- 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