Lines Matching refs:msr_energy
2585 *val = cs->kvm_state->msr_energy.msr_unit; in kvm_rdmsr_rapl_power_unit()
2597 *val = cs->kvm_state->msr_energy.msr_limit; in kvm_rdmsr_pkg_power_limit()
2609 *val = cs->kvm_state->msr_energy.msr_info; in kvm_rdmsr_pkg_power_info()
2620 *val = cs->kvm_state->msr_energy.msr_value[cs->cpu_index]; in kvm_rdmsr_pkg_energy_status()
2662 struct KVMMsrEnergy *vmsr = &s->msr_energy; in kvm_msr_energy_thread()
2734 s->msr_energy.sioc); in kvm_msr_energy_thread()
2758 s->msr_energy.sioc); in kvm_msr_energy_thread()
2891 struct KVMMsrEnergy *r = &s->msr_energy; in kvm_msr_energy_thread_init()
2960 if (s->msr_energy.socket_path == NULL) { in kvm_msr_energy_thread_init()
2961 s->msr_energy.socket_path = vmsr_compute_default_paths(); in kvm_msr_energy_thread_init()
2965 s->msr_energy.sioc = vmsr_open_socket(s->msr_energy.socket_path); in kvm_msr_energy_thread_init()
2967 if (s->msr_energy.sioc == NULL) { in kvm_msr_energy_thread_init()
2975 s->msr_energy.sioc); in kvm_msr_energy_thread_init()
2977 s->msr_energy.sioc); in kvm_msr_energy_thread_init()
2979 s->msr_energy.sioc); in kvm_msr_energy_thread_init()
3194 if (s->msr_energy.enable == true) { in kvm_arch_init()