Lines Matching refs:nwords
1929 int mem_type, nwords, max_read;
1945 nwords = buf->regions[i].cumulative_size - buf->read_index;
1947 if (nwords > target)
1948 nwords = target;
1949 if (nwords > buf->avail)
1950 nwords = buf->avail;
1951 if (nwords > max_read)
1952 nwords = max_read;
1953 if (!nwords)
1958 nwords, (__be32 *)compr->raw_buf);
1962 cs_dsp_remove_padding(compr->raw_buf, nwords);
1965 buf->read_index += nwords;
1975 buf->avail -= nwords;
1977 return nwords;
1985 int nwords, nbytes;
1997 nwords = wm_adsp_buffer_capture_block(compr, count);
1998 if (nwords < 0) {
2000 nwords);
2001 return nwords;
2004 nbytes = nwords * CS_DSP_DATA_WORD_SIZE;
2014 count -= nwords;
2016 } while (nwords > 0 && count > 0);