Lines Matching refs:PLAYBACK
56 #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);
616 if (au1000->stream[PLAYBACK]) {
617 if (au1000->stream[PLAYBACK]->dma >= 0)
618 free_au1000_dma(au1000->stream[PLAYBACK]->dma);
619 kfree(au1000->stream[PLAYBACK]);
647 au1000->stream[PLAYBACK] = kmalloc(sizeof(struct audio_stream), GFP_KERNEL);
651 if (au1000->stream[PLAYBACK])
652 au1000->stream[PLAYBACK]->dma = -1;
656 if (au1000->stream[PLAYBACK] == NULL ||