Searched refs:hw_ptr (Results 1 – 2 of 2) sorted by relevance
50 int hw_ptr; member80 gosnd->hw_ptr += frames; in parse_audio_stream_data()81 if (gosnd->hw_ptr >= runtime->buffer_size) in parse_audio_stream_data()82 gosnd->hw_ptr -= runtime->buffer_size; in parse_audio_stream_data()179 gosnd->hw_ptr = gosnd->w_idx = gosnd->avail = 0; in go7007_snd_pcm_trigger()192 return gosnd->hw_ptr; in go7007_snd_pcm_pointer()242 gosnd->hw_ptr = gosnd->w_idx = gosnd->avail = 0; in go7007_snd_init()
74 ssize_t hw_ptr; member175 unsigned int hw_ptr; in agdev_iso_complete() local227 pending = prm->hw_ptr % prm->period_size; in agdev_iso_complete()232 hw_ptr = prm->hw_ptr; in agdev_iso_complete()233 prm->hw_ptr = (prm->hw_ptr + req->actual) % prm->dma_bytes; in agdev_iso_complete()238 pending = prm->dma_bytes - hw_ptr; in agdev_iso_complete()242 memcpy(req->buf, prm->dma_area + hw_ptr, pending); in agdev_iso_complete()246 memcpy(req->buf, prm->dma_area + hw_ptr, req->actual); in agdev_iso_complete()250 memcpy(prm->dma_area + hw_ptr, req->buf, pending); in agdev_iso_complete()254 memcpy(prm->dma_area + hw_ptr, req->buf, req->actual); in agdev_iso_complete()[all …]