cvs_csi_disable_streams(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 be ICVS_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:


🌈 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