Lines Matching defs:dmas
259 struct atiixp_dma dmas[NUM_ATI_DMAS];
1072 err = snd_atiixp_pcm_open(substream, &chip->dmas[ATI_DMA_PLAYBACK], 0);
1088 return snd_atiixp_pcm_close(substream, &chip->dmas[ATI_DMA_PLAYBACK]);
1094 return snd_atiixp_pcm_open(substream, &chip->dmas[ATI_DMA_CAPTURE], 1);
1100 return snd_atiixp_pcm_close(substream, &chip->dmas[ATI_DMA_CAPTURE]);
1109 return snd_atiixp_pcm_open(substream, &chip->dmas[ATI_DMA_PLAYBACK], 2);
1111 return snd_atiixp_pcm_open(substream, &chip->dmas[ATI_DMA_SPDIF], -1);
1120 return snd_atiixp_pcm_close(substream, &chip->dmas[ATI_DMA_PLAYBACK]);
1122 return snd_atiixp_pcm_close(substream, &chip->dmas[ATI_DMA_SPDIF]);
1230 chip->dmas[ATI_DMA_PLAYBACK].ops = &snd_atiixp_playback_dma_ops;
1231 chip->dmas[ATI_DMA_CAPTURE].ops = &snd_atiixp_capture_dma_ops;
1233 chip->dmas[ATI_DMA_SPDIF].ops = &snd_atiixp_spdif_dma_ops;
1328 snd_atiixp_xrun_dma(chip, &chip->dmas[ATI_DMA_PLAYBACK]);
1330 snd_atiixp_update_dma(chip, &chip->dmas[ATI_DMA_PLAYBACK]);
1332 snd_atiixp_xrun_dma(chip, &chip->dmas[ATI_DMA_CAPTURE]);
1334 snd_atiixp_update_dma(chip, &chip->dmas[ATI_DMA_CAPTURE]);
1337 snd_atiixp_xrun_dma(chip, &chip->dmas[ATI_DMA_SPDIF]);
1339 snd_atiixp_update_dma(chip, &chip->dmas[ATI_DMA_SPDIF]);
1473 struct atiixp_dma *dma = &chip->dmas[i];