Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A Drt5677-spi.c186 static int rt5677_spi_mic_write_offset(u32 *mic_write_offset) in rt5677_spi_mic_write_offset() argument
193 ret = rt5677_spi_read(RT5677_MIC_BUF_ADDR, mic_write_offset, in rt5677_spi_mic_write_offset()
198 *mic_write_offset = *mic_write_offset - sizeof(u32); in rt5677_spi_mic_write_offset()
308 u32 mic_write_offset; in rt5677_spi_copy_work() local
322 if (rt5677_spi_mic_write_offset(&mic_write_offset)) { in rt5677_spi_copy_work()
334 if (mic_write_offset < RT5677_MIC_BUF_FIRST_READ_SIZE) in rt5677_spi_copy_work()
337 mic_write_offset); in rt5677_spi_copy_work()
339 rt5677_dsp->mic_read_offset = mic_write_offset - in rt5677_spi_copy_work()
344 if (rt5677_dsp->mic_read_offset <= mic_write_offset) in rt5677_spi_copy_work()
345 new_bytes = mic_write_offset - rt5677_dsp->mic_read_offset; in rt5677_spi_copy_work()
[all …]