Lines Matching refs:last_mtc
170 uint32_t last_mtc; member
776 uint32_t last_mtc; member
795 uint32_t *last_mtc) in intel_pt_fixup_last_mtc() argument
800 *last_mtc |= mtc & mask; in intel_pt_fixup_last_mtc()
801 if (*last_mtc >= mtc) { in intel_pt_fixup_last_mtc()
802 *last_mtc -= first_missing_bit; in intel_pt_fixup_last_mtc()
803 *last_mtc &= 0xff; in intel_pt_fixup_last_mtc()
848 &data->last_mtc); in intel_pt_calc_cyc_cb()
850 if (mtc > data->last_mtc) in intel_pt_calc_cyc_cb()
851 mtc_delta = mtc - data->last_mtc; in intel_pt_calc_cyc_cb()
853 mtc_delta = mtc + 256 - data->last_mtc; in intel_pt_calc_cyc_cb()
855 data->last_mtc = mtc; in intel_pt_calc_cyc_cb()
911 data->last_mtc = (ctc >> decoder->mtc_shift) & 0xff; in intel_pt_calc_cyc_cb()
990 .last_mtc = decoder->last_mtc, in intel_pt_calc_cyc_to_tsc()
1919 decoder->last_mtc = (ctc >> decoder->mtc_shift) & 0xff; in intel_pt_calc_tma()
1933 decoder->ctc_timestamp, decoder->last_mtc, ctc_rem); in intel_pt_calc_tma()
1949 &decoder->last_mtc); in intel_pt_calc_mtc_timestamp()
1952 if (mtc > decoder->last_mtc) in intel_pt_calc_mtc_timestamp()
1953 mtc_delta = mtc - decoder->last_mtc; in intel_pt_calc_mtc_timestamp()
1955 mtc_delta = mtc + 256 - decoder->last_mtc; in intel_pt_calc_mtc_timestamp()
1978 decoder->last_mtc = mtc; in intel_pt_calc_mtc_timestamp()