Searched refs:cachebits (Results 1 – 2 of 2) sorted by relevance
3255 nwrite = min(CS_DSP_DATA_WORD_BITS - ch->cachebits, nbits); in cs_dsp_chunk_write()3259 ch->cachebits += nwrite; in cs_dsp_chunk_write()3262 if (ch->cachebits == CS_DSP_DATA_WORD_BITS) { in cs_dsp_chunk_write()3271 ch->cachebits = 0; in cs_dsp_chunk_write()3293 if (!ch->cachebits) in cs_dsp_chunk_flush()3296 return cs_dsp_chunk_write(ch, CS_DSP_DATA_WORD_BITS - ch->cachebits, 0); in cs_dsp_chunk_flush()3315 if (!ch->cachebits) { in cs_dsp_chunk_read()3320 ch->cachebits = CS_DSP_DATA_WORD_BITS; in cs_dsp_chunk_read()3328 nread = min(ch->cachebits, nbits); in cs_dsp_chunk_read()3333 ch->cachebits -= nread; in cs_dsp_chunk_read()
272 int cachebits; member