Lines Matching refs:controls
194 struct op_msr_group * controls = &cpu_msrs[cpu].controls;
198 controls->addrs = NULL;
199 controls->saved = NULL;
210 controls->addrs = kmalloc(nr_ctrls * sizeof(uint), GFP_KERNEL);
211 if (!controls->addrs)
214 controls->saved = kmalloc(
216 if (!controls->saved)
228 rdmsr(controls->addrs[i],
229 controls->saved[i].low,
230 controls->saved[i].high);
236 free_msr_group(controls);
247 struct op_msr_group * controls = &cpu_msrs[cpu].controls;
249 if (controls->addrs) {
251 wrmsr(controls->addrs[i],
252 controls->saved[i].low,
253 controls->saved[i].high);
266 free_msr_group(controls);