Searched refs:word_size (Results 1 – 4 of 4) sorted by relevance
100 u32 word_size = min_t(u32, dstlen, 8); in rt5677_spi_reverse() local102 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()
275 unsigned int word_size) in sun8i_codec_get_bclk_div() argument278 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() argument298 unsigned int div = word_size * channels; in sun8i_codec_get_lrck_div()
243 unsigned int word_size) in sun4i_i2s_get_bclk_div() argument246 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() local504 sr = i2s->variant->get_sr(i2s, word_size); in sun4i_i2s_hw_params()
92 unsigned int bclk_div, word_size; in axi_i2s_hw_params() local97 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()