Lines Matching refs:prot
113 #define __pgprot_modify(prot,mask,bits) \
114 __pgprot((pgprot_val(prot) & ~(mask)) | (bits))
116 #define pgprot_noncached(prot) \
117 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
119 #define pgprot_writecombine(prot) \
120 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_BUFFERABLE)
122 #define pgprot_stronglyordered(prot) \
123 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
125 #define pgprot_device(prot) \
126 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_DEV_SHARED | L_PTE_SHARED | L_PTE_DIRTY | L_PTE_XN)
129 #define pgprot_dmacoherent(prot) \
130 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_BUFFERABLE | L_PTE_XN)
136 #define pgprot_dmacoherent(prot) \
137 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED | L_PTE_XN)
182 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot))
185 #define mk_pte(page,prot) pfn_pte(page_to_pfn(page), prot)
228 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot)
230 pte_val(pte) &= ~pgprot_val(prot);
234 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot)
236 pte_val(pte) |= pgprot_val(prot);