drivers/accel/rocket/rocket_drv.h
Source file repositories/reference/linux-study-clean/drivers/accel/rocket/rocket_drv.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/accel/rocket/rocket_drv.h- Extension
.h- Size
- 716 bytes
- Lines
- 33
- Domain
- Driver Families
- Bucket
- drivers/accel
- 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
drm/drm_mm.hdrm/gpu_scheduler.hrocket_device.h
Detected Declarations
struct rocket_iommu_domainstruct rocket_file_priv
Annotated Snippet
struct rocket_iommu_domain {
struct iommu_domain *domain;
struct kref kref;
};
struct rocket_file_priv {
struct rocket_device *rdev;
struct rocket_iommu_domain *domain;
struct drm_mm mm;
struct mutex mm_lock;
struct drm_sched_entity sched_entity;
};
struct rocket_iommu_domain *rocket_iommu_domain_get(struct rocket_file_priv *rocket_priv);
void rocket_iommu_domain_put(struct rocket_iommu_domain *domain);
#endif
Annotation
- Immediate include surface: `drm/drm_mm.h`, `drm/gpu_scheduler.h`, `rocket_device.h`.
- Detected declarations: `struct rocket_iommu_domain`, `struct rocket_file_priv`.
- Atlas domain: Driver Families / drivers/accel.
- 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.