Lines Matching refs:tos
210 u64 tos; in intel_pmu_lbr_tos() local
212 rdmsrl(x86_pmu.lbr_tos, tos); in intel_pmu_lbr_tos()
213 return tos; in intel_pmu_lbr_tos()
365 u64 tos = task_ctx->tos; in intel_pmu_lbr_restore() local
371 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_restore()
376 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_restore()
383 wrmsrl(x86_pmu.lbr_tos, tos); in intel_pmu_lbr_restore()
422 return !rdlbr_from(((struct x86_perf_task_context *)ctx)->tos, NULL); in lbr_is_reset_in_cstate()
458 u64 tos; in intel_pmu_lbr_save() local
462 tos = intel_pmu_lbr_tos(); in intel_pmu_lbr_save()
464 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_save()
469 task_ctx->tos = tos; in intel_pmu_lbr_save()
733 u64 tos = intel_pmu_lbr_tos(); in intel_pmu_lbr_read_32() local
737 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()
850 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_64()