STRUCT TEGRA_CSI_CHANNEL(9)
π¦ struct tegra_csi_channel β the Tegra CSI channel β¨
okay so this is struct tegra_csi_channel(9), straight out of the Kernel API Manual, and bestie it is literally the whole personality of one Tegra CSI channel. one channel. one struct. main character energy fr fr π
πΈ NAME πΈ
struct tegra_csi_channel β Tegra CSI channel. that's it, that's the vibe check π
β SYNOPSIS β
struct tegra_csi_channel {
struct list_head list;
struct v4l2_subdev subdev;
struct media_pad pads[TEGRA_CSI_PADS_NUM];
unsigned int numpads;
struct tegra_csi *csi;
struct device_node *of_node;
u8 numgangports;
unsigned int numlanes;
u8 csi_port_nums[GANG_PORTS_MAX];
u8 pg_mode;
struct v4l2_mbus_framefmt format;
unsigned int framerate;
unsigned int h_blank;
unsigned int v_blank;
struct tegra_mipi_device *mipi;
unsigned int pixel_rate;
};
no cap, copy it exactly, don't you dare "fix" the indentation on that last brace π
π Members π
listβ the list head for this entry, keeping the whole squad linked up π«Άsubdevβ the V4L2 subdevice that's associated with this channel. iconic.padsβ the media pads for the subdevice entity β¨numpadsβ number of pads. yes with the period, we respect the period πcsiβ the Tegra CSI device structure, aka the parent energy πof_nodeβ the csi device tree node πnumgangportsβ the number of immediate ports ganged up to meet the channel bus-width. gang gang πnumlanesβ number of lanes used per port π¦csi_port_numsβ the CSI channel port numbers, all arrayed and ready πpg_modeβ test pattern generator mode for the channel. tpg bestie πΈformatβ the active format of the channel πframerateβ active framerate for TPG π₯h_blankβ horizontal blanking for the TPG active format πv_blankβ vertical blanking for the TPG active format πmipiβ mipi device for the corresponding csi channel pads, orNULLif not applicable (TPG, error). so like... sometimes it's just not that girl πpixel_rateβ the active pixel rate from the sensor on this channel β
π SEE ALSO π
Kernel file ./drivers/staging/media/tegra-video/csi.h struct tpg_framerate(9), struct tegra_csi_ops(9), struct tegra_csi_soc(9), struct tegra_csi(9) β go read them, they're all in the same friend group fr fr π«Άπ
ngl the source lives at./drivers/staging/media/tegra-...and this page is dated October 2026, and the whole thing answers tostruct tegra_csi_channel(9)π
periodt. go read your kernel headers bestie, ily, slay πβ¨π
π¦ 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