Lines Matching refs:nr

32 static inline void __set_machine_feature(unsigned int nr, unsigned long *mfeatures)  in __set_machine_feature()  argument
34 if (nr >= MAX_MFEATURE_BIT) in __set_machine_feature()
36 __set_bit(nr, mfeatures); in __set_machine_feature()
39 static inline void set_machine_feature(unsigned int nr) in set_machine_feature() argument
41 __set_machine_feature(nr, machine_features); in set_machine_feature()
44 static inline void __clear_machine_feature(unsigned int nr, unsigned long *mfeatures) in __clear_machine_feature() argument
46 if (nr >= MAX_MFEATURE_BIT) in __clear_machine_feature()
48 __clear_bit(nr, mfeatures); in __clear_machine_feature()
51 static inline void clear_machine_feature(unsigned int nr) in clear_machine_feature() argument
53 __clear_machine_feature(nr, machine_features); in clear_machine_feature()
56 static bool __test_machine_feature(unsigned int nr, unsigned long *mfeatures) in __test_machine_feature() argument
58 if (nr >= MAX_MFEATURE_BIT) in __test_machine_feature()
60 return test_bit(nr, mfeatures); in __test_machine_feature()
63 static bool test_machine_feature(unsigned int nr) in test_machine_feature() argument
65 return __test_machine_feature(nr, machine_features); in test_machine_feature()
68 static __always_inline bool __test_machine_feature_constant(unsigned int nr) in __test_machine_feature_constant() argument
71 ALTERNATIVE("brcl 15,%l[l_no]", "brcl 0,0", ALT_FEATURE(%[nr])) in __test_machine_feature_constant()
73 : [nr] "i" (nr) in __test_machine_feature_constant()