cvs_csi_set_fmt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to cvs_csi_set_fmt(9) β€” this page is living in the Kernel API Manual, and the function is literally here to negotiate pad format. slay.


🌸 SYNOPSIS 🌸

int cvs_csi_set_fmt (struct v4l2_subdev *sd , struct v4l2_subdev_state *state , struct v4l2_subdev_format *format );

πŸŽ€ ARGUMENTS πŸŽ€

  • sd β€” sub-device. the main character device, iykyk.
  • state β€” state. yes bestie, it’s giving exactly what it says.
  • format β€” desired / returned format. so it goes in wanting something and comes back with the format tea.

πŸ’… DESCRIPTION πŸ’…

okay so the whole vibe here is simple: it mirrors the sink format onto the source pad. no cap.

It accepts many media bus codes, and if something isn’t supported it falls back to Y8. periodt. It also normalizes the field setting, because we love a clean field setting.


⭐ RETURN ⭐

It returns 0. that’s it, that’s the whole return section πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

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


mwah πŸ’‹ this page came from ./drivers/media/i2c/cvs, dated October 2026 β€” iconic source, iconic date, no notes 🫢✨

πŸ“¦ where this page comes from