STRUCT TEGRA_VI(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

Okay bestie, welcome to the Kernel API Manual, section 9 β€” yes we're in the kernel docs, yes it's a whole vibe. Today's main character is struct tegra_vi, aka the NVIDIA Tegra Video Input device structure. It's giving "I hold the whole VI device together and I don't even brag about it." 🌈✨


✨ NAME ✨

struct tegra_vi β€” the NVIDIA Tegra Video Input device structure. That's it, that's the whole glow-up. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

struct tegra_vi {
    struct device *dev;
    struct host1x_client client;
    void __iomem *iomem;
    struct clk *clk;
    const struct tegra_vi_soc *soc;
    const struct tegra_vi_ops *ops;
    struct list_head vi_chans;
 };

Look at her. Seven members, zero notes. πŸ’…


🌸 Members 🌸

Every field is a lil icon and here's what each one actually does, no cap:

  • dev β€” the device struct, fr fr. Your classic device representation, living its best life.
  • client β€” a host1x_client struct. That's the host1x hookup, iykyk.
  • iomem β€” the register base. This is where the hardware registers live, so like… the address of the whole operation. πŸ“
  • clk β€” the main clock for the VI block. She keeps time, literally. ⏰
  • soc β€” a pointer to the SoC data structure. Different Tegra chips, different lore β€” this points at whichever one we're on. πŸ”
  • ops β€” the vi operations. All the "what can this thing actually do" energy. πŸ”₯
  • vi_chans β€” the list head for VI channels. It's the starting point of the channel list β€” very "head of the group chat" of it. πŸ’¬
Real talk: these are struct members, so don't go writing them like function args, bestie. Read the source if you're unsure β€” accuracy is the whole aesthetic. πŸŽ€

🧚 SEE ALSO 🧚

The kernel file ./drivers/staging/media/tegra-video/vi.h struct β€” yes, go read it, it's all there:

  • struct tegra_vi_ops(9)
  • struct tegra_vi_soc(9)
  • struct tegra_vi_channel(9)
  • struct tegra_channel_buffer(9)
  • struct tegra_video_format(9)

All of them linked together like a little friend group. Click through, you'll be obsessed. 🫢


Sign-off time, bestie ✨ This lil page came out of ./drivers/staging/media/tegra-... and it's dated October 2026 β€” and it's the struct tegra_vi(9) page, obviously. Go forth and slay your media driver. πŸ’œπŸŽ€

πŸ“¦ where this page comes from