Lines Matching defs:nwords
1933 int mem_type, nwords, max_read;
1949 nwords = buf->regions[i].cumulative_size - buf->read_index;
1951 if (nwords > target)
1952 nwords = target;
1953 if (nwords > buf->avail)
1954 nwords = buf->avail;
1955 if (nwords > max_read)
1956 nwords = max_read;
1957 if (!nwords)
1962 nwords, (__be32 *)compr->raw_buf);
1966 cs_dsp_remove_padding(compr->raw_buf, nwords);
1969 buf->read_index += nwords;
1979 buf->avail -= nwords;
1981 return nwords;
1989 int nwords, nbytes;
2001 nwords = wm_adsp_buffer_capture_block(compr, count);
2002 if (nwords < 0) {
2004 nwords);
2005 return nwords;
2008 nbytes = nwords * CS_DSP_DATA_WORD_SIZE;
2018 count -= nwords;
2020 } while (nwords > 0 && count > 0);