Lines Matching refs:arate
1434 u32 arate; in fsl_spdif_txclk_caldiv() local
1450 arate = rate_actual / 64; in fsl_spdif_txclk_caldiv()
1451 arate /= txclk_df * sysclk_df; in fsl_spdif_txclk_caldiv()
1453 if (arate == rate[index]) { in fsl_spdif_txclk_caldiv()
1458 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()
1460 } else if (arate / rate[index] == 1) { in fsl_spdif_txclk_caldiv()
1462 sub = (u64)(arate - rate[index]) * 100000; in fsl_spdif_txclk_caldiv()
1469 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()
1470 } else if (rate[index] / arate == 1) { in fsl_spdif_txclk_caldiv()
1472 sub = (u64)(rate[index] - arate) * 100000; in fsl_spdif_txclk_caldiv()
1479 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()