Lines Matching refs:pipe
366 struct vx_pipe *pipe, int count)
369 int offset = pipe->hw_ptr;
373 if (offset + count > pipe->buffer_bytes) {
374 int length = pipe->buffer_bytes - offset;
383 pipe->hw_ptr = 0;
385 pipe->hw_ptr += count;
405 struct vx_pipe *pipe, int count)
409 int offset = pipe->hw_ptr;
414 if (offset + count > pipe->buffer_bytes) {
415 int length = pipe->buffer_bytes - offset;
422 pipe->hw_ptr = 0;
424 pipe->hw_ptr += count;