Lines Matching refs:sglist
55 struct scatterlist *sglist; member
153 buf->sglist = vzalloc(array_size(sizeof(*buf->sglist), buf->nr_pages)); in cx25821_alsa_dma_init()
154 if (NULL == buf->sglist) in cx25821_alsa_dma_init()
157 sg_init_table(buf->sglist, buf->nr_pages); in cx25821_alsa_dma_init()
162 sg_set_page(&buf->sglist[i], pg, PAGE_SIZE, 0); in cx25821_alsa_dma_init()
167 vfree(buf->sglist); in cx25821_alsa_dma_init()
168 buf->sglist = NULL; in cx25821_alsa_dma_init()
179 buf->sglen = dma_map_sg(&dev->pci->dev, buf->sglist, in cx25821_alsa_dma_map()
196 dma_unmap_sg(&dev->pci->dev, buf->sglist, buf->nr_pages, DMA_FROM_DEVICE); in cx25821_alsa_dma_unmap()
203 vfree(buf->sglist); in cx25821_alsa_dma_free()
204 buf->sglist = NULL; in cx25821_alsa_dma_free()
534 ret = cx25821_risc_databuffer_audio(chip->pci, &buf->risc, buf->sglist, in snd_cx25821_hw_params()