Lines Matching refs:out_buffer
101 unsigned char* outp; /* Current position in out_buffer */
106 unsigned char out_buffer[OUT_BUFFER_SIZE] __attribute__ ((aligned(32)));
249 port->outp = port->out_buffer;
798 unsigned long out_buffer;
811 * out_buffer <c1>012345<- c ->OUT_BUFFER_SIZE
814 * out_buffer 45<- c ->0123OUT_BUFFER_SIZE
826 out_buffer = (unsigned long)port->out_buffer;
829 if (free_outp >= out_buffer + OUT_BUFFER_SIZE)
832 c = out_buffer + OUT_BUFFER_SIZE - free_outp;
845 DEBUGWRITE(printk("w2 fi %lu c %lu c1 %lu\n", free_outp-out_buffer, c, c1));
846 if (copy_from_user((void*)out_buffer, buf, c1))
1010 if (port->outp >= port->out_buffer + OUT_BUFFER_SIZE)
1011 port->outp = port->out_buffer;
1020 if (port->outp >= port->out_buffer + OUT_BUFFER_SIZE)
1021 port->outp = port->out_buffer;
1029 if (port->outp >= port->out_buffer + OUT_BUFFER_SIZE)
1030 port->outp = port->out_buffer;
1039 if (port->outp >= port->out_buffer + OUT_BUFFER_SIZE)
1040 port->outp = port->out_buffer;
1050 if (port->outp >= port->out_buffer + OUT_BUFFER_SIZE)
1051 port->outp = port->out_buffer;
1128 if (port->outp >= port->out_buffer + OUT_BUFFER_SIZE)
1129 port->outp = port->out_buffer;
1132 c = port->out_buffer + OUT_BUFFER_SIZE - port->outp;