Lines Matching refs:dma1
223 snd_dma_program(chip->dma1, runtime->dma_addr, size, in snd_ad1816a_playback_prepare()
281 ptr = snd_dma_pointer(chip->dma1, chip->p_dma_size); in snd_ad1816a_playback_pointer()
434 snd_pcm_limit_isa_dma_size(chip->dma1, &runtime->hw.buffer_bytes_max); in snd_ad1816a_playback_open()
435 snd_pcm_limit_isa_dma_size(chip->dma1, &runtime->hw.period_bytes_max); in snd_ad1816a_playback_open()
558 unsigned long port, int irq, int dma1, int dma2, in snd_ad1816a_create() argument
564 chip->dma1 = -1; in snd_ad1816a_create()
579 if (snd_devm_request_dma(card->dev, dma1, "AD1816A - 1")) { in snd_ad1816a_create()
580 snd_printk(KERN_ERR "ad1816a: can't grab DMA1 %d\n", dma1); in snd_ad1816a_create()
583 chip->dma1 = dma1; in snd_ad1816a_create()
632 pcm->info_flags = (chip->dma1 == chip->dma2 ) ? SNDRV_PCM_INFO_JOINT_DUPLEX : 0; in snd_ad1816a_pcm()
638 64*1024, chip->dma1 > 3 || chip->dma2 > 3 ? 128*1024 : 64*1024); in snd_ad1816a_pcm()