Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A Drt5677-spi.c54 #define RT5677_MIC_BUF_BYTES ((u32)(RT5677_BUF_BYTES_TOTAL - \ macro
199 return *mic_write_offset < RT5677_MIC_BUF_BYTES ? 0 : -EFAULT; in rt5677_spi_mic_write_offset()
286 min(target, RT5677_MIC_BUF_BYTES)); in rt5677_spi_copy()
288 if (target >= RT5677_MIC_BUF_BYTES) { in rt5677_spi_copy()
290 target -= RT5677_MIC_BUF_BYTES; in rt5677_spi_copy()
335 rt5677_dsp->mic_read_offset = RT5677_MIC_BUF_BYTES - in rt5677_spi_copy_work()
347 new_bytes = RT5677_MIC_BUF_BYTES + mic_write_offset in rt5677_spi_copy_work()