mmu_v1_1.h (720B)
1/* SPDX-License-Identifier: GPL-2.0 2 * 3 * Copyright 2018 HabanaLabs, Ltd. 4 * All Rights Reserved. 5 * 6 */ 7 8#ifndef INCLUDE_MMU_V1_1_H_ 9#define INCLUDE_MMU_V1_1_H_ 10 11#define MMU_V1_1_HOP0_MASK 0x3000000000000ull 12#define MMU_V1_1_HOP1_MASK 0x0FF8000000000ull 13#define MMU_V1_1_HOP2_MASK 0x0007FC0000000ull 14#define MMU_V1_1_HOP3_MASK 0x000003FE00000ull 15#define MMU_V1_1_HOP4_MASK 0x00000001FF000ull 16 17#define MMU_V1_1_HOP0_SHIFT 48 18#define MMU_V1_1_HOP1_SHIFT 39 19#define MMU_V1_1_HOP2_SHIFT 30 20#define MMU_V1_1_HOP3_SHIFT 21 21#define MMU_V1_1_HOP4_SHIFT 12 22 23#define MMU_ASID 0xC12004 24#define MMU_HOP0_PA43_12 0xC12008 25#define MMU_HOP0_PA49_44 0xC1200C 26#define MMU_BUSY 0xC12000 27 28#endif /* INCLUDE_MMU_V1_1_H_ */