Searched refs:hw_ptr (Results 1 – 2 of 2) sorted by relevance
41 int hw_ptr; member72 gosnd->hw_ptr += frames; in parse_audio_stream_data()73 if (gosnd->hw_ptr >= runtime->buffer_size) in parse_audio_stream_data()74 gosnd->hw_ptr -= runtime->buffer_size; in parse_audio_stream_data()159 gosnd->hw_ptr = gosnd->w_idx = gosnd->avail = 0; in go7007_snd_pcm_trigger()172 return gosnd->hw_ptr; in go7007_snd_pcm_pointer()214 gosnd->hw_ptr = gosnd->w_idx = gosnd->avail = 0; in go7007_snd_init()
46 ssize_t hw_ptr; member152 unsigned int hw_ptr; in u_audio_iso_complete() local242 hw_ptr = prm->hw_ptr; in u_audio_iso_complete()245 pending = runtime->dma_bytes - hw_ptr; in u_audio_iso_complete()249 memcpy(req->buf, runtime->dma_area + hw_ptr, pending); in u_audio_iso_complete()253 memcpy(req->buf, runtime->dma_area + hw_ptr, in u_audio_iso_complete()258 memcpy(runtime->dma_area + hw_ptr, req->buf, pending); in u_audio_iso_complete()262 memcpy(runtime->dma_area + hw_ptr, req->buf, in u_audio_iso_complete()268 prm->hw_ptr = (hw_ptr + req->actual) % runtime->dma_bytes; in u_audio_iso_complete()269 hw_ptr = prm->hw_ptr; in u_audio_iso_complete()[all …]