Searched refs:curdma (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/sound/pci/cs5535audio/
H A Dcs5535audio_pcm.c332 u32 curdma; snd_cs5535audio_pcm_pointer() local
336 curdma = dma->ops->read_dma_pntr(cs5535au); snd_cs5535audio_pcm_pointer()
337 if (curdma < dma->buf_addr) { snd_cs5535audio_pcm_pointer()
338 dev_err(cs5535au->card->dev, "curdma=%x < %x bufaddr.\n", snd_cs5535audio_pcm_pointer()
339 curdma, dma->buf_addr); snd_cs5535audio_pcm_pointer()
342 curdma -= dma->buf_addr; snd_cs5535audio_pcm_pointer()
343 if (curdma >= dma->buf_bytes) { snd_cs5535audio_pcm_pointer()
345 curdma, dma->buf_bytes); snd_cs5535audio_pcm_pointer()
348 return bytes_to_frames(substream->runtime, curdma); snd_cs5535audio_pcm_pointer()

Completed in 66 milliseconds