Lines Matching refs:snd_dma_buffer
27 static const struct snd_malloc_ops *snd_dma_get_ops(struct snd_dma_buffer *dmab);
30 static void *snd_dma_sg_fallback_alloc(struct snd_dma_buffer *dmab, size_t size);
33 static void *__snd_dma_alloc_pages(struct snd_dma_buffer *dmab, size_t size) in __snd_dma_alloc_pages()
59 struct snd_dma_buffer *dmab) in snd_dma_alloc_dir_pages()
97 struct snd_dma_buffer *dmab) in snd_dma_alloc_pages_fallback()
121 void snd_dma_free_pages(struct snd_dma_buffer *dmab) in snd_dma_free_pages()
152 struct snd_dma_buffer *
156 struct snd_dma_buffer *dmab; in snd_devm_alloc_dir_pages()
185 int snd_dma_buffer_mmap(struct snd_dma_buffer *dmab, in snd_dma_buffer_mmap()
206 void snd_dma_buffer_sync(struct snd_dma_buffer *dmab, in snd_dma_buffer_sync()
227 dma_addr_t snd_sgbuf_get_addr(struct snd_dma_buffer *dmab, size_t offset) in snd_sgbuf_get_addr()
245 struct page *snd_sgbuf_get_page(struct snd_dma_buffer *dmab, size_t offset) in snd_sgbuf_get_page()
265 unsigned int snd_sgbuf_get_chunk_size(struct snd_dma_buffer *dmab, in snd_sgbuf_get_chunk_size()
320 static void *snd_dma_continuous_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_continuous_alloc()
325 static void snd_dma_continuous_free(struct snd_dma_buffer *dmab) in snd_dma_continuous_free()
330 static int snd_dma_continuous_mmap(struct snd_dma_buffer *dmab, in snd_dma_continuous_mmap()
348 static void *snd_dma_vmalloc_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_vmalloc_alloc()
353 static void snd_dma_vmalloc_free(struct snd_dma_buffer *dmab) in snd_dma_vmalloc_free()
358 static int snd_dma_vmalloc_mmap(struct snd_dma_buffer *dmab, in snd_dma_vmalloc_mmap()
367 static dma_addr_t snd_dma_vmalloc_get_addr(struct snd_dma_buffer *dmab, in snd_dma_vmalloc_get_addr()
373 static struct page *snd_dma_vmalloc_get_page(struct snd_dma_buffer *dmab, in snd_dma_vmalloc_get_page()
380 snd_dma_vmalloc_get_chunk_size(struct snd_dma_buffer *dmab, in snd_dma_vmalloc_get_chunk_size()
416 static void *snd_dma_iram_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_iram_alloc()
439 static void snd_dma_iram_free(struct snd_dma_buffer *dmab) in snd_dma_iram_free()
447 static int snd_dma_iram_mmap(struct snd_dma_buffer *dmab, in snd_dma_iram_mmap()
467 static void *snd_dma_dev_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_dev_alloc()
472 static void snd_dma_dev_free(struct snd_dma_buffer *dmab) in snd_dma_dev_free()
477 static int snd_dma_dev_mmap(struct snd_dma_buffer *dmab, in snd_dma_dev_mmap()
495 static void *snd_dma_wc_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_wc_alloc()
500 static void snd_dma_wc_free(struct snd_dma_buffer *dmab) in snd_dma_wc_free()
505 static int snd_dma_wc_mmap(struct snd_dma_buffer *dmab, in snd_dma_wc_mmap()
512 static void *snd_dma_wc_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_wc_alloc()
517 static void snd_dma_wc_free(struct snd_dma_buffer *dmab) in snd_dma_wc_free()
522 static int snd_dma_wc_mmap(struct snd_dma_buffer *dmab, in snd_dma_wc_mmap()
539 static void *snd_dma_noncontig_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_noncontig_alloc()
570 static void snd_dma_noncontig_free(struct snd_dma_buffer *dmab) in snd_dma_noncontig_free()
577 static int snd_dma_noncontig_mmap(struct snd_dma_buffer *dmab, in snd_dma_noncontig_mmap()
584 static void snd_dma_noncontig_sync(struct snd_dma_buffer *dmab, in snd_dma_noncontig_sync()
602 static inline void snd_dma_noncontig_iter_set(struct snd_dma_buffer *dmab, in snd_dma_noncontig_iter_set()
612 static dma_addr_t snd_dma_noncontig_get_addr(struct snd_dma_buffer *dmab, in snd_dma_noncontig_get_addr()
622 static struct page *snd_dma_noncontig_get_page(struct snd_dma_buffer *dmab, in snd_dma_noncontig_get_page()
633 snd_dma_noncontig_get_chunk_size(struct snd_dma_buffer *dmab, in snd_dma_noncontig_get_chunk_size()
674 static void *snd_dma_sg_wc_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_sg_wc_alloc()
689 static void snd_dma_sg_wc_free(struct snd_dma_buffer *dmab) in snd_dma_sg_wc_free()
699 static int snd_dma_sg_wc_mmap(struct snd_dma_buffer *dmab, in snd_dma_sg_wc_mmap()
726 static void __snd_dma_sg_fallback_free(struct snd_dma_buffer *dmab, in __snd_dma_sg_fallback_free()
754 static void *snd_dma_sg_fallback_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_sg_fallback_alloc()
826 static void snd_dma_sg_fallback_free(struct snd_dma_buffer *dmab) in snd_dma_sg_fallback_free()
836 static dma_addr_t snd_dma_sg_fallback_get_addr(struct snd_dma_buffer *dmab, in snd_dma_sg_fallback_get_addr()
845 static int snd_dma_sg_fallback_mmap(struct snd_dma_buffer *dmab, in snd_dma_sg_fallback_mmap()
869 static void *snd_dma_noncoherent_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_noncoherent_alloc()
880 static void snd_dma_noncoherent_free(struct snd_dma_buffer *dmab) in snd_dma_noncoherent_free()
886 static int snd_dma_noncoherent_mmap(struct snd_dma_buffer *dmab, in snd_dma_noncoherent_mmap()
895 static void snd_dma_noncoherent_sync(struct snd_dma_buffer *dmab, in snd_dma_noncoherent_sync()
942 static const struct snd_malloc_ops *snd_dma_get_ops(struct snd_dma_buffer *dmab) in snd_dma_get_ops()