Home | History | Annotate | Download | only in radeon

Lines Matching refs:cts

552  * calculate CTS and N values if they are not found in the table
554 static void radeon_audio_calc_cts(unsigned int clock, int *CTS, int *N, int freq)
556 int n, cts;
561 cts = clock * 1000;
564 div = gcd(n, cts);
567 cts /= div;
576 cts *= mul;
585 *CTS = cts;
587 DRM_DEBUG("Calculated ACR timing N=%d CTS=%d for frequency %d\n",
588 *N, *CTS, freq);
598 /* Clock N CTS N CTS N CTS */
625 * update the N and CTS parameters for a given pixel clock rate