Lines Matching refs:last_mtc
170 uint32_t last_mtc;
776 uint32_t last_mtc;
790 * provided by the TMA packet. Fix-up the last_mtc calculated from the TMA
792 * difference between the two, and that the current MTC comes after last_mtc.
795 uint32_t *last_mtc)
800 *last_mtc |= mtc & mask;
801 if (*last_mtc >= mtc) {
802 *last_mtc -= first_missing_bit;
803 *last_mtc &= 0xff;
848 &data->last_mtc);
850 if (mtc > data->last_mtc)
851 mtc_delta = mtc - data->last_mtc;
853 mtc_delta = mtc + 256 - data->last_mtc;
855 data->last_mtc = mtc;
911 data->last_mtc = (ctc >> decoder->mtc_shift) & 0xff;
990 .last_mtc = decoder->last_mtc,
1919 decoder->last_mtc = (ctc >> decoder->mtc_shift) & 0xff;
1933 decoder->ctc_timestamp, decoder->last_mtc, ctc_rem);
1949 &decoder->last_mtc);
1952 if (mtc > decoder->last_mtc)
1953 mtc_delta = mtc - decoder->last_mtc;
1955 mtc_delta = mtc + 256 - decoder->last_mtc;
1978 decoder->last_mtc = mtc;
2452 /* Number of CTC ticks from last_ctc_timestamp to last_mtc */