drivers/staging/media/tegra-video/vip.h

Source file repositories/reference/linux-study-clean/drivers/staging/media/tegra-video/vip.h

File Facts

System
Linux kernel
Corpus path
drivers/staging/media/tegra-video/vip.h
Extension
.h
Size
1580 bytes
Lines
73
Domain
Driver Families
Bucket
drivers/staging
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

struct tegra_vip_channel {
	struct v4l2_subdev subdev;
	struct media_pad pads[TEGRA_VIP_PADS_NUM];
	struct device_node *of_node;
};

/**
 * struct tegra_vip_ops - Tegra VIP operations
 *
 * @vip_start_streaming: programs vip hardware to enable streaming.
 */
struct tegra_vip_ops {
	int (*vip_start_streaming)(struct tegra_vip_channel *vip_chan);
};

/**
 * struct tegra_vip_soc - NVIDIA Tegra VIP SoC structure
 *
 * @ops: vip hardware operations
 */
struct tegra_vip_soc {
	const struct tegra_vip_ops *ops;
};

#if defined(CONFIG_ARCH_TEGRA_2x_SOC) || defined(CONFIG_ARCH_TEGRA_3x_SOC)
extern const struct tegra_vip_soc tegra20_vip_soc;
#endif

/**
 * struct tegra_vip - NVIDIA Tegra VIP device structure
 *
 * @dev: device struct
 * @client: host1x_client struct
 * @soc: pointer to SoC data structure
 * @chan: the VIP channel
 */
struct tegra_vip {
	struct device *dev;
	struct host1x_client client;
	const struct tegra_vip_soc *soc;
	struct tegra_vip_channel chan;
};

#endif

Annotation

Implementation Notes