Lines Matching refs:CAPTURE
57 #define CAPTURE 1 macro
306 au1000->stream[CAPTURE]->substream = substream; in snd_au1000_capture_open()
307 au1000->stream[CAPTURE]->buffer = NULL; in snd_au1000_capture_open()
308 substream->private_data = au1000->stream[CAPTURE]; in snd_au1000_capture_open()
328 au1000->stream[CAPTURE]->substream = NULL; in snd_au1000_capture_close()
467 spin_lock_init(&au1000->stream[CAPTURE]->dma_lock); in snd_au1000_pcm_new()
477 au1000->stream[CAPTURE]->dma = request_au1000_dma(au1000->dmaid[1], in snd_au1000_pcm_new()
479 au1000->stream[CAPTURE]); in snd_au1000_pcm_new()
480 if (au1000->stream[CAPTURE]->dma < 0){ in snd_au1000_pcm_new()
487 set_dma_mode(au1000->stream[CAPTURE]->dma, in snd_au1000_pcm_new()
488 get_dma_mode(au1000->stream[CAPTURE]->dma) & ~DMA_NC); in snd_au1000_pcm_new()
571 if (au1000->stream[CAPTURE]) { in snd_au1000_free()
572 if (au1000->stream[CAPTURE]->dma >= 0) in snd_au1000_free()
573 free_au1000_dma(au1000->stream[CAPTURE]->dma); in snd_au1000_free()
574 kfree(au1000->stream[CAPTURE]); in snd_au1000_free()
642 au1000->stream[CAPTURE] = kmalloc(sizeof(struct audio_stream), in au1000_ac97_probe()
644 if (!au1000->stream[CAPTURE]) { in au1000_ac97_probe()
648 au1000->stream[CAPTURE]->dma = -1; in au1000_ac97_probe()