Lines Matching +full:non +full:- +full:cacheable
1 /* SPDX-License-Identifier: GPL-2.0-only */
25 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
27 /* p4d is folded into pgd in case of 4-level page table */
34 #define P4D_MASK (~(P4D_SIZE - 1))
36 /* pud is folded into pgd in case of 3-level page table */
39 #define PUD_MASK (~(PUD_SIZE - 1))
44 #define PMD_MASK (~(PMD_SIZE - 1))
100 for (order = NAPOT_ORDER_MAX - 1; \
101 order >= NAPOT_CONT_ORDER_BASE; order--)
106 #define napot_cont_mask(order) (~(napot_cont_size(order) - 1UL))
110 #define HUGE_MAX_HSTATE (2 + (NAPOT_ORDER_MAX - NAPOT_CONT_ORDER_BASE))
118 * 00 - PMA Normal Cacheable, No change to implied PMA memory type
119 * 01 - NC Non-cacheable, idempotent, weakly-ordered Main Memory
120 * 10 - IO Non-cacheable, non-idempotent, strongly-ordered I/O memory
121 * 11 - Rsvd Reserved for future standard use
128 * [63:59] T-Head Memory Type definitions:
130 * 00000 - NC Weakly-ordered, Non-cacheable, Non-bufferable, Non-shareable, Non-trustable
131 * 01110 - PMA Weakly-ordered, Cacheable, Bufferable, Shareable, Non-trustable
132 * 10000 - IO Strongly-ordered, Non-cacheable, Non-bufferable, Non-shareable, Non-trustable
247 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1))
336 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
400 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))