Lines Matching defs:mtc_shift
145 int mtc_shift;
276 decoder->mtc_shift = params->mtc_period;
277 decoder->ctc_rem_mask = (1 << decoder->mtc_shift) - 1;
299 intel_pt_log("timestamp: mtc_shift %u\n", decoder->mtc_shift);
686 * 16 bits of CTC. If mtc_shift > 8 then some of the MTC bits are not in the CTC
691 static void intel_pt_fixup_last_mtc(uint32_t mtc, int mtc_shift,
694 uint32_t first_missing_bit = 1U << (16 - mtc_shift);
739 if (decoder->mtc_shift > 8 && data->fixup_last_mtc) {
741 intel_pt_fixup_last_mtc(mtc, decoder->mtc_shift,
748 data->ctc_delta += mtc_delta << decoder->mtc_shift;
805 data->last_mtc = (ctc >> decoder->mtc_shift) & 0xff;
1561 decoder->last_mtc = (ctc >> decoder->mtc_shift) & 0xff;
1587 if (decoder->mtc_shift > 8 && decoder->fixup_last_mtc) {
1589 intel_pt_fixup_last_mtc(mtc, decoder->mtc_shift,
1598 decoder->ctc_delta += mtc_delta << decoder->mtc_shift;