Lines Matching refs:last_mtc
127 uint32_t last_mtc; member
643 uint32_t last_mtc; member
662 uint32_t *last_mtc) in intel_pt_fixup_last_mtc() argument
667 *last_mtc |= mtc & mask; in intel_pt_fixup_last_mtc()
668 if (*last_mtc >= mtc) { in intel_pt_fixup_last_mtc()
669 *last_mtc -= first_missing_bit; in intel_pt_fixup_last_mtc()
670 *last_mtc &= 0xff; in intel_pt_fixup_last_mtc()
712 &data->last_mtc); in intel_pt_calc_cyc_cb()
714 if (mtc > data->last_mtc) in intel_pt_calc_cyc_cb()
715 mtc_delta = mtc - data->last_mtc; in intel_pt_calc_cyc_cb()
717 mtc_delta = mtc + 256 - data->last_mtc; in intel_pt_calc_cyc_cb()
719 data->last_mtc = mtc; in intel_pt_calc_cyc_cb()
775 data->last_mtc = (ctc >> decoder->mtc_shift) & 0xff; in intel_pt_calc_cyc_cb()
854 .last_mtc = decoder->last_mtc, in intel_pt_calc_cyc_to_tsc()
1509 decoder->last_mtc = (ctc >> decoder->mtc_shift) & 0xff; in intel_pt_calc_tma()
1522 decoder->ctc_timestamp, decoder->last_mtc, ctc_rem); in intel_pt_calc_tma()
1538 &decoder->last_mtc); in intel_pt_calc_mtc_timestamp()
1541 if (mtc > decoder->last_mtc) in intel_pt_calc_mtc_timestamp()
1542 mtc_delta = mtc - decoder->last_mtc; in intel_pt_calc_mtc_timestamp()
1544 mtc_delta = mtc + 256 - decoder->last_mtc; in intel_pt_calc_mtc_timestamp()
1567 decoder->last_mtc = mtc; in intel_pt_calc_mtc_timestamp()