Lines Matching defs:buffer
39 #define RAW3215_BUFFER_SIZE 65536 /* output buffer size */
40 #define RAW3215_INBUF_SIZE 256 /* input buffer size */
53 #define RAW3215_FLUSHING 128 /* set to flush buffer (no delay) */
69 int start, len; /* start index & len in output buffer */
82 char *buffer; /* pointer to output buffer */
83 char *inbuf; /* pointer to input buffer */
84 int head; /* first free byte in output buffer */
85 int count; /* number of bytes in output buffer */
92 char ubuffer[80]; /* copy_from_user buffer */
169 * buffer to the 3215 device. If a queued write exists it is replaced by
203 if (raw->buffer[ix] == 0x15)
222 ccw->cda = (__u32)__pa(raw->buffer + ix);
451 * This is unqueued part in the buffer and the queued part in the request.
455 * Return number of bytes available in buffer.
476 * Wait until length bytes are available int the output buffer.
512 * Add text to console buffer. Find tabs in input and calculate size
521 * RAW3215_STORE: Add data to the console buffer. The parameter todrop is
562 raw->buffer[raw->head] = (char)_ascebc[(int)ch];
675 info->buffer = kzalloc(RAW3215_BUFFER_SIZE, GFP_KERNEL | GFP_DMA);
677 if (!info->buffer || !info->inbuf) {
679 kfree(info->buffer);
694 kfree(raw->buffer);
1008 * Returns the amount of free space in the output buffer.
1048 * Returns the number of characters in the output buffer