Searched refs:hck_rate (Results 1 – 1 of 1) sorted by relevance
77 u32 hck_rate[2]; member277 if (freq == esai_priv->hck_rate[tx] && dir == esai_priv->hck_dir[tx]) in fsl_esai_set_dai_sysclk()347 esai_priv->hck_rate[tx] = freq; in fsl_esai_set_dai_sysclk()365 u32 hck_rate = esai_priv->hck_rate[tx]; in fsl_esai_set_bclk() local366 u32 sub, ratio = hck_rate / freq; in fsl_esai_set_bclk()373 if (ratio * freq > hck_rate) in fsl_esai_set_bclk()374 sub = ratio * freq - hck_rate; in fsl_esai_set_bclk()375 else if (ratio * freq < hck_rate) in fsl_esai_set_bclk()376 sub = hck_rate - ratio * freq; in fsl_esai_set_bclk()381 if (sub != 0 && hck_rate / sub < 1000) { in fsl_esai_set_bclk()