drivers/accel/habanalabs/include/hw_ip/mmu/mmu_v1_1.h

Source file repositories/reference/linux-study-clean/drivers/accel/habanalabs/include/hw_ip/mmu/mmu_v1_1.h

File Facts

System
Linux kernel
Corpus path
drivers/accel/habanalabs/include/hw_ip/mmu/mmu_v1_1.h
Extension
.h
Size
720 bytes
Lines
29
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.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef INCLUDE_MMU_V1_1_H_
#define INCLUDE_MMU_V1_1_H_

#define MMU_V1_1_HOP0_MASK		0x3000000000000ull
#define MMU_V1_1_HOP1_MASK		0x0FF8000000000ull
#define MMU_V1_1_HOP2_MASK		0x0007FC0000000ull
#define MMU_V1_1_HOP3_MASK		0x000003FE00000ull
#define MMU_V1_1_HOP4_MASK		0x00000001FF000ull

#define MMU_V1_1_HOP0_SHIFT		48
#define MMU_V1_1_HOP1_SHIFT		39
#define MMU_V1_1_HOP2_SHIFT		30
#define MMU_V1_1_HOP3_SHIFT		21
#define MMU_V1_1_HOP4_SHIFT		12

#define MMU_ASID			0xC12004
#define MMU_HOP0_PA43_12		0xC12008
#define MMU_HOP0_PA49_44		0xC1200C
#define MMU_BUSY			0xC12000

#endif /* INCLUDE_MMU_V1_1_H_ */

Annotation

Implementation Notes