Home
last modified time | relevance | path

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

12

/linux/include/sound/
H A Dmemalloc.h55 struct snd_dma_buffer { struct
74 struct snd_dma_buffer *dmab); argument
77 size_t size, struct snd_dma_buffer *dmab) in snd_dma_alloc_pages()
83 struct snd_dma_buffer *dmab);
84 void snd_dma_free_pages(struct snd_dma_buffer *dmab);
85 int snd_dma_buffer_mmap(struct snd_dma_buffer *dmab,
90 void snd_dma_buffer_sync(struct snd_dma_buffer *dmab,
93 static inline void snd_dma_buffer_sync(struct snd_dma_buffer *dmab, in snd_dma_buffer_sync()
97 dma_addr_t snd_sgbuf_get_addr(struct snd_dma_buffer *dmab, size_t offset);
98 struct page *snd_sgbuf_get_page(struct snd_dma_buffer *dmab, size_t offset);
[all …]
H A Dhda-sdw-bpt.h15 struct snd_dma_buffer;
19 struct snd_dma_buffer *dmab_tx_bdl, u32 bpt_tx_num_bytes,
21 struct snd_dma_buffer *dmab_rx_bdl, u32 bpt_rx_num_bytes,
31 struct snd_dma_buffer *dmab_tx_bdl, struct hdac_ext_stream *bpt_rx_stream,
32 struct snd_dma_buffer *dmab_rx_bdl);
38 struct snd_dma_buffer *dmab_tx_bdl, u32 bpt_tx_num_bytes, in hda_sdw_bpt_open()
40 struct snd_dma_buffer *dmab_rx_bdl, u32 bpt_rx_num_bytes, in hda_sdw_bpt_open()
62 struct snd_dma_buffer *dmab_tx_bdl, in hda_sdw_bpt_close()
64 struct snd_dma_buffer *dmab_rx_bdl) in hda_sdw_bpt_close()
H A Dhdaudio.h332 struct snd_dma_buffer rb;
333 struct snd_dma_buffer posbuf;
518 struct snd_dma_buffer bdl; /* BDL buffer */
660 unsigned int byte_size, struct snd_dma_buffer *bufp);
663 struct snd_dma_buffer *dmab);
672 unsigned int byte_size, struct snd_dma_buffer *bufp) in snd_hdac_dsp_prepare()
682 struct snd_dma_buffer *dmab) in snd_hdac_dsp_cleanup()
/linux/sound/core/
H A Dmemalloc.c22 void *(*alloc)(struct snd_dma_buffer *dmab, size_t size);
23 void (*free)(struct snd_dma_buffer *dmab);
24 dma_addr_t (*get_addr)(struct snd_dma_buffer *dmab, size_t offset);
25 struct page *(*get_page)(struct snd_dma_buffer *dmab, size_t offset);
26 unsigned int (*get_chunk_size)(struct snd_dma_buffer *dmab,
28 int (*mmap)(struct snd_dma_buffer *dmab, struct vm_area_struct *area);
29 void (*sync)(struct snd_dma_buffer *dmab, enum snd_dma_sync_mode mode);
37 static const struct snd_malloc_ops *snd_dma_get_ops(struct snd_dma_buffer *dmab);
39 static void *__snd_dma_alloc_pages(struct snd_dma_buffer *dmab, size_t size) in __snd_dma_alloc_pages()
65 struct snd_dma_buffer *dmab) in snd_dma_alloc_dir_pages()
[all …]
H A Dpcm_memory.c52 int str, size_t size, struct snd_dma_buffer *dmab) in do_alloc_pages()
83 static void do_free_pages(struct snd_card *card, struct snd_dma_buffer *dmab) in do_free_pages()
101 struct snd_dma_buffer *dmab = &substream->dma_buffer; in preallocate_pcm_pages()
187 struct snd_dma_buffer new_dmab; in snd_pcm_lib_preallocate_proc_write()
424 struct snd_dma_buffer *dmab = NULL; in snd_pcm_lib_malloc_pages()
/linux/sound/soc/sof/intel/
H A Dhda-loader-skl.c116 struct snd_dma_buffer *dmab_data, in cl_skl_cldma_setup_bdle()
232 struct snd_dma_buffer *dmab_bdl, in cl_skl_cldma_setup_controller()
268 struct snd_dma_buffer *dmab, in cl_stream_prepare_skl()
269 struct snd_dma_buffer *dmab_bdl) in cl_stream_prepare_skl()
298 struct snd_dma_buffer *dmab, in cl_cleanup_skl()
299 struct snd_dma_buffer *dmab_bdl) in cl_cleanup_skl()
308 struct snd_dma_buffer *dmab, in cl_dsp_init_skl()
309 struct snd_dma_buffer *dmab_bdl) in cl_dsp_init_skl()
391 struct snd_dma_buffer *dmab, in cl_skl_cldma_fill_buffer()
454 struct snd_dma_buffer *dmab, in cl_skl_cldma_copy_to_buf()
[all …]
H A Dhda-sdw-bpt.c94 struct snd_dma_buffer *dmab_bdl, u32 bpt_num_bytes, in hda_sdw_bpt_dma_prepare()
147 struct snd_dma_buffer *dmab_bdl) in hda_sdw_bpt_dma_deprepare()
253 struct snd_dma_buffer *dmab_tx_bdl, u32 bpt_tx_num_bytes, in hda_sdw_bpt_open()
255 struct snd_dma_buffer *dmab_rx_bdl, u32 bpt_rx_num_bytes, in hda_sdw_bpt_open()
439 struct snd_dma_buffer *dmab_tx_bdl, struct hdac_ext_stream *bpt_rx_stream, in hda_sdw_bpt_close()
440 struct snd_dma_buffer *dmab_rx_bdl) in hda_sdw_bpt_close()
H A Dhda-trace.c22 static int hda_dsp_trace_prepare(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab) in hda_dsp_trace_prepare()
39 int hda_dsp_trace_init(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab, in hda_dsp_trace_init()
/linux/sound/soc/sof/
H A Dsof-utils.h12 struct snd_dma_buffer;
16 struct snd_dma_buffer *dmab,
H A Dsof-utils.c26 struct snd_dma_buffer *dmab, in snd_sof_create_page_table()
H A Dipc3-priv.h36 struct snd_dma_buffer *dmatb, in sof_dtrace_host_init()
/linux/sound/pci/lx6464es/
H A Dlx6464es.h83 struct snd_dma_buffer capture_dma_buf;
84 struct snd_dma_buffer playback_dma_buf;
/linux/sound/parisc/
H A Dharmony.h38 struct snd_dma_buffer gdma; /* graveyard */
39 struct snd_dma_buffer sdma; /* silence */
/linux/sound/pci/mixart/
H A Dmixart.h83 struct snd_dma_buffer flowinfo;
84 struct snd_dma_buffer bufferinfo;
/linux/sound/soc/intel/avs/
H A Dcldma.c41 struct snd_dma_buffer dmab_data;
42 struct snd_dma_buffer dmab_bdl;
207 struct snd_dma_buffer *dmab = &cl->dmab_data; in cldma_setup_bdle()
/linux/sound/pci/ctxfi/
H A Dctvmem.h43 struct snd_dma_buffer ptp[CT_PTP_NUM]; /* Device page table pages */
/linux/sound/hda/core/
H A Dstream.c452 struct snd_dma_buffer *dmab, in setup_bdle()
501 static int snd_hdac_stream_setup_bdle(struct hdac_stream *azx_dev, struct snd_dma_buffer *dmab, in snd_hdac_stream_setup_bdle()
574 struct snd_dma_buffer *dmab; in snd_hdac_stream_setup_periods()
918 unsigned int byte_size, struct snd_dma_buffer *bufp) in snd_hdac_dsp_prepare()
981 struct snd_dma_buffer *dmab) in snd_hdac_dsp_cleanup()
/linux/drivers/soundwire/
H A Dintel.h66 struct snd_dma_buffer dmab_tx_bdl;
68 struct snd_dma_buffer dmab_rx_bdl;
/linux/sound/pci/echoaudio/
H A Dechoaudio.h317 struct snd_dma_buffer sgpage; /* Room for the scatter-gather list */
351 struct snd_dma_buffer *commpage_dma_buf;
/linux/sound/pci/trident/
H A Dtrident.h254 struct snd_dma_buffer *buffer;
256 struct snd_dma_buffer *silent_page;
/linux/sound/soc/sof/amd/
H A Dacp-trace.c37 int acp_sof_trace_init(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab, in acp_sof_trace_init()
H A Dacp.h192 struct snd_dma_buffer *dmab;
350 int acp_sof_trace_init(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab,
/linux/sound/pci/ymfpci/
H A Dymfpci.h327 struct snd_dma_buffer *work_ptr;
342 struct snd_dma_buffer ac3_tmp_base;
/linux/sound/pci/pcxhr/
H A Dpcxhr.h90 struct snd_dma_buffer hostport;
/linux/sound/pci/cs5535audio/
H A Dcs5535audio.h77 struct snd_dma_buffer desc_buf;

12