Home
last modified time | relevance | path

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

/linux/include/linux/firmware/cirrus/
H A Dcs_dsp.h302 int cachebits; member
/linux/drivers/firmware/cirrus/
H A Dcs_dsp.c3398 nwrite = min(CS_DSP_DATA_WORD_BITS - ch->cachebits, nbits); in cs_dsp_chunk_write()
3402 ch->cachebits += nwrite; in cs_dsp_chunk_write()
3405 if (ch->cachebits == CS_DSP_DATA_WORD_BITS) { in cs_dsp_chunk_write()
3414 ch->cachebits = 0; in cs_dsp_chunk_write()
3436 if (!ch->cachebits) in cs_dsp_chunk_flush()
3439 return cs_dsp_chunk_write(ch, CS_DSP_DATA_WORD_BITS - ch->cachebits, 0); in cs_dsp_chunk_flush()
3458 if (!ch->cachebits) { in cs_dsp_chunk_read()
3463 ch->cachebits = CS_DSP_DATA_WORD_BITS; in cs_dsp_chunk_read()
3471 nread = min(ch->cachebits, nbits); in cs_dsp_chunk_read()
3476 ch->cachebits -= nread; in cs_dsp_chunk_read()