Searched refs:cx_cnt (Results 1 – 5 of 5) sorted by relevance
168 if ((state_info->cx_cnt != 0U) && (state_info->cx_data != NULL)) { in load_cpu_state_info()169 if (state_info->cx_cnt > MAX_CX_ENTRY) { in load_cpu_state_info()170 cpu_pm_state_info.cx_cnt = MAX_CX_ENTRY; in load_cpu_state_info()172 cpu_pm_state_info.cx_cnt = state_info->cx_cnt; in load_cpu_state_info()
76 vm->pm.cx_cnt = 0U; in vm_setup_cpu_cx()79 if ((pm_state_info->cx_cnt != 0U) && (pm_state_info->cx_data != NULL)) { in vm_setup_cpu_cx()80 ASSERT((pm_state_info->cx_cnt <= MAX_CX_ENTRY), "failed to setup cpu cx"); in vm_setup_cpu_cx()82 vm->pm.cx_cnt = pm_state_info->cx_cnt; in vm_setup_cpu_cx()83 cx_data_size = ((uint32_t)vm->pm.cx_cnt) * sizeof(struct acrn_cstate_data); in vm_setup_cpu_cx()96 for (cx_idx = 2U; cx_idx <= vm->pm.cx_cnt; cx_idx++) { in init_cx_port()
21 uint8_t cx_cnt; /* count of all Cx entries */ member
1151 ret = copy_to_gpa(vm, &(target_vm->pm.cx_cnt), param2, sizeof(target_vm->pm.cx_cnt)); in hcall_get_cpu_pm_state()1158 if (target_vm->pm.cx_cnt == 0U) { in hcall_get_cpu_pm_state()1164 if ((cx_idx == 0U) || (cx_idx > target_vm->pm.cx_cnt)) { in hcall_get_cpu_pm_state()
83 uint8_t cx_cnt; /* count of all Cx entries */ member
Completed in 12 milliseconds