STRUCT V4L2_SUBDEV_FH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct v4l2_subdev_fh(9) πŸ’–

Welcome to the Kernel API Manual entry for struct v4l2_subdev_fh, bestie. This is the little per-file-handle sidekick that stores subdev information β€” literally its whole job. Main character energy, no cap. πŸ’…


🌸 NAME 🌸

struct v4l2_subdev_fh β€” used for storing subdev information per file handle. That’s the vibe. 🫢


✨ SYNOPSIS ✨

Okay so here’s the exact struct shape, bestie β€” do not freestyle it:

       struct v4l2_subdev_fh {
           struct v4l2_fh vfh;
           struct module *owner;
         #if defined(CONFIG_VIDEO_V4L2_SUBDEV_API);
           struct v4l2_subdev_state *state;
           u64 client_caps;
         #endif;
        };

πŸŽ€ Members πŸŽ€

  • vfh β€” pointer to struct v4l2_fh πŸ’–
  • owner β€” module pointer to the owner of this file handle 🫢
  • state β€” pointer to struct v4l2_subdev_state ✨
  • client_caps β€” bitmask of V4L2_SUBDEV_CLIENT_CAP_* πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./include/media/v4l2-subdev.h β€” and the extended fam is long, so buckle up, bestie:


This page comes from ./include/media and is dated October 2026, bestie β€” periodt. πŸ’–

πŸ“¦ where this page comes from