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.
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
media/media-entity.hmedia/v4l2-async.hmedia/v4l2-subdev.h
Detected Declarations
struct tegra_vipstruct tegra_vip_channelstruct tegra_vip_opsstruct tegra_vip_socstruct tegra_vip
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
- Immediate include surface: `media/media-entity.h`, `media/v4l2-async.h`, `media/v4l2-subdev.h`.
- Detected declarations: `struct tegra_vip`, `struct tegra_vip_channel`, `struct tegra_vip_ops`, `struct tegra_vip_soc`, `struct tegra_vip`.
- Atlas domain: Driver Families / drivers/staging.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.