Lines Matching refs:tos
209 u64 tos; in intel_pmu_lbr_tos() local
211 rdmsrl(x86_pmu.lbr_tos, tos); in intel_pmu_lbr_tos()
212 return tos; in intel_pmu_lbr_tos()
364 u64 tos = task_ctx->tos; in intel_pmu_lbr_restore() local
370 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_restore()
375 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_restore()
382 wrmsrl(x86_pmu.lbr_tos, tos); in intel_pmu_lbr_restore()
421 return !rdlbr_from(((struct x86_perf_task_context *)ctx)->tos, NULL); in lbr_is_reset_in_cstate()
457 u64 tos; in intel_pmu_lbr_save() local
461 tos = intel_pmu_lbr_tos(); in intel_pmu_lbr_save()
463 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_save()
468 task_ctx->tos = tos; in intel_pmu_lbr_save()
713 u64 tos = intel_pmu_lbr_tos(); in intel_pmu_lbr_read_32() local
717 unsigned long lbr_idx = (tos - i) & mask; in intel_pmu_lbr_read_32()
735 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_32()
748 u64 tos = intel_pmu_lbr_tos(); in intel_pmu_lbr_read_64() local
760 unsigned long lbr_idx = (tos - i) & mask; in intel_pmu_lbr_read_64()
830 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_64()