| /linux/include/sound/ |
| H A D | memalloc.h | 55 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 D | hda-sdw-bpt.h | 15 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 D | hdaudio.h | 332 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 D | memalloc.c | 22 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 D | pcm_memory.c | 52 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 D | hda-loader-skl.c | 116 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 D | hda-sdw-bpt.c | 94 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 D | hda-trace.c | 22 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 D | sof-utils.h | 12 struct snd_dma_buffer; 16 struct snd_dma_buffer *dmab,
|
| H A D | sof-utils.c | 26 struct snd_dma_buffer *dmab, in snd_sof_create_page_table()
|
| H A D | ipc3-priv.h | 36 struct snd_dma_buffer *dmatb, in sof_dtrace_host_init()
|
| /linux/sound/pci/lx6464es/ |
| H A D | lx6464es.h | 83 struct snd_dma_buffer capture_dma_buf; 84 struct snd_dma_buffer playback_dma_buf;
|
| /linux/sound/parisc/ |
| H A D | harmony.h | 38 struct snd_dma_buffer gdma; /* graveyard */ 39 struct snd_dma_buffer sdma; /* silence */
|
| /linux/sound/pci/mixart/ |
| H A D | mixart.h | 83 struct snd_dma_buffer flowinfo; 84 struct snd_dma_buffer bufferinfo;
|
| /linux/sound/soc/intel/avs/ |
| H A D | cldma.c | 41 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 D | ctvmem.h | 43 struct snd_dma_buffer ptp[CT_PTP_NUM]; /* Device page table pages */
|
| /linux/sound/hda/core/ |
| H A D | stream.c | 452 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 D | intel.h | 66 struct snd_dma_buffer dmab_tx_bdl; 68 struct snd_dma_buffer dmab_rx_bdl;
|
| /linux/sound/pci/echoaudio/ |
| H A D | echoaudio.h | 317 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 D | trident.h | 254 struct snd_dma_buffer *buffer; 256 struct snd_dma_buffer *silent_page;
|
| /linux/sound/soc/sof/amd/ |
| H A D | acp-trace.c | 37 int acp_sof_trace_init(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab, in acp_sof_trace_init()
|
| H A D | acp.h | 192 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 D | ymfpci.h | 327 struct snd_dma_buffer *work_ptr; 342 struct snd_dma_buffer ac3_tmp_base;
|
| /linux/sound/pci/pcxhr/ |
| H A D | pcxhr.h | 90 struct snd_dma_buffer hostport;
|
| /linux/sound/pci/cs5535audio/ |
| H A D | cs5535audio.h | 77 struct snd_dma_buffer desc_buf;
|