• Home
  • Raw
  • Download

Lines Matching refs:dma2

92 	int dma2;			/* DMA2 */  member
477 snd_dma_program(chip->dma2, runtime->dma_addr, size, DMA_MODE_WRITE | DMA_AUTOINIT); in snd_es18xx_playback1_prepare()
493 if (chip->dma2 >= 4) in snd_es18xx_playback1_trigger()
792 pos = snd_dma_pointer(chip->dma2, size); in snd_es18xx_playback_pointer()
1401 snd_es18xx_config_write(chip, 0x75, chip->dma2); in snd_es18xx_initialize()
1448 switch (chip->dma2) { in snd_es18xx_initialize()
1462 snd_printk(KERN_ERR "invalid dma2 %d\n", chip->dma2); in snd_es18xx_initialize()
1636 if (chip->dma1 == chip->dma2) in snd_es18xx_probe()
1690 chip->dma1 > 3 || chip->dma2 > 3 ? 128*1024 : 64*1024); in snd_es18xx_pcm()
1727 int irq, int dma1, int dma2) in snd_es18xx_new_device() argument
1736 chip->dma2 = -1; in snd_es18xx_new_device()
1759 if (dma2 != dma1 && in snd_es18xx_new_device()
1760 snd_devm_request_dma(card->dev, dma2, "ES18xx DMA 2")) { in snd_es18xx_new_device()
1761 snd_printk(KERN_ERR PFX "unable to grap DMA2 %d\n", dma2); in snd_es18xx_new_device()
1764 chip->dma2 = dma2; in snd_es18xx_new_device()
1918 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3 */ variable
1940 module_param_hw_array(dma2, int, dma, NULL, 0444);
1941 MODULE_PARM_DESC(dma2, "DMA 2 # for ES18xx driver.");
1977 dma2[dev] = pnp_dma(pdev, 1); in snd_audiodrive_pnp_init_main()
1980 snd_printdd("PnP ES18xx: dma1=%i, dma2=%i, irq=%i\n", dma1[dev], dma2[dev], irq[dev]); in snd_audiodrive_pnp_init_main()
2061 irq[dev], dma1[dev], dma2[dev]); in snd_audiodrive_probe()
2068 if (dma1[dev] != dma2[dev]) in snd_audiodrive_probe()
2072 irq[dev], dma1[dev], dma2[dev]); in snd_audiodrive_probe()
2151 if (dma2[dev] == SNDRV_AUTO_DMA) { in snd_es18xx_isa_probe()
2152 dma2[dev] = snd_legacy_find_free_dma(possible_dmas); in snd_es18xx_isa_probe()
2153 if (dma2[dev] < 0) { in snd_es18xx_isa_probe()