Lines Matching refs:au1xpsc_audio_pcmdma
65 static struct au1xpsc_audio_dmadata *au1xpsc_audio_pcmdma[2];
214 pcd = au1xpsc_audio_pcmdma[stype];
253 au1xpsc_audio_pcmdma[SUBSTREAM_TYPE(substream)];
270 u32 c = au1xpsc_audio_pcmdma[SUBSTREAM_TYPE(substream)]->ddma_chan;
291 au1xpsc_audio_pcmdma[SUBSTREAM_TYPE(substream)]->pos);
302 au1x_pcm_dbdma_free(au1xpsc_audio_pcmdma[SUBSTREAM_TYPE(substream)]);
334 if (!au1xpsc_audio_pcmdma[PCM_TX] || !au1xpsc_audio_pcmdma[PCM_RX])
361 if (au1xpsc_audio_pcmdma[PCM_TX] || au1xpsc_audio_pcmdma[PCM_RX])
365 au1xpsc_audio_pcmdma[PCM_TX]
367 if (!au1xpsc_audio_pcmdma[PCM_TX])
375 (au1xpsc_audio_pcmdma[PCM_TX])->ddma_id = r->start;
378 au1xpsc_audio_pcmdma[PCM_RX]
380 if (!au1xpsc_audio_pcmdma[PCM_RX])
388 (au1xpsc_audio_pcmdma[PCM_RX])->ddma_id = r->start;
395 kfree(au1xpsc_audio_pcmdma[PCM_RX]);
396 au1xpsc_audio_pcmdma[PCM_RX] = NULL;
398 kfree(au1xpsc_audio_pcmdma[PCM_TX]);
399 au1xpsc_audio_pcmdma[PCM_TX] = NULL;
410 if (au1xpsc_audio_pcmdma[i]) {
411 au1x_pcm_dbdma_free(au1xpsc_audio_pcmdma[i]);
412 kfree(au1xpsc_audio_pcmdma[i]);
413 au1xpsc_audio_pcmdma[i] = NULL;
431 au1xpsc_audio_pcmdma[PCM_TX] = NULL;
432 au1xpsc_audio_pcmdma[PCM_RX] = NULL;