Lines Matching refs:prot
103 #define __pgprot_modify(prot,mask,bits) \ argument
104 __pgprot((pgprot_val(prot) & ~(mask)) | (bits))
106 #define pgprot_noncached(prot) \ argument
107 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
109 #define pgprot_writecombine(prot) \ argument
110 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_BUFFERABLE)
112 #define pgprot_stronglyordered(prot) \ argument
113 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
115 #define pgprot_device(prot) \ argument
116 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_DEV_SHARED | L_PTE_SHARED | L_PTE_DIRTY | L_PTE_XN)
119 #define pgprot_dmacoherent(prot) \ argument
120 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_BUFFERABLE | L_PTE_XN)
126 #define pgprot_dmacoherent(prot) \ argument
127 __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)) argument
185 #define mk_pte(page,prot) pfn_pte(page_to_pfn(page), prot) argument
228 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit() argument
230 pte_val(pte) &= ~pgprot_val(prot); in clear_pte_bit()
234 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit() argument
236 pte_val(pte) |= pgprot_val(prot); in set_pte_bit()