Lines Matching defs:ctc
454 uint16_t ctc, fc;
460 ctc = packet->payload.tma.ctc;
468 pos = pt_encode_int(pos, ctc, pt_pl_tma_ctc_size);
482 *pos++ = packet->payload.mtc.ctc;
489 uint64_t ctc;
491 ctc = (uint8_t) packet->payload.cyc.value;
492 ctc <<= pt_opm_cyc_shr;
495 byte[0] |= (uint8_t) ctc;
497 ctc = packet->payload.cyc.value;
498 ctc >>= (8 - pt_opm_cyc_shr);
499 if (ctc)
502 for (end = 1; ctc; ++end) {
507 ctc <<= pt_opm_cycx_shr;
509 byte[end] = (uint8_t) ctc;
511 ctc >>= 8;
512 if (ctc)
859 int pt_encode_tma(struct pt_encoder *encoder, uint16_t ctc, uint16_t fc)
864 packet.payload.tma.ctc = ctc;
870 int pt_encode_mtc(struct pt_encoder *encoder, uint8_t ctc)
875 packet.payload.mtc.ctc = ctc;
880 int pt_encode_cyc(struct pt_encoder *encoder, uint32_t ctc)
885 packet.payload.cyc.value = ctc;