Searched refs:PT_CPUID_REGS_NUM (Results 1 – 5 of 5) sorted by relevance
6 #define PT_CPUID_REGS_NUM 4 /* number of registers (eax, ebx, ecx, edx) */ macro
45 u32 caps[PT_CPUID_REGS_NUM * PT_CPUID_LEAVES];
78 u32 c = caps[cd->leaf * PT_CPUID_REGS_NUM + cd->reg]; in intel_pt_validate_cap()239 &pt_pmu.caps[CPUID_EAX + i*PT_CPUID_REGS_NUM], in pt_pmu_hw_init()240 &pt_pmu.caps[CPUID_EBX + i*PT_CPUID_REGS_NUM], in pt_pmu_hw_init()241 &pt_pmu.caps[CPUID_ECX + i*PT_CPUID_REGS_NUM], in pt_pmu_hw_init()242 &pt_pmu.caps[CPUID_EDX + i*PT_CPUID_REGS_NUM]); in pt_pmu_hw_init()
68 u32 caps[PT_CPUID_REGS_NUM * PT_CPUID_LEAVES];
7548 vmx->pt_desc.caps[CPUID_EAX + i*PT_CPUID_REGS_NUM] = best->eax; in update_intel_pt_cfg()7549 vmx->pt_desc.caps[CPUID_EBX + i*PT_CPUID_REGS_NUM] = best->ebx; in update_intel_pt_cfg()7550 vmx->pt_desc.caps[CPUID_ECX + i*PT_CPUID_REGS_NUM] = best->ecx; in update_intel_pt_cfg()7551 vmx->pt_desc.caps[CPUID_EDX + i*PT_CPUID_REGS_NUM] = best->edx; in update_intel_pt_cfg()