Lines Matching full:feature
8 unsigned int feature; member
89 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() argument
97 clear_cpu_cap(&boot_cpu_data, feature); in clear_feature()
98 set_bit(feature, (unsigned long *)cpu_caps_cleared); in clear_feature()
100 clear_bit(feature, (unsigned long *)c->x86_capability); in clear_feature()
107 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() argument
113 if (WARN_ON(feature >= MAX_FEATURE_BITS)) in do_clear_cpu_cap()
116 if (boot_cpu_has(feature)) in do_clear_cpu_cap()
119 clear_feature(c, feature); in do_clear_cpu_cap()
123 __set_bit(feature, disable); in do_clear_cpu_cap()
128 for (d = cpuid_deps; d->feature; d++) { in do_clear_cpu_cap()
131 if (__test_and_set_bit(d->feature, disable)) in do_clear_cpu_cap()
135 clear_feature(c, d->feature); in do_clear_cpu_cap()
140 void clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in clear_cpu_cap() argument
142 do_clear_cpu_cap(c, feature); in clear_cpu_cap()
145 void setup_clear_cpu_cap(unsigned int feature) in setup_clear_cpu_cap() argument
147 do_clear_cpu_cap(NULL, feature); in setup_clear_cpu_cap()