Lines Matching refs:nents
309 int nents, unsigned int len) in setup_sgl_buf() argument
316 if (!nents) in setup_sgl_buf()
336 if (++n == nents || sgl == NULL) in setup_sgl_buf()
348 int nents, unsigned int len, unsigned int off) in setup_sgl() argument
363 n = setup_sgl_buf(sgl, fifo->data + off, nents, l); in setup_sgl()
364 n += setup_sgl_buf(sgl + n, fifo->data, nents - n, len - l); in setup_sgl()
370 struct scatterlist *sgl, int nents, unsigned int len) in __kfifo_dma_in_prepare() argument
378 return setup_sgl(fifo, sgl, nents, len, fifo->in); in __kfifo_dma_in_prepare()
383 struct scatterlist *sgl, int nents, unsigned int len) in __kfifo_dma_out_prepare() argument
391 return setup_sgl(fifo, sgl, nents, len, fifo->out); in __kfifo_dma_out_prepare()
562 struct scatterlist *sgl, int nents, unsigned int len, size_t recsize) in __kfifo_dma_in_prepare_r() argument
564 if (!nents) in __kfifo_dma_in_prepare_r()
572 return setup_sgl(fifo, sgl, nents, len, fifo->in + recsize); in __kfifo_dma_in_prepare_r()
586 struct scatterlist *sgl, int nents, unsigned int len, size_t recsize) in __kfifo_dma_out_prepare_r() argument
588 if (!nents) in __kfifo_dma_out_prepare_r()
596 return setup_sgl(fifo, sgl, nents, len, fifo->out + recsize); in __kfifo_dma_out_prepare_r()