Home
last modified time | relevance | path

Searched refs:snd_dma_buffer (Results 1 – 25 of 69) sorted by relevance

123

/linux/sound/core/
A Dmemalloc.c59 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()
183 int snd_dma_buffer_mmap(struct snd_dma_buffer *dmab, in snd_dma_buffer_mmap()
204 void snd_dma_buffer_sync(struct snd_dma_buffer *dmab, in snd_dma_buffer_sync()
406 static int snd_dma_iram_mmap(struct snd_dma_buffer *dmab, in snd_dma_iram_mmap()
454 static int snd_dma_dev_mmap(struct snd_dma_buffer *dmab, in snd_dma_dev_mmap()
483 static void snd_dma_wc_free(struct snd_dma_buffer *dmab) in snd_dma_wc_free()
[all …]
A Dmemalloc_local.h6 void *(*alloc)(struct snd_dma_buffer *dmab, size_t size);
7 void (*free)(struct snd_dma_buffer *dmab);
8 dma_addr_t (*get_addr)(struct snd_dma_buffer *dmab, size_t offset);
9 struct page *(*get_page)(struct snd_dma_buffer *dmab, size_t offset);
10 unsigned int (*get_chunk_size)(struct snd_dma_buffer *dmab,
12 int (*mmap)(struct snd_dma_buffer *dmab, struct vm_area_struct *area);
13 void (*sync)(struct snd_dma_buffer *dmab, enum snd_dma_sync_mode mode);
A Dsgbuf.c33 static void snd_dma_sg_free(struct snd_dma_buffer *dmab) in snd_dma_sg_free()
36 struct snd_dma_buffer tmpb; in snd_dma_sg_free()
66 static void *snd_dma_sg_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_sg_alloc()
70 struct snd_dma_buffer tmpb; in snd_dma_sg_alloc()
141 static dma_addr_t snd_dma_sg_get_addr(struct snd_dma_buffer *dmab, in snd_dma_sg_get_addr()
152 static struct page *snd_dma_sg_get_page(struct snd_dma_buffer *dmab, in snd_dma_sg_get_page()
163 static unsigned int snd_dma_sg_get_chunk_size(struct snd_dma_buffer *dmab, in snd_dma_sg_get_chunk_size()
186 static int snd_dma_sg_mmap(struct snd_dma_buffer *dmab, in snd_dma_sg_mmap()
A Dpcm_memory.c35 int str, size_t size, struct snd_dma_buffer *dmab) in do_alloc_pages()
57 static void do_free_pages(struct snd_card *card, struct snd_dma_buffer *dmab) in do_free_pages()
78 struct snd_dma_buffer *dmab = &substream->dma_buffer; in preallocate_pcm_pages()
164 struct snd_dma_buffer new_dmab; in snd_pcm_lib_preallocate_proc_write()
393 struct snd_dma_buffer *dmab = NULL; in snd_pcm_lib_malloc_pages()
/linux/include/sound/
A Dmemalloc.h58 struct snd_dma_buffer { struct
77 struct snd_dma_buffer *dmab); argument
80 size_t size, struct snd_dma_buffer *dmab) in snd_dma_alloc_pages()
86 struct snd_dma_buffer *dmab);
87 void snd_dma_free_pages(struct snd_dma_buffer *dmab);
88 int snd_dma_buffer_mmap(struct snd_dma_buffer *dmab,
93 void snd_dma_buffer_sync(struct snd_dma_buffer *dmab,
96 static inline void snd_dma_buffer_sync(struct snd_dma_buffer *dmab, in snd_dma_buffer_sync()
102 unsigned int snd_sgbuf_get_chunk_size(struct snd_dma_buffer *dmab,
110 static inline struct snd_dma_buffer *
[all …]
A Dcompress_driver.h56 struct snd_dma_buffer *dma_buffer_p;
86 struct snd_dma_buffer dma_buffer;
222 struct snd_dma_buffer *bufp) in snd_compr_set_runtime_buffer()
A Dhdaudio.h327 struct snd_dma_buffer rb;
328 struct snd_dma_buffer posbuf;
498 struct snd_dma_buffer bdl; /* BDL buffer */
610 unsigned int byte_size, struct snd_dma_buffer *bufp);
613 struct snd_dma_buffer *dmab);
622 unsigned int byte_size, struct snd_dma_buffer *bufp) in snd_hdac_dsp_prepare()
632 struct snd_dma_buffer *dmab) in snd_hdac_dsp_cleanup()
A Dhda_codec.h512 struct snd_dma_buffer *bufp);
515 struct snd_dma_buffer *dmab);
520 struct snd_dma_buffer *bufp) in snd_hda_codec_load_dsp_prepare()
528 struct snd_dma_buffer *dmab) {} in snd_hda_codec_load_dsp_cleanup()
A Demu10k1.h1607 struct snd_dma_buffer etram_pages; /* external TRAM pages and size */
1701 struct snd_dma_buffer silent_page; /* silent page */
1702 struct snd_dma_buffer ptb_pages; /* page table pages */
1704 struct snd_dma_buffer *p16v_buffer;
1865 struct snd_dma_buffer *dmab);
/linux/sound/soc/intel/skylake/
A Dskl-sst-cldma.h197 struct snd_dma_buffer *dmab_data,
200 struct snd_dma_buffer *dmab_bdl,
228 struct snd_dma_buffer dmab_data;
229 struct snd_dma_buffer dmab_bdl;
A Dskl-sst-dsp.h159 struct snd_dma_buffer *dmab, size_t size);
161 struct snd_dma_buffer *dmab);
164 struct snd_dma_buffer *bufp);
167 int (*cleanup)(struct device *dev, struct snd_dma_buffer *dmab,
/linux/sound/pci/lx6464es/
A Dlx6464es.h83 struct snd_dma_buffer capture_dma_buf;
84 struct snd_dma_buffer playback_dma_buf;
/linux/sound/parisc/
A Dharmony.h38 struct snd_dma_buffer gdma; /* graveyard */
39 struct snd_dma_buffer sdma; /* silence */
/linux/sound/soc/sof/
A Dsof-priv.h436 struct snd_dma_buffer dmab;
437 struct snd_dma_buffer dmab_bdl;
464 struct snd_dma_buffer dmatb;
465 struct snd_dma_buffer dmatp;
500 struct snd_dma_buffer *dmab,
/linux/sound/pci/mixart/
A Dmixart.h83 struct snd_dma_buffer flowinfo;
84 struct snd_dma_buffer bufferinfo;
/linux/sound/pci/echoaudio/
A Dechoaudio.h317 struct snd_dma_buffer sgpage; /* Room for the scatter-gather list */
351 struct snd_dma_buffer *commpage_dma_buf;
/linux/sound/soc/pxa/
A Dmmp-pcm.c156 struct snd_dma_buffer *buf; in mmp_pcm_free_dma_buffers()
183 struct snd_dma_buffer *buf = &substream->dma_buffer; in mmp_pcm_preallocate_dma_buffer()
/linux/sound/pci/ctxfi/
A Dctvmem.h43 struct snd_dma_buffer ptp[CT_PTP_NUM]; /* Device page table pages */
/linux/sound/pci/trident/
A Dtrident.h254 struct snd_dma_buffer *buffer;
256 struct snd_dma_buffer *silent_page;
/linux/sound/pci/ymfpci/
A Dymfpci.h284 struct snd_dma_buffer *work_ptr;
299 struct snd_dma_buffer ac3_tmp_base;
/linux/sound/soc/sof/intel/
A Dhda.h545 struct snd_dma_buffer *dmab,
548 struct snd_dma_buffer *dmab,
554 struct snd_dma_buffer *dmab,
A Dhda-trace.c27 struct snd_dma_buffer *dmab = &sdev->dmatb; in hda_dsp_trace_prepare()
/linux/sound/soc/fsl/
A Dimx-pcm-fiq.c245 struct snd_dma_buffer *buf = &substream->dma_buffer; in snd_imx_pcm_new()
252 struct snd_dma_buffer *buf = &substream->dma_buffer; in snd_imx_pcm_new()
/linux/sound/soc/intel/common/
A Dsst-dsp-priv.h98 struct snd_dma_buffer dmab;
/linux/sound/hda/
A Dhdac_stream.c367 struct snd_dma_buffer *dmab, in setup_bdle()
681 unsigned int byte_size, struct snd_dma_buffer *bufp) in snd_hdac_dsp_prepare()
755 struct snd_dma_buffer *dmab) in snd_hdac_dsp_cleanup()

Completed in 90 milliseconds

123