cvs_csi_enable_streams(9)
π cvs_csi_enable_streams(9) β the Kernel API Manual glow-up β¨
okay so bestie, you're in the Kernel API Manual and today's main character is cvs_csi_enable_streams(9). it's giving "press play on the bridge" energy and honestly? iconic. let's get into it π
β¨ NAME β¨
cvs_csi_enable_streams β Start streaming through the bridge. that's it, that's the vibe. it turns the stream ON π₯
πΈ SYNOPSIS πΈ
int cvs_csi_enable_streams (struct v4l2_subdev *sd , struct
v4l2_subdev_state *state , u32 pad , u64 streams_mask );
copy it exactly like that, no cap, don't touch the spacing, she's perfect the way she is π
π¦ ARGUMENTS π¦
sdβ the Sub-device pointer. literally the sub-device, pointing at stuff π«Άstateβ the Active state. the state that is, yk, active β¨padβ the Pad identifier. and bestie, listen, it must beICVS_CSI_PAD_SOURCEβ that's not a suggestion, that's the rule πstreams_maskβ the Streams to enable. and the tea is: bit 0 supported π
π DESCRIPTION π
so what does she actually do? buckle up:
she Runtime-resumes the bridge β which triggers cvs_runtime_resume to claim CSI-2 link ownership (yes, claiming ownership, main character behavior fr fr). then she fetches the link frequency, programs the MIPI configuration, and forwards the enable request downstream. like a whole little relay race and she wins every leg π
no skipping steps, okay? resume β fetch β program β forward. the pipeline is the pipeline π
π RETURN π
0on success π- negative errno if it doesn't slay π
π SEE ALSO π
go read these next, iykwup (iykyk with Unix pages):
- Kernel file
./drivers/media/i2c/cvs/v4l2.candcsi_set_link_cfg(9) cvs_csi_disable_streams(9)β the reverse girly, does the off switchcvs_csi_init_state(9)cvs_csi_set_fmt(9)cvs_csi_get_mbus_config(9)cvs_csi_notify_bound(9)cvs_csi_notify_unbind(9)cvs_csi_init_controls(9)cvs_csi_parse_firmware(9)cvs_csi_init(9)cvs_csi_remove(9)
and that's the whole page, bestie π§ source living over at ./drivers/media/i2c/cvs, version-dated October 2026 β so go stream responsibly, mwah ππ
π¦ 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