Lines Matching defs:wr_ptr
984 unsigned char *wr_ptr; /* First free byte in the buffer */
999 * ^ rd_ptr ^ wr_ptr
1022 wr_ptr = rd_ptr + out_buf_count;
1023 if (wr_ptr >= buf_stop_ptr)
1024 wr_ptr -= OUT_BUFFER_SIZE;
1031 if (wr_ptr + bytes_free > buf_stop_ptr)
1032 bytes_free = buf_stop_ptr - wr_ptr;
1035 if (copy_from_user(wr_ptr, buf, trunc_count))
1041 wr_ptr, buf_stop_ptr));
1063 start_dma_out(port, wr_ptr, trunc_count);