Lines Matching refs:sglist
48 struct scatterlist *sglist; member
292 buf->sglist = vzalloc(array_size(sizeof(*buf->sglist), buf->nr_pages)); in cx88_alsa_dma_init()
293 if (!buf->sglist) in cx88_alsa_dma_init()
296 sg_init_table(buf->sglist, buf->nr_pages); in cx88_alsa_dma_init()
301 sg_set_page(&buf->sglist[i], pg, PAGE_SIZE, 0); in cx88_alsa_dma_init()
306 vfree(buf->sglist); in cx88_alsa_dma_init()
307 buf->sglist = NULL; in cx88_alsa_dma_init()
318 buf->sglen = dma_map_sg(&dev->pci->dev, buf->sglist, in cx88_alsa_dma_map()
335 dma_unmap_sg(&dev->pci->dev, buf->sglist, buf->nr_pages, in cx88_alsa_dma_unmap()
343 vfree(buf->sglist); in cx88_alsa_dma_free()
344 buf->sglist = NULL; in cx88_alsa_dma_free()
484 ret = cx88_risc_databuffer(chip->pci, &buf->risc, buf->sglist, in snd_cx88_hw_params()