• Home
  • Raw
  • Download

Lines Matching refs:dma

220 		int dma, type = VORTEX_PCM_TYPE(substream->pcm);  in snd_vortex_pcm_hw_params()  local
223 vortex_adb_allocroute(chip, stream->dma, in snd_vortex_pcm_hw_params()
228 dma = in snd_vortex_pcm_hw_params()
233 if (dma < 0) { in snd_vortex_pcm_hw_params()
235 return dma; in snd_vortex_pcm_hw_params()
237 stream = substream->runtime->private_data = &chip->dma_adb[dma]; in snd_vortex_pcm_hw_params()
240 vortex_adbdma_setbuffers(chip, dma, in snd_vortex_pcm_hw_params()
257 stream->dma = substream->number; in snd_vortex_pcm_hw_params()
284 vortex_adb_allocroute(chip, stream->dma, in snd_vortex_pcm_hw_free()
293 vortex_wt_allocroute(chip, stream->dma, 0); in snd_vortex_pcm_hw_free()
308 int dma = stream->dma, fmt, dir; in snd_vortex_pcm_prepare() local
318 vortex_adbdma_setmode(chip, dma, 1, dir, fmt, in snd_vortex_pcm_prepare()
320 vortex_adbdma_setstartbuffer(chip, dma, 0); in snd_vortex_pcm_prepare()
322 vortex_adb_setsrc(chip, dma, runtime->rate, dir); in snd_vortex_pcm_prepare()
326 vortex_wtdma_setmode(chip, dma, 1, fmt, 0, 0); in snd_vortex_pcm_prepare()
328 vortex_wtdma_setstartbuffer(chip, dma, 0); in snd_vortex_pcm_prepare()
340 int dma = stream->dma; in snd_vortex_pcm_trigger() local
349 vortex_adbdma_resetup(chip, dma); in snd_vortex_pcm_trigger()
350 vortex_adbdma_startfifo(chip, dma); in snd_vortex_pcm_trigger()
354 dev_info(chip->card->dev, "wt start %d\n", dma); in snd_vortex_pcm_trigger()
355 vortex_wtdma_startfifo(chip, dma); in snd_vortex_pcm_trigger()
364 vortex_adbdma_stopfifo(chip, dma); in snd_vortex_pcm_trigger()
367 dev_info(chip->card->dev, "wt stop %d\n", dma); in snd_vortex_pcm_trigger()
368 vortex_wtdma_stopfifo(chip, dma); in snd_vortex_pcm_trigger()
375 vortex_adbdma_pausefifo(chip, dma); in snd_vortex_pcm_trigger()
378 vortex_wtdma_pausefifo(chip, dma); in snd_vortex_pcm_trigger()
384 vortex_adbdma_resumefifo(chip, dma); in snd_vortex_pcm_trigger()
387 vortex_wtdma_resumefifo(chip, dma); in snd_vortex_pcm_trigger()
403 int dma = stream->dma; in snd_vortex_pcm_pointer() local
408 current_ptr = vortex_adbdma_getlinearpos(chip, dma); in snd_vortex_pcm_pointer()
411 current_ptr = vortex_wtdma_getlinearpos(chip, dma); in snd_vortex_pcm_pointer()
558 switch (vortex->dma_adb[p->dma].nr_ch) { in snd_vortex_pcm_vol_put()
669 chip->pcm_vol[i].dma = -1; in snd_vortex_new_pcm()