cvs_csi_disable_streams(9)
π cvs_csi_disable_streams(9) β the Kernel API Manual, bestie edition π
okay so hi!! welcome to the Kernel API Manual page for cvs_csi_disable_streams, which is literally the "stop streaming through the bridge" girlie. she's the cleanup queen, the one who turns the tap off. no cap. β¨
πΈ NAME πΈ
cvs_csi_disable_streams β Stop streaming through the bridge π«Ά
β¨ SYNOPSIS β¨
int cvs_csi_disable_streams (struct v4l2_subdev *sd , struct
v4l2_subdev_state *state , u32 pad , u64 streams_mask );
like. look at her. three params and a mask, serving function signature realness π
π¦ ARGUMENTS π¦
sdβ Sub-device pointer. yes bestie, the actual sub-device. we love a pointer. πstateβ Active state. as in, the state that's currently active, not the ex-state, not the situationship-state. πpadβ Pad identifier β and it must beICVS_CSI_PAD_SOURCE, no substitutions, this is not a build-your-own-pad situation πstreams_maskβ Streams to disable. and just so we're clear: bit 0 supported. only bit 0. don't get creative. π
π₯ DESCRIPTION π₯
so what does she actually do? she disables the remote sensor stream, and then β and this is the part β she drops the PM reference acquired during enable. balance. symmetry. main character energy. β
then, after the autosuspend delay, cvs_runtime_suspend will return CSI-2 link ownership to CVS firmware. so it's giving ... handoff. very demure. very mindful. π
π§ ngl the sequencing matters here: stream off first, PM reference dropped after, and the link only goes back to CVS firmware once the autosuspend delay has passed. that's just how it is, bestie.
β RETURN β
0 on success, or a negative errno if it's not giving success. π (negative errno = not the vibe.)
π SEE ALSO π
okay the full squad, no one left out, we don't do that here π
Kernel file ./drivers/media/i2c/cvs/v4l2.c and also:
csi_set_link_cfg(9)cvs_csi_enable_streams(9)cvs_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)
π that's the whole page!! sourced from ./drivers/media/i2c/cvs, dated October 2026, and she ate, fr fr. periodt. π
β¨
π¦ 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