Lines Matching refs:last_mtc
139 uint32_t last_mtc; member
673 uint32_t last_mtc; member
692 uint32_t *last_mtc) in intel_pt_fixup_last_mtc() argument
697 *last_mtc |= mtc & mask; in intel_pt_fixup_last_mtc()
698 if (*last_mtc >= mtc) { in intel_pt_fixup_last_mtc()
699 *last_mtc -= first_missing_bit; in intel_pt_fixup_last_mtc()
700 *last_mtc &= 0xff; in intel_pt_fixup_last_mtc()
742 &data->last_mtc); in intel_pt_calc_cyc_cb()
744 if (mtc > data->last_mtc) in intel_pt_calc_cyc_cb()
745 mtc_delta = mtc - data->last_mtc; in intel_pt_calc_cyc_cb()
747 mtc_delta = mtc + 256 - data->last_mtc; in intel_pt_calc_cyc_cb()
749 data->last_mtc = mtc; in intel_pt_calc_cyc_cb()
805 data->last_mtc = (ctc >> decoder->mtc_shift) & 0xff; in intel_pt_calc_cyc_cb()
884 .last_mtc = decoder->last_mtc, in intel_pt_calc_cyc_to_tsc()
1561 decoder->last_mtc = (ctc >> decoder->mtc_shift) & 0xff; in intel_pt_calc_tma()
1574 decoder->ctc_timestamp, decoder->last_mtc, ctc_rem); in intel_pt_calc_tma()
1590 &decoder->last_mtc); in intel_pt_calc_mtc_timestamp()
1593 if (mtc > decoder->last_mtc) in intel_pt_calc_mtc_timestamp()
1594 mtc_delta = mtc - decoder->last_mtc; in intel_pt_calc_mtc_timestamp()
1596 mtc_delta = mtc + 256 - decoder->last_mtc; in intel_pt_calc_mtc_timestamp()
1619 decoder->last_mtc = mtc; in intel_pt_calc_mtc_timestamp()