Lines Matching defs:pipe
352 struct vx_pipe *pipe, int count)
355 int offset = pipe->hw_ptr;
359 if (offset + count >= pipe->buffer_bytes) {
360 int length = pipe->buffer_bytes - offset;
369 pipe->hw_ptr = 0;
371 pipe->hw_ptr += count;
391 struct vx_pipe *pipe, int count)
395 int offset = pipe->hw_ptr;
401 if (offset + count >= pipe->buffer_bytes) {
402 int length = pipe->buffer_bytes - offset;
409 pipe->hw_ptr = 0;
411 pipe->hw_ptr += count;