Lines Matching refs:tos
229 u64 tos; in intel_pmu_lbr_tos() local
231 rdmsrl(x86_pmu.lbr_tos, tos); in intel_pmu_lbr_tos()
232 return tos; in intel_pmu_lbr_tos()
387 u64 tos = task_ctx->tos; in intel_pmu_lbr_restore() local
391 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_restore()
396 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_restore()
403 wrmsrl(x86_pmu.lbr_tos, tos); in intel_pmu_lbr_restore()
442 return !rdlbr_from(((struct x86_perf_task_context *)ctx)->tos, NULL); in lbr_is_reset_in_cstate()
478 u64 tos; in intel_pmu_lbr_save() local
482 tos = intel_pmu_lbr_tos(); in intel_pmu_lbr_save()
484 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_save()
489 task_ctx->tos = tos; in intel_pmu_lbr_save()
729 u64 tos = intel_pmu_lbr_tos(); in intel_pmu_lbr_read_32() local
733 unsigned long lbr_idx = (tos - i) & mask; in intel_pmu_lbr_read_32()
755 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_32()
768 u64 tos = intel_pmu_lbr_tos(); in intel_pmu_lbr_read_64() local
780 unsigned long lbr_idx = (tos - i) & mask; in intel_pmu_lbr_read_64()
851 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_64()