Home
last modified time | relevance | path

Searched refs:prtd (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/sound/soc/qcom/qdsp6/
A Dq6asm-dai.c197 prtd->pcm_irq_pos += prtd->pcm_count; in event_handler()
206 prtd->pcm_irq_pos += prtd->pcm_count; in event_handler()
231 if (!prtd || !prtd->audio_client) { in q6asm_dai_prepare()
251 (prtd->pcm_size / prtd->periods), in q6asm_dai_prepare()
285 prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare()
472 if (prtd->pcm_irq_pos >= prtd->pcm_size) in q6asm_dai_pointer()
521 prtd->bytes_sent += prtd->pcm_count; in compress_event_handler()
646 prtd->phys = prtd->dma_buffer.addr; in q6asm_dai_compr_open()
888 if (!prtd || !prtd->audio_client) { in q6asm_dai_compr_set_params()
1093 prtd->copied_total = ALIGN(prtd->copied_total, prtd->pcm_count); in q6asm_compr_copy()
[all …]
A Dq6apm-dai.c114 prtd->pos += prtd->pcm_count; in event_handler()
118 q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, 0); in event_handler()
123 prtd->pos += prtd->pcm_count; in event_handler()
149 if (!prtd || !prtd->graph) { in q6apm_dai_prepare()
166 prtd->pos = 0; in q6apm_dai_prepare()
179 (prtd->pcm_size / prtd->periods), prtd->periods); in q6apm_dai_prepare()
261 prtd = kzalloc(sizeof(*prtd), GFP_KERNEL); in q6apm_dai_open()
316 kfree(prtd); in q6apm_dai_open()
334 kfree(prtd); in q6apm_dai_close()
349 if (prtd->pos == prtd->pcm_size) in q6apm_dai_pointer()
[all …]
/linux-6.3-rc2/sound/soc/atmel/
A Datmel-pcm-pdc.c106 prtd->period_ptr += prtd->period_size; in atmel_pcm_dma_irq()
107 if (prtd->period_ptr >= prtd->dma_buffer_end) in atmel_pcm_dma_irq()
108 prtd->period_ptr = prtd->dma_buffer; in atmel_pcm_dma_irq()
120 prtd->period_ptr += prtd->period_size; in atmel_pcm_dma_irq()
121 if (prtd->period_ptr >= prtd->dma_buffer_end) in atmel_pcm_dma_irq()
122 prtd->period_ptr = prtd->dma_buffer; in atmel_pcm_dma_irq()
158 prtd->params->name, in atmel_pcm_hw_params()
206 prtd->period_ptr = prtd->dma_buffer; in atmel_pcm_trigger()
213 prtd->period_ptr += prtd->period_size; in atmel_pcm_trigger()
292 if (prtd == NULL) { in atmel_pcm_open()
[all …]
A Datmel-pcm-dma.c56 struct atmel_pcm_dma_params *prtd; in atmel_pcm_dma_irq() local
58 prtd = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in atmel_pcm_dma_irq()
60 if (ssc_sr & prtd->mask->ssc_error) { in atmel_pcm_dma_irq()
64 ? "underrun" : "overrun", prtd->name, in atmel_pcm_dma_irq()
68 ssc_writex(prtd->ssc->regs, SSC_CR, prtd->mask->ssc_disable); in atmel_pcm_dma_irq()
72 ssc_readx(prtd->ssc->regs, SSC_RHR); in atmel_pcm_dma_irq()
73 ssc_readx(prtd->ssc->regs, SSC_SR); in atmel_pcm_dma_irq()
81 struct atmel_pcm_dma_params *prtd; in atmel_pcm_configure_dma() local
85 prtd = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in atmel_pcm_configure_dma()
86 ssc = prtd->ssc; in atmel_pcm_configure_dma()
[all …]
/linux-6.3-rc2/sound/soc/samsung/
A Didma.c105 prtd->cb = cb; in idma_setcallbk()
136 if (prtd && (prtd->state & ST_RUNNING)) in idma_done()
157 prtd->start = prtd->pos = runtime->dma_addr; in idma_hw_params()
180 prtd->pos = prtd->start; in idma_prepare()
272 addr %= (u32)(prtd->end - prtd->start); in iis_irq()
277 if (prtd->cb) in iis_irq()
278 prtd->cb(prtd->token, prtd->period); in iis_irq()
294 if (prtd == NULL) in idma_open()
300 kfree(prtd); in idma_open()
319 if (!prtd) in idma_close()
[all …]
/linux-6.3-rc2/sound/core/
A Dpcm_dmaengine.c39 return prtd->dma_chan; in snd_dmaengine_pcm_get_chan()
143 prtd->pos = new_pos; in dmaengine_pcm_dma_complete()
161 prtd->pos = 0; in dmaengine_pcm_prepare_and_submit()
202 dmaengine_resume(prtd->dma_chan); in snd_dmaengine_pcm_trigger()
211 dmaengine_pause(prtd->dma_chan); in snd_dmaengine_pcm_trigger()
258 status = dmaengine_tx_status(prtd->dma_chan, prtd->cookie, &state); in snd_dmaengine_pcm_pointer()
319 prtd = kzalloc(sizeof(*prtd), GFP_KERNEL); in snd_dmaengine_pcm_open()
320 if (!prtd) in snd_dmaengine_pcm_open()
323 prtd->dma_chan = chan; in snd_dmaengine_pcm_open()
363 kfree(prtd); in snd_dmaengine_pcm_close()
[all …]
/linux-6.3-rc2/sound/soc/bcm/
A Dbcm63xx-pcm-whistler.c180 if (!prtd->dma_addr_next) in bcm63xx_pcm_pointer()
194 struct bcm63xx_runtime_data *prtd; in bcm63xx_pcm_open() local
213 prtd = kzalloc(sizeof(*prtd), GFP_KERNEL); in bcm63xx_pcm_open()
214 if (!prtd) in bcm63xx_pcm_open()
217 runtime->private_data = prtd; in bcm63xx_pcm_open()
229 kfree(prtd); in bcm63xx_pcm_close()
236 struct bcm63xx_runtime_data *prtd; in i2s_dma_isr() local
254 prtd = runtime->private_data; in i2s_dma_isr()
264 prtd->dma_addr_next = val_1 + val_2; in i2s_dma_isr()
280 prtd->dma_addr = dma_desc->dma_addr; in i2s_dma_isr()
[all …]
/linux-6.3-rc2/sound/soc/amd/raven/
A Dacp3x-pcm-dma.c212 struct snd_soc_pcm_runtime *prtd; in acp3x_dma_open() local
218 prtd = asoc_substream_to_rtd(substream); in acp3x_dma_open()
219 component = snd_soc_rtdcom_lookup(prtd, DRV_NAME); in acp3x_dma_open()
249 struct snd_soc_pcm_runtime *prtd; in acp3x_dma_hw_params() local
255 prtd = asoc_substream_to_rtd(substream); in acp3x_dma_hw_params()
256 card = prtd->card; in acp3x_dma_hw_params()
326 struct snd_soc_pcm_runtime *prtd; in acp3x_dma_close() local
330 prtd = asoc_substream_to_rtd(substream); in acp3x_dma_close()
331 component = snd_soc_rtdcom_lookup(prtd, DRV_NAME); in acp3x_dma_close()
A Dacp3x-i2s.c76 struct snd_soc_pcm_runtime *prtd; in acp3x_i2s_hwparams() local
83 prtd = asoc_substream_to_rtd(substream); in acp3x_i2s_hwparams()
85 card = prtd->card; in acp3x_i2s_hwparams()
/linux-6.3-rc2/sound/soc/amd/vangogh/
A Dacp5x-pcm-dma.c206 struct snd_soc_pcm_runtime *prtd; in acp5x_dma_open() local
212 prtd = asoc_substream_to_rtd(substream); in acp5x_dma_open()
213 component = snd_soc_rtdcom_lookup(prtd, DRV_NAME); in acp5x_dma_open()
242 struct snd_soc_pcm_runtime *prtd; in acp5x_dma_hw_params() local
248 prtd = asoc_substream_to_rtd(substream); in acp5x_dma_hw_params()
249 card = prtd->card; in acp5x_dma_hw_params()
321 struct snd_soc_pcm_runtime *prtd; in acp5x_dma_close() local
325 prtd = asoc_substream_to_rtd(substream); in acp5x_dma_close()
326 component = snd_soc_rtdcom_lookup(prtd, DRV_NAME); in acp5x_dma_close()
A Dacp5x-i2s.c87 struct snd_soc_pcm_runtime *prtd; in acp5x_i2s_hwparams() local
98 prtd = asoc_substream_to_rtd(substream); in acp5x_i2s_hwparams()
100 card = prtd->card; in acp5x_i2s_hwparams()
/linux-6.3-rc2/sound/soc/amd/
A Dacp-pcm-dma.c852 struct snd_soc_pcm_runtime *prtd = asoc_substream_to_rtd(substream); in acp_dma_hw_params() local
854 struct snd_soc_card *card = prtd->card; in acp_dma_hw_params()

Completed in 24 milliseconds