Lines Matching refs:arate
1432 u32 arate; in fsl_spdif_txclk_caldiv() local
1448 arate = rate_actual / 64; in fsl_spdif_txclk_caldiv()
1449 arate /= txclk_df * sysclk_df; in fsl_spdif_txclk_caldiv()
1451 if (arate == rate[index]) { in fsl_spdif_txclk_caldiv()
1456 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()
1458 } else if (arate / rate[index] == 1) { in fsl_spdif_txclk_caldiv()
1460 sub = (u64)(arate - rate[index]) * 100000; in fsl_spdif_txclk_caldiv()
1467 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()
1468 } else if (rate[index] / arate == 1) { in fsl_spdif_txclk_caldiv()
1470 sub = (u64)(rate[index] - arate) * 100000; in fsl_spdif_txclk_caldiv()
1477 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()