Lines Matching refs:tsc_ctc_ratio_n
171 uint32_t tsc_ctc_ratio_n; member
349 decoder->tsc_ctc_ratio_n = params->tsc_ctc_ratio_n; in intel_pt_decoder_new()
352 if (!decoder->tsc_ctc_ratio_n) in intel_pt_decoder_new()
356 if (!(decoder->tsc_ctc_ratio_n % decoder->tsc_ctc_ratio_d)) in intel_pt_decoder_new()
357 decoder->tsc_ctc_mult = decoder->tsc_ctc_ratio_n / in intel_pt_decoder_new()
370 intel_pt_log("timestamp: tsc_ctc_ratio_n %u\n", decoder->tsc_ctc_ratio_n); in intel_pt_decoder_new()
863 decoder->tsc_ctc_ratio_n, in intel_pt_calc_cyc_cb()
918 multdiv(ctc_rem, decoder->tsc_ctc_ratio_n, in intel_pt_calc_cyc_cb()
1926 decoder->tsc_ctc_ratio_n, in intel_pt_calc_tma()
1965 decoder->tsc_ctc_ratio_n, in intel_pt_calc_mtc_timestamp()
2440 return multdiv(ctc, decoder->tsc_ctc_ratio_n, decoder->tsc_ctc_ratio_d); in intel_pt_ctc_to_tsc()