Home
last modified time | relevance | path

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

/linux/sound/soc/ux500/
H A Dux500_msp_i2s.c217 u32 sck_div = 0; in setup_bitclk() local
235 sck_div = config->f_inputclk / (config->frame_freq * in setup_bitclk()
241 sck_div = config->f_inputclk / (config->frame_freq * in setup_bitclk()
252 temp_reg = (sck_div - 1) & SCK_DIV_MASK; in setup_bitclk()
257 msp->f_bitclk = (config->f_inputclk)/(sck_div + 1); in setup_bitclk()
/linux/sound/soc/fsl/
H A Dfsl_esai.c80 bool sck_div[2]; member
281 esai_priv->sck_div[tx] = true; in fsl_esai_set_dai_sysclk()
343 esai_priv->sck_div[tx] = false; in fsl_esai_set_dai_sysclk()
388 if (!esai_priv->sck_div[tx] && (ratio > 16 || ratio == 0)) { in fsl_esai_set_bclk()
394 esai_priv->sck_div[tx] ? 0 : ratio); in fsl_esai_set_bclk()