Lines Matching refs:dma2
1039 snd_dma_program(chip->dma2, runtime->dma_addr, size, DMA_MODE_READ | DMA_AUTOINIT); in snd_wss_capture_prepare()
1142 ptr = snd_dma_pointer(chip->dma2, chip->c_dma_size); in snd_wss_capture_pointer()
1533 snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.buffer_bytes_max); in snd_wss_capture_open()
1534 snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.period_bytes_max); in snd_wss_capture_open()
1537 err = chip->claim_dma(chip, chip->dma_private_data, chip->dma2); in snd_wss_capture_open()
1545 chip->release_dma(chip, chip->dma_private_data, chip->dma2); in snd_wss_capture_open()
1742 int irq, int dma1, int dma2, in snd_wss_create() argument
1756 chip->dma2 = -1; in snd_wss_create()
1788 if (!(hwshare & WSS_HWSHARE_DMA2) && dma1 != dma2 && dma2 >= 0 && in snd_wss_create()
1789 snd_devm_request_dma(card->dev, dma2, "WSS - 2")) { in snd_wss_create()
1790 snd_printk(KERN_ERR "wss: can't grab DMA2 %d\n", dma2); in snd_wss_create()
1793 if (dma1 == dma2 || dma2 < 0) { in snd_wss_create()
1795 chip->dma2 = chip->dma1; in snd_wss_create()
1797 chip->dma2 = dma2; in snd_wss_create()
1869 64*1024, chip->dma1 > 3 || chip->dma2 > 3 ? 128*1024 : 64*1024); in snd_wss_pcm()