Lines Matching refs:PLAYBACK
56 #define PLAYBACK 0 macro
293 au1000->stream[PLAYBACK]->substream = substream; in snd_au1000_playback_open()
294 au1000->stream[PLAYBACK]->buffer = NULL; in snd_au1000_playback_open()
295 substream->private_data = au1000->stream[PLAYBACK]; in snd_au1000_playback_open()
319 au1000->stream[PLAYBACK]->substream = NULL; in snd_au1000_playback_close()
466 spin_lock_init(&au1000->stream[PLAYBACK]->dma_lock); in snd_au1000_pcm_new()
470 au1000->stream[PLAYBACK]->dma = request_au1000_dma(au1000->dmaid[0], in snd_au1000_pcm_new()
472 au1000->stream[PLAYBACK]); in snd_au1000_pcm_new()
473 if (au1000->stream[PLAYBACK]->dma < 0) { in snd_au1000_pcm_new()
485 set_dma_mode(au1000->stream[PLAYBACK]->dma, in snd_au1000_pcm_new()
486 get_dma_mode(au1000->stream[PLAYBACK]->dma) & ~DMA_NC); in snd_au1000_pcm_new()
565 if (au1000->stream[PLAYBACK]) { in snd_au1000_free()
566 if (au1000->stream[PLAYBACK]->dma >= 0) in snd_au1000_free()
567 free_au1000_dma(au1000->stream[PLAYBACK]->dma); in snd_au1000_free()
568 kfree(au1000->stream[PLAYBACK]); in snd_au1000_free()
634 au1000->stream[PLAYBACK] = kmalloc(sizeof(struct audio_stream), in au1000_ac97_probe()
636 if (!au1000->stream[PLAYBACK]) { in au1000_ac97_probe()
640 au1000->stream[PLAYBACK]->dma = -1; in au1000_ac97_probe()