Home
last modified time | relevance | path

Searched refs:hw_ptr (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/media/go7007/
Dsnd-go7007.c55 int hw_ptr; member
85 gosnd->hw_ptr += frames; in parse_audio_stream_data()
86 if (gosnd->hw_ptr >= runtime->buffer_size) in parse_audio_stream_data()
87 gosnd->hw_ptr -= runtime->buffer_size; in parse_audio_stream_data()
184 gosnd->hw_ptr = gosnd->w_idx = gosnd->avail = 0; in go7007_snd_pcm_trigger()
197 return gosnd->hw_ptr; in go7007_snd_pcm_pointer()
249 gosnd->hw_ptr = gosnd->w_idx = gosnd->avail = 0; in go7007_snd_init()
/drivers/usb/gadget/
Df_uac2.c108 ssize_t hw_ptr; member
236 src = prm->dma_area + prm->hw_ptr; in agdev_iso_complete()
240 dst = prm->dma_area + prm->hw_ptr; in agdev_iso_complete()
244 pending = prm->hw_ptr % prm->period_size; in agdev_iso_complete()
249 prm->hw_ptr = (prm->hw_ptr + req->actual) % prm->dma_bytes; in agdev_iso_complete()
286 prm->hw_ptr = 0; in uac2_pcm_trigger()
320 return bytes_to_frames(substream->runtime, prm->hw_ptr); in uac2_pcm_pointer()