Lines Matching refs:last_mtc
130 uint32_t last_mtc; member
622 uint32_t last_mtc; member
641 uint32_t *last_mtc) in intel_pt_fixup_last_mtc() argument
646 *last_mtc |= mtc & mask; in intel_pt_fixup_last_mtc()
647 if (*last_mtc >= mtc) { in intel_pt_fixup_last_mtc()
648 *last_mtc -= first_missing_bit; in intel_pt_fixup_last_mtc()
649 *last_mtc &= 0xff; in intel_pt_fixup_last_mtc()
687 &data->last_mtc); in intel_pt_calc_cyc_cb()
689 if (mtc > data->last_mtc) in intel_pt_calc_cyc_cb()
690 mtc_delta = mtc - data->last_mtc; in intel_pt_calc_cyc_cb()
692 mtc_delta = mtc + 256 - data->last_mtc; in intel_pt_calc_cyc_cb()
694 data->last_mtc = mtc; in intel_pt_calc_cyc_cb()
750 data->last_mtc = (ctc >> decoder->mtc_shift) & 0xff; in intel_pt_calc_cyc_cb()
829 .last_mtc = decoder->last_mtc, in intel_pt_calc_cyc_to_tsc()
1408 decoder->last_mtc = (ctc >> decoder->mtc_shift) & 0xff; in intel_pt_calc_tma()
1421 decoder->ctc_timestamp, decoder->last_mtc, ctc_rem); in intel_pt_calc_tma()
1437 &decoder->last_mtc); in intel_pt_calc_mtc_timestamp()
1440 if (mtc > decoder->last_mtc) in intel_pt_calc_mtc_timestamp()
1441 mtc_delta = mtc - decoder->last_mtc; in intel_pt_calc_mtc_timestamp()
1443 mtc_delta = mtc + 256 - decoder->last_mtc; in intel_pt_calc_mtc_timestamp()
1464 decoder->last_mtc = mtc; in intel_pt_calc_mtc_timestamp()