Lines Matching defs:dma

220 		int dma, type = VORTEX_PCM_TYPE(substream->pcm);
223 vortex_adb_allocroute(chip, stream->dma,
228 dma =
233 if (dma < 0) {
235 return dma;
237 stream = substream->runtime->private_data = &chip->dma_adb[dma];
240 vortex_adbdma_setbuffers(chip, dma,
257 stream->dma = substream->number;
284 vortex_adb_allocroute(chip, stream->dma,
293 vortex_wt_allocroute(chip, stream->dma, 0);
308 int dma = stream->dma, fmt, dir;
318 vortex_adbdma_setmode(chip, dma, 1, dir, fmt,
320 vortex_adbdma_setstartbuffer(chip, dma, 0);
322 vortex_adb_setsrc(chip, dma, runtime->rate, dir);
326 vortex_wtdma_setmode(chip, dma, 1, fmt, 0, 0);
328 vortex_wtdma_setstartbuffer(chip, dma, 0);
340 int dma = stream->dma;
346 //printk(KERN_INFO "vortex: start %d\n", dma);
349 vortex_adbdma_resetup(chip, dma);
350 vortex_adbdma_startfifo(chip, dma);
354 dev_info(chip->card->dev, "wt start %d\n", dma);
355 vortex_wtdma_startfifo(chip, dma);
361 //printk(KERN_INFO "vortex: stop %d\n", dma);
364 vortex_adbdma_stopfifo(chip, dma);
367 dev_info(chip->card->dev, "wt stop %d\n", dma);
368 vortex_wtdma_stopfifo(chip, dma);
373 //printk(KERN_INFO "vortex: pause %d\n", dma);
375 vortex_adbdma_pausefifo(chip, dma);
378 vortex_wtdma_pausefifo(chip, dma);
382 //printk(KERN_INFO "vortex: resume %d\n", dma);
384 vortex_adbdma_resumefifo(chip, dma);
387 vortex_wtdma_resumefifo(chip, dma);
403 int dma = stream->dma;
408 current_ptr = vortex_adbdma_getlinearpos(chip, dma);
411 current_ptr = vortex_wtdma_getlinearpos(chip, dma);
558 switch (vortex->dma_adb[p->dma].nr_ch) {
606 * same dma engine. WT uses it own separate dma engine which can't capture. */
668 chip->pcm_vol[i].dma = -1;