drivers/accel/habanalabs/include/gaudi2/gaudi2_fw_if.h
Source file repositories/reference/linux-study-clean/drivers/accel/habanalabs/include/gaudi2/gaudi2_fw_if.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/accel/habanalabs/include/gaudi2/gaudi2_fw_if.h- Extension
.h- Size
- 2281 bytes
- Lines
- 95
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
struct gaudi2_redundancy_ctxenum gaudi2_fw_statusenum gaudi2_rst_src
Annotated Snippet
struct gaudi2_redundancy_ctx {
__le32 redundant_hbm;
__le32 redundant_edma;
__le32 redundant_tpc;
__le32 redundant_vdec;
__le64 hbm_mask;
__le64 edma_mask;
__le64 tpc_mask;
__le64 vdec_mask;
__le64 mme_mask;
__le64 nic_mask;
__le64 rtr_mask;
__le64 hmmu_hif_iso;
__le64 xbar_edge_iso;
__le64 hmmu_hif_mask;
__le64 xbar_edge_mask;
__u8 mme_pe_iso[GAUDI2_NUM_MME];
__le32 full_hbm_mode; /* true on full (non binning hbm)*/
} __packed;
#endif /* GAUDI2_FW_IF_H */
Annotation
- Detected declarations: `struct gaudi2_redundancy_ctx`, `enum gaudi2_fw_status`, `enum gaudi2_rst_src`.
- Atlas domain: Driver Families / drivers/accel.
- Implementation status: source implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.