Home
last modified time | relevance | path

Searched refs:sysclk_df (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/fsl/
H A Dfsl_spdif.c136 u16 sysclk_df[SPDIF_TXRATE_MAX]; member
512 u16 sysclk_df; in spdif_set_sample_rate() local
570 sysclk_df = spdif_priv->sysclk_df[rate]; in spdif_set_sample_rate()
585 (64 * sample_rate * txclk_df * sysclk_df)); in spdif_set_sample_rate()
594 STC_TXCLK_DF(txclk_df) | STC_SYSCLK_DF(sysclk_df); in spdif_set_sample_rate()
1435 u16 sysclk_dfmin, sysclk_dfmax, sysclk_df; in fsl_spdif_txclk_caldiv() local
1442 for (sysclk_df = sysclk_dfmin; sysclk_df <= sysclk_dfmax; sysclk_df++) { in fsl_spdif_txclk_caldiv()
1451 arate /= txclk_df * sysclk_df; in fsl_spdif_txclk_caldiv()
1457 spdif_priv->sysclk_df[index] = sysclk_df; in fsl_spdif_txclk_caldiv()
1468 spdif_priv->sysclk_df[index] = sysclk_df; in fsl_spdif_txclk_caldiv()
[all …]