Lines Matching refs:arate
1429 u32 arate; in fsl_spdif_txclk_caldiv() local
1445 arate = rate_actual / 64; in fsl_spdif_txclk_caldiv()
1446 arate /= txclk_df * sysclk_df; in fsl_spdif_txclk_caldiv()
1448 if (arate == rate[index]) { in fsl_spdif_txclk_caldiv()
1453 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()
1455 } else if (arate / rate[index] == 1) { in fsl_spdif_txclk_caldiv()
1457 sub = (u64)(arate - rate[index]) * 100000; in fsl_spdif_txclk_caldiv()
1464 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()
1465 } else if (rate[index] / arate == 1) { in fsl_spdif_txclk_caldiv()
1467 sub = (u64)(rate[index] - arate) * 100000; in fsl_spdif_txclk_caldiv()
1474 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()