Lines Matching refs:last_mtc
167 uint32_t last_mtc; member
763 uint32_t last_mtc; member
782 uint32_t *last_mtc) in intel_pt_fixup_last_mtc() argument
787 *last_mtc |= mtc & mask; in intel_pt_fixup_last_mtc()
788 if (*last_mtc >= mtc) { in intel_pt_fixup_last_mtc()
789 *last_mtc -= first_missing_bit; in intel_pt_fixup_last_mtc()
790 *last_mtc &= 0xff; in intel_pt_fixup_last_mtc()
832 &data->last_mtc); in intel_pt_calc_cyc_cb()
834 if (mtc > data->last_mtc) in intel_pt_calc_cyc_cb()
835 mtc_delta = mtc - data->last_mtc; in intel_pt_calc_cyc_cb()
837 mtc_delta = mtc + 256 - data->last_mtc; in intel_pt_calc_cyc_cb()
839 data->last_mtc = mtc; in intel_pt_calc_cyc_cb()
895 data->last_mtc = (ctc >> decoder->mtc_shift) & 0xff; in intel_pt_calc_cyc_cb()
974 .last_mtc = decoder->last_mtc, in intel_pt_calc_cyc_to_tsc()
1665 decoder->last_mtc = (ctc >> decoder->mtc_shift) & 0xff; in intel_pt_calc_tma()
1679 decoder->ctc_timestamp, decoder->last_mtc, ctc_rem); in intel_pt_calc_tma()
1695 &decoder->last_mtc); in intel_pt_calc_mtc_timestamp()
1698 if (mtc > decoder->last_mtc) in intel_pt_calc_mtc_timestamp()
1699 mtc_delta = mtc - decoder->last_mtc; in intel_pt_calc_mtc_timestamp()
1701 mtc_delta = mtc + 256 - decoder->last_mtc; in intel_pt_calc_mtc_timestamp()
1724 decoder->last_mtc = mtc; in intel_pt_calc_mtc_timestamp()