Lines Matching defs:pipe
354 struct vx_pipe *pipe, int count)
357 int offset = pipe->hw_ptr;
361 if (offset + count >= pipe->buffer_bytes) {
362 int length = pipe->buffer_bytes - offset;
371 pipe->hw_ptr = 0;
373 pipe->hw_ptr += count;
393 struct vx_pipe *pipe, int count)
397 int offset = pipe->hw_ptr;
403 if (offset + count >= pipe->buffer_bytes) {
404 int length = pipe->buffer_bytes - offset;
411 pipe->hw_ptr = 0;
413 pipe->hw_ptr += count;