Lines Matching refs:last_mtc
132 uint32_t last_mtc; member
653 uint32_t last_mtc; member
672 uint32_t *last_mtc) in intel_pt_fixup_last_mtc() argument
677 *last_mtc |= mtc & mask; in intel_pt_fixup_last_mtc()
678 if (*last_mtc >= mtc) { in intel_pt_fixup_last_mtc()
679 *last_mtc -= first_missing_bit; in intel_pt_fixup_last_mtc()
680 *last_mtc &= 0xff; in intel_pt_fixup_last_mtc()
722 &data->last_mtc); in intel_pt_calc_cyc_cb()
724 if (mtc > data->last_mtc) in intel_pt_calc_cyc_cb()
725 mtc_delta = mtc - data->last_mtc; in intel_pt_calc_cyc_cb()
727 mtc_delta = mtc + 256 - data->last_mtc; in intel_pt_calc_cyc_cb()
729 data->last_mtc = mtc; in intel_pt_calc_cyc_cb()
785 data->last_mtc = (ctc >> decoder->mtc_shift) & 0xff; in intel_pt_calc_cyc_cb()
864 .last_mtc = decoder->last_mtc, in intel_pt_calc_cyc_to_tsc()
1520 decoder->last_mtc = (ctc >> decoder->mtc_shift) & 0xff; in intel_pt_calc_tma()
1533 decoder->ctc_timestamp, decoder->last_mtc, ctc_rem); in intel_pt_calc_tma()
1549 &decoder->last_mtc); in intel_pt_calc_mtc_timestamp()
1552 if (mtc > decoder->last_mtc) in intel_pt_calc_mtc_timestamp()
1553 mtc_delta = mtc - decoder->last_mtc; in intel_pt_calc_mtc_timestamp()
1555 mtc_delta = mtc + 256 - decoder->last_mtc; in intel_pt_calc_mtc_timestamp()
1578 decoder->last_mtc = mtc; in intel_pt_calc_mtc_timestamp()