Searched refs:oldptr (Results 1 – 1 of 1) sorted by relevance
1198 unsigned int stride, frames, bytes, oldptr; in retire_capture_urb() local1235 oldptr = subs->hwptr_done; in retire_capture_urb()1239 frames = (bytes + (oldptr % stride)) / stride; in retire_capture_urb()1251 if (oldptr + bytes > subs->buffer_bytes) { in retire_capture_urb()1252 unsigned int bytes1 = subs->buffer_bytes - oldptr; in retire_capture_urb()1254 memcpy(runtime->dma_area + oldptr, cp, bytes1); in retire_capture_urb()1257 memcpy(runtime->dma_area + oldptr, cp, bytes); in retire_capture_urb()