STRUCT TEGRA_VI_SOC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct tegra_vi_soc(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one is all about struct tegra_vi_soc β€” the NVIDIA Tegra Video Input SoC structure. yes it's a struct, yes it's full of consts, and yes we're gonna read it together like it's a group chat 🫢


🌸 NAME 🌸

struct tegra_vi_soc β€” the NVIDIA Tegra Video Input SoC structure πŸ‘‘ literally the lil blueprint that tells the driver what this particular Tegra chip can and can't do, no cap.


✨ SYNOPSIS ✨

here's the whole thing, copied exactly, don't @ me:

struct tegra_vi_soc {
    const struct tegra_video_format *video_formats;
    const unsigned int nformats;
    const struct tegra_video_format *default_video_format;
    const struct tegra_vi_ops *ops;
    u32 hw_revision;
    unsigned int vi_max_channels;
    unsigned int vi_max_clk_hz;
    bool has_h_v_flip:1;
 };

she's got a bool bitfield at the end, she's got const everywhere β€” iconic behavior honestly πŸŽ€


πŸŽ€ Members πŸŽ€

okay the moment you've all been waiting for β€” member by member, one bullet each, nothing skipped πŸ’…

  • video_formats β€” the supported video formats. that's it, that's the whole vibe. pointer to the list of formats this SoC speaks. 🌈
  • nformats β€” total video formats. the count. the headcount of the format party. πŸ”₯
  • default_video_format β€” the default video format β€” and yes it's a pointer to a video_formats item, so it's pointing into that array, bestie, not off living its own life.
  • ops β€” vi operations. the ops struct, the behavior pack, the tegra_vi_ops of it all.
  • hw_revision β€” VI hw_revision. a u32 saying which hardware revision we're on. ⭐
  • vi_max_channels β€” supported max streaming channels. how many channels can stream at once, periodt.
  • vi_max_clk_hz β€” VI clock max frequency. the ceiling on the clock, in the form the struct gives it (vi_max_clk_hz). πŸ•
  • has_h_v_flip β€” a 1-bit bool: the chip can do H and V flip, and the driver implements it. both conditions, fr fr β€” chip capable and driver actually does the thing. πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

go look at these, iykyk:

  • Kernel file ./drivers/staging/media/tegra-video/vi.h struct
  • tegra_vi_ops(9)
  • struct tegra_vi(9)
  • struct tegra_vi_channel(9)
  • struct tegra_channel_buffer(9)
  • struct tegra_video_format(9)

πŸ¦‹ friendly reminder: everything above is exactly what the page says β€” same members, same order, same references. i'm just here to make it slay, not to change the facts. πŸ’€

okay that's the whole page, and before you go β€” this gem came from ./drivers/staging/media/tegra-..., October 2026, and it's filed under struct tegra_vi_soc(9). mwah, go read some kernel source bestie πŸ’–βœ¨πŸ§š

πŸ“¦ where this page comes from