Home
last modified time | relevance | path

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

/linux/sound/soc/sunxi/
H A Dsun8i-codec.c203 unsigned int lrck_div_order; member
540 unsigned int lrck_div_order, in sun8i_codec_get_bclk_div() argument
543 unsigned int div = sysclk_rate / sample_rate >> lrck_div_order; in sun8i_codec_get_bclk_div()
582 int bclk_div, lrck_div_order, ret, word_size; in sun8i_codec_hw_params() local
608 lrck_div_order = sun8i_codec_get_lrck_div_order(slots, slot_width); in sun8i_codec_hw_params()
609 if (lrck_div_order < 0) in sun8i_codec_hw_params()
610 return lrck_div_order; in sun8i_codec_hw_params()
619 (lrck_div_order != partner_aif->lrck_div_order || in sun8i_codec_hw_params()
634 (lrck_div_order - 4) << SUN8I_AIF_CLK_CTRL_LRCK_DIV); in sun8i_codec_hw_params()
637 bclk_div = sun8i_codec_get_bclk_div(sysclk_rate, lrck_div_order, sample_rate); in sun8i_codec_hw_params()
[all …]