Searched refs:dma_private (Results 1 – 4 of 4) sorted by relevance
160 static void fsl_dma_update_pointers(struct fsl_dma_private *dma_private) in fsl_dma_update_pointers() argument163 &dma_private->link[dma_private->current_link]; in fsl_dma_update_pointers()169 if (dma_private->substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_dma_update_pointers()170 link->source_addr = cpu_to_be32(dma_private->dma_buf_next); in fsl_dma_update_pointers()173 upper_32_bits(dma_private->dma_buf_next)); in fsl_dma_update_pointers()176 link->dest_addr = cpu_to_be32(dma_private->dma_buf_next); in fsl_dma_update_pointers()179 upper_32_bits(dma_private->dma_buf_next)); in fsl_dma_update_pointers()184 dma_private->dma_buf_next += dma_private->period_size; in fsl_dma_update_pointers()186 if (dma_private->dma_buf_next >= dma_private->dma_buf_end) in fsl_dma_update_pointers()187 dma_private->dma_buf_next = dma_private->dma_buf_phys; in fsl_dma_update_pointers()[all …]
54 struct sprd_pcm_dma_private *dma_private; in sprd_pcm_open() local77 dma_private = devm_kzalloc(dev, sizeof(*dma_private), GFP_KERNEL); in sprd_pcm_open()78 if (!dma_private) in sprd_pcm_open()84 struct sprd_pcm_dma_data *data = &dma_private->data[i]; in sprd_pcm_open()94 dma_private->hw_chan = hw_chan; in sprd_pcm_open()95 runtime->private_data = dma_private; in sprd_pcm_open()96 dma_private->substream = substream; in sprd_pcm_open()102 struct sprd_pcm_dma_data *data = &dma_private->data[i]; in sprd_pcm_open()108 devm_kfree(dev, dma_private); in sprd_pcm_open()116 struct sprd_pcm_dma_private *dma_private = runtime->private_data; in sprd_pcm_close() local[all …]
62 bool dma_private; member139 if (epf_test->dma_private) { in pci_epf_test_data_transfer()246 epf_test->dma_private = true; in pci_epf_test_init_dma_chan()364 if (epf_test->dma_private) { in pci_epf_test_copy()
1694 ``dma_addr``, ``dma_bytes`` and ``dma_private``. ``dma_area``1699 buffer in bytes. ``dma_private`` is used for the ALSA DMA allocator.1709 necessary. ``dma_addr`` is also optional. You can use dma_private as3564 ``substream->dma_private`` in turn. You can cast the pointer like::3566 struct snd_sg_buf *sgbuf = (struct snd_sg_buf *)substream->dma_private;