Lines Matching refs:prot
113 #define __pgprot_modify(prot,mask,bits) \ argument
114 __pgprot((pgprot_val(prot) & ~(mask)) | (bits))
116 #define pgprot_noncached(prot) \ argument
117 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
119 #define pgprot_writecombine(prot) \ argument
120 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_BUFFERABLE)
122 #define pgprot_stronglyordered(prot) \ argument
123 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
125 #define pgprot_device(prot) \ argument
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) \ argument
130 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_BUFFERABLE | L_PTE_XN)
136 #define pgprot_dmacoherent(prot) \ argument
137 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED | L_PTE_XN)
212 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) argument
215 #define mk_pte(page,prot) pfn_pte(page_to_pfn(page), prot) argument
269 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit() argument
271 pte_val(pte) &= ~pgprot_val(prot); in clear_pte_bit()
275 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit() argument
277 pte_val(pte) |= pgprot_val(prot); in set_pte_bit()