Lines Matching defs:mtc_shift
176 int mtc_shift;
346 decoder->mtc_shift = params->mtc_period;
347 decoder->ctc_rem_mask = (1 << decoder->mtc_shift) - 1;
369 intel_pt_log("timestamp: mtc_shift %u\n", decoder->mtc_shift);
789 * 16 bits of CTC. If mtc_shift > 8 then some of the MTC bits are not in the CTC
794 static void intel_pt_fixup_last_mtc(uint32_t mtc, int mtc_shift,
797 uint32_t first_missing_bit = 1U << (16 - mtc_shift);
845 if (decoder->mtc_shift > 8 && data->fixup_last_mtc) {
847 intel_pt_fixup_last_mtc(mtc, decoder->mtc_shift,
854 data->ctc_delta += mtc_delta << decoder->mtc_shift;
911 data->last_mtc = (ctc >> decoder->mtc_shift) & 0xff;
1921 decoder->last_mtc = (ctc >> decoder->mtc_shift) & 0xff;
1948 if (decoder->mtc_shift > 8 && decoder->fixup_last_mtc) {
1950 intel_pt_fixup_last_mtc(mtc, decoder->mtc_shift,
1959 decoder->ctc_delta += mtc_delta << decoder->mtc_shift;