STRUCT TEGRA_VI_SOC(9)
β¨ 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 avideo_formatsitem, so it's pointing into that array, bestie, not off living its own life.opsβ vi operations. the ops struct, the behavior pack, thetegra_vi_opsof it all.hw_revisionβ VIhw_revision. au32saying 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-bitbool: 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.hstruct 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms