Lines Matching refs:prot
112 #define __pgprot_modify(prot,mask,bits) \ argument
113 __pgprot((pgprot_val(prot) & ~(mask)) | (bits))
115 #define pgprot_noncached(prot) \ argument
116 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
118 #define pgprot_writecombine(prot) \ argument
119 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_BUFFERABLE)
121 #define pgprot_stronglyordered(prot) \ argument
122 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
124 #define pgprot_device(prot) \ argument
125 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_DEV_SHARED | L_PTE_SHARED | L_PTE_DIRTY | L_PTE_XN)
128 #define pgprot_dmacoherent(prot) \ argument
129 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_BUFFERABLE | L_PTE_XN)
135 #define pgprot_dmacoherent(prot) \ argument
136 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED | L_PTE_XN)
167 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) argument
170 #define mk_pte(page,prot) pfn_pte(page_to_pfn(page), prot) argument
213 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit() argument
215 pte_val(pte) &= ~pgprot_val(prot); in clear_pte_bit()
219 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit() argument
221 pte_val(pte) |= pgprot_val(prot); in set_pte_bit()