Home
last modified time | relevance | path

Searched refs:pmdv (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/arch/sparc/include/asm/
Dpage_32.h57 typedef struct { unsigned long pmdv[16]; } pmd_t; member
65 #define pmd_val(x) ((x).pmdv[0])
85 typedef struct { unsigned long pmdv[16]; } pmd_t; member
93 #define pmd_val(x) ((x).pmdv[0])
Dpgtable_32.h184 set_pte((pte_t *)&pmdp->pmdv[i], __pte(0)); in pmd_clear()
/Linux-v4.19/arch/powerpc/mm/
Dpgtable-book3s64.c126 unsigned long pmdv; in pfn_pmd() local
128 pmdv = (pfn << PAGE_SHIFT) & PTE_RPN_MASK; in pfn_pmd()
129 return pmd_set_protbits(__pmd(pmdv), pgprot); in pfn_pmd()
139 unsigned long pmdv; in pmd_modify() local
141 pmdv = pmd_val(pmd); in pmd_modify()
142 pmdv &= _HPAGE_CHG_MASK; in pmd_modify()
143 return pmd_set_protbits(__pmd(pmdv), newprot); in pmd_modify()
/Linux-v4.19/arch/sparc/mm/
Dsrmmu.c144 set_pte((pte_t *)&pmdp->pmdv[i], __pte(SRMMU_ET_PTD | ptp)); in pmd_set()
156 set_pte((pte_t *)&pmdp->pmdv[i], __pte(SRMMU_ET_PTD | ptp)); in pmd_populate()
166 pte = __nocache_va((dir->pmdv[0] & SRMMU_PTD_PMASK) << 4); in pte_offset_kernel()
834 val = &pmdp->pmdv[x]; in srmmu_inherit_prom_mappings()