Lines Matching +full:- +full:- +full:disable +full:- +full:sparse
4 * Copyright (C) 2015-2016 Broadcom Corporation
30 /* VMSAv8-64 Translation constants and functions */
34 #define VMSA_STRIDE(gran) ((gran) - VMSA_LEVELS + 1)
35 #define VMSA_BIT_LVL(isz, strd, lvl) ((isz) - (strd) * \
36 (VMSA_LEVELS - (lvl)))
38 VMSA_BIT_LVL(isz, strd, lvl)) - 1)
40 #define CACHED_ENTRY_TO_ADDR(ent, addr) ((ent)->entry.translated_addr + \
41 ((addr) & (ent)->entry.addr_mask))
72 uint8_t tsz; /* input range, ie. 2^(64 -tsz)*/
74 bool had; /* hierarchical attribute disable */
84 /* Stage-2 configuration. */
88 bool affd; /* AF Fault Disable (S2AFFD) */
102 /* Shared fields between stage-1 and stage-2. */
107 bool affd; /* AF fault disable */
110 /* Used by stage-1 only. */
117 /* Used by stage-2 only. */
134 SMMUDevice *pbdev[]; /* Parent array is sparse, so dynamically alloc */
176 #define TYPE_ARM_SMMU "arm-smmu"
185 return PCI_BUILD_BDF(pci_bus_num(sdev->bus), sdev->devfn); in smmu_get_sid()
189 * smmu_ptw - Perform the page table walk for a given iova / access flags
197 * smmu_translate - Look for a translation in TLB, if not, do a PTW.
204 * select_tt - compute which translation table shall be used according to