Lines Matching refs:PLAYBACK
54 #define PLAYBACK 0
290 au1000->stream[PLAYBACK]->substream = substream;
291 au1000->stream[PLAYBACK]->buffer = NULL;
292 substream->private_data = au1000->stream[PLAYBACK];
316 au1000->stream[PLAYBACK]->substream = NULL;
463 spin_lock_init(&au1000->stream[PLAYBACK]->dma_lock);
467 if ((au1000->stream[PLAYBACK]->dma = request_au1000_dma(DMA_ID_AC97C_TX,
469 au1000->stream[PLAYBACK])) < 0) {
480 set_dma_mode(au1000->stream[PLAYBACK]->dma,
481 get_dma_mode(au1000->stream[PLAYBACK]->dma) & ~DMA_NC);
617 if (au1000->stream[PLAYBACK]) {
618 if (au1000->stream[PLAYBACK]->dma >= 0)
619 free_au1000_dma(au1000->stream[PLAYBACK]->dma);
620 kfree(au1000->stream[PLAYBACK]);
649 au1000->stream[PLAYBACK] = kmalloc(sizeof(struct audio_stream), GFP_KERNEL);
653 if (au1000->stream[PLAYBACK])
654 au1000->stream[PLAYBACK]->dma = -1;
658 if (au1000->stream[PLAYBACK] == NULL ||