Lines Matching full:cts
34 /* Clock N CTS N CTS N CTS */
49 * calculate CTS and N values if they are not found in the table
51 static void amdgpu_afmt_calc_cts(uint32_t clock, int *CTS, int *N, int freq) in amdgpu_afmt_calc_cts() argument
53 int n, cts; in amdgpu_afmt_calc_cts() local
58 cts = clock * 1000; in amdgpu_afmt_calc_cts()
61 div = gcd(n, cts); in amdgpu_afmt_calc_cts()
64 cts /= div; in amdgpu_afmt_calc_cts()
73 cts *= mul; in amdgpu_afmt_calc_cts()
82 *CTS = cts; in amdgpu_afmt_calc_cts()
84 DRM_DEBUG("Calculated ACR timing N=%d CTS=%d for frequency %d\n", in amdgpu_afmt_calc_cts()
85 *N, *CTS, freq); in amdgpu_afmt_calc_cts()