Lines Matching refs:tsc_ctc_ratio_d
172 uint32_t tsc_ctc_ratio_d; member
350 decoder->tsc_ctc_ratio_d = params->tsc_ctc_ratio_d; in intel_pt_decoder_new()
353 decoder->tsc_ctc_ratio_d = 0; in intel_pt_decoder_new()
355 if (decoder->tsc_ctc_ratio_d) { in intel_pt_decoder_new()
356 if (!(decoder->tsc_ctc_ratio_n % decoder->tsc_ctc_ratio_d)) in intel_pt_decoder_new()
358 decoder->tsc_ctc_ratio_d; in intel_pt_decoder_new()
371 intel_pt_log("timestamp: tsc_ctc_ratio_d %u\n", decoder->tsc_ctc_ratio_d); in intel_pt_decoder_new()
864 decoder->tsc_ctc_ratio_d); in intel_pt_calc_cyc_cb()
904 if (!decoder->tsc_ctc_ratio_d) in intel_pt_calc_cyc_cb()
919 decoder->tsc_ctc_ratio_d); in intel_pt_calc_cyc_cb()
1911 if (!decoder->tsc_ctc_ratio_d) in intel_pt_calc_tma()
1927 decoder->tsc_ctc_ratio_d); in intel_pt_calc_tma()
1966 decoder->tsc_ctc_ratio_d); in intel_pt_calc_mtc_timestamp()
2442 return multdiv(ctc, decoder->tsc_ctc_ratio_n, decoder->tsc_ctc_ratio_d); in intel_pt_ctc_to_tsc()