Home
last modified time | relevance | path

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

/sound/soc/codecs/
Drt5677-spi.c100 u32 word_size = min_t(u32, dstlen, 8); in rt5677_spi_reverse() local
102 for (w = 0; w < dstlen; w += word_size) { in rt5677_spi_reverse()
103 for (i = 0; i < word_size && i + w < dstlen; i++) { in rt5677_spi_reverse()
104 si = w + word_size - i - 1; in rt5677_spi_reverse()
/sound/soc/sunxi/
Dsun8i-codec.c275 unsigned int word_size) in sun8i_codec_get_bclk_div() argument
278 unsigned int div = clk_rate / rate / word_size / 2; in sun8i_codec_get_bclk_div()
296 unsigned int word_size) in sun8i_codec_get_lrck_div() argument
298 unsigned int div = word_size * channels; in sun8i_codec_get_lrck_div()
Dsun4i-i2s.c243 unsigned int word_size) in sun4i_i2s_get_bclk_div() argument
246 int div = parent_rate / sampling_rate / word_size / channels; in sun4i_i2s_get_bclk_div()
474 unsigned int word_size = params_width(params); in sun4i_i2s_hw_params() local
504 sr = i2s->variant->get_sr(i2s, word_size); in sun4i_i2s_hw_params()
/sound/soc/adi/
Daxi-i2s.c92 unsigned int bclk_div, word_size; in axi_i2s_hw_params() local
97 word_size = AXI_I2S_BITS_PER_FRAME / 2 - 1; in axi_i2s_hw_params()
100 regmap_write(i2s->regmap, AXI_I2S_REG_CLK_CTRL, (word_size << 16) | in axi_i2s_hw_params()