drivers/accel/habanalabs/include/hw_ip/mmu/mmu_v2_0.h
Source file repositories/reference/linux-study-clean/drivers/accel/habanalabs/include/hw_ip/mmu/mmu_v2_0.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/accel/habanalabs/include/hw_ip/mmu/mmu_v2_0.h- Extension
.h- Size
- 1423 bytes
- Lines
- 52
- 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.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef INCLUDE_MMU_V2_0_H_
#define INCLUDE_MMU_V2_0_H_
#define HOP0_MASK_4K 0xFE00000000000000ull
#define HOP1_MASK_4K 0x01FF000000000000ull
#define HOP2_MASK_4K 0x0000FF8000000000ull
#define HOP3_MASK_4K 0x0000007FC0000000ull
#define HOP4_MASK_4K 0x000000003FE00000ull
#define HOP5_MASK_4K 0x00000000001FF000ull
#define HOP0_MASK_64K 0xFF00000000000000ull
#define HOP1_MASK_64K 0x00FF000000000000ull
#define HOP2_MASK_64K 0x0000FF0000000000ull
#define HOP3_MASK_64K 0x000000FF00000000ull
#define HOP4_MASK_64K 0x00000000FF000000ull
#define HOP5_MASK_64K 0x0000000000FF0000ull
#define HOP0_SHIFT_4K 57
#define HOP1_SHIFT_4K 48
#define HOP2_SHIFT_4K 39
#define HOP3_SHIFT_4K 30
#define HOP4_SHIFT_4K 21
#define HOP5_SHIFT_4K 12
#define HOP0_SHIFT_64K 56
#define HOP1_SHIFT_64K 48
#define HOP2_SHIFT_64K 40
#define HOP3_SHIFT_64K 32
#define HOP4_SHIFT_64K 24
#define HOP5_SHIFT_64K 16
#define DHOP0_MASK HOP0_MASK_4K
#define DHOP1_MASK HOP1_MASK_4K
#define DHOP2_MASK HOP2_MASK_4K
#define DHOP3_MASK HOP3_MASK_4K
#define DHOP4_MASK 0x000003C000000ull
#define DHOP0_SHIFT HOP0_SHIFT_4K
#define DHOP1_SHIFT HOP1_SHIFT_4K
#define DHOP2_SHIFT HOP2_SHIFT_4K
#define DHOP3_SHIFT HOP3_SHIFT_4K
#define DHOP4_SHIFT 26
#endif /* INCLUDE_MMU_V2_0_H_ */
Annotation
- 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.