Lines Matching refs:dma2
276 snd_dma_program(chip->dma2, runtime->dma_addr, size, in snd_ad1816a_capture_prepare()
312 ptr = snd_dma_pointer(chip->dma2, chip->c_dma_size); in snd_ad1816a_capture_pointer()
469 snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.buffer_bytes_max); in snd_ad1816a_capture_open()
470 snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.period_bytes_max); in snd_ad1816a_capture_open()
573 if (chip->dma2 >= 0) { in snd_ad1816a_free()
574 snd_dma_disable(chip->dma2); in snd_ad1816a_free()
575 free_dma(chip->dma2); in snd_ad1816a_free()
600 unsigned long port, int irq, int dma1, int dma2, in snd_ad1816a_create() argument
610 chip->dma2 = -1; in snd_ad1816a_create()
629 if (request_dma(dma2, "AD1816A - 2")) { in snd_ad1816a_create()
630 snd_printk(KERN_ERR "ad1816a: can't grab DMA2 %d\n", dma2); in snd_ad1816a_create()
634 chip->dma2 = dma2; in snd_ad1816a_create()
690 pcm->info_flags = (chip->dma1 == chip->dma2 ) ? SNDRV_PCM_INFO_JOINT_DUPLEX : 0; in snd_ad1816a_pcm()
697 64*1024, chip->dma1 > 3 || chip->dma2 > 3 ? 128*1024 : 64*1024); in snd_ad1816a_pcm()