Lines Matching refs:pipe
246 struct vx_pipe *pipe, int count)
249 int offset = pipe->hw_ptr;
259 if (offset + count >= pipe->buffer_bytes) {
260 int length = pipe->buffer_bytes - offset;
269 pipe->hw_ptr = 0;
271 pipe->hw_ptr += count;
285 struct vx_pipe *pipe, int count)
287 int offset = pipe->hw_ptr;
297 if (offset + count >= pipe->buffer_bytes) {
298 int length = pipe->buffer_bytes - offset;
305 pipe->hw_ptr = 0;
307 pipe->hw_ptr += count;