Lines Matching full:feature
32 * Support for KUEP feature.
128 /* MMU feature bit sets for various CPUs */
204 static inline bool early_mmu_has_feature(unsigned long feature) in early_mmu_has_feature() argument
206 return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature); in early_mmu_has_feature()
218 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() argument
223 BUILD_BUG_ON(!__builtin_constant_p(feature)); in mmu_has_feature()
230 return early_mmu_has_feature(feature); in mmu_has_feature()
234 if (!(MMU_FTRS_POSSIBLE & feature)) in mmu_has_feature()
237 i = __builtin_ctzl(feature); in mmu_has_feature()
241 static inline void mmu_clear_feature(unsigned long feature) in mmu_clear_feature() argument
245 i = __builtin_ctzl(feature); in mmu_clear_feature()
246 cur_cpu_spec->mmu_features &= ~feature; in mmu_clear_feature()
256 static inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() argument
258 return early_mmu_has_feature(feature); in mmu_has_feature()
261 static inline void mmu_clear_feature(unsigned long feature) in mmu_clear_feature() argument
263 cur_cpu_spec->mmu_features &= ~feature; in mmu_clear_feature()