Searched refs:OUT_BUFFER_SIZE (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/arch/cris/arch-v10/drivers/
H A Dsync_serial.c66 #define OUT_BUFFER_SIZE 4096 macro
140 unsigned char out_buffer[OUT_BUFFER_SIZE] __attribute__ ((aligned(32)));
667 if (port->out_count < OUT_BUFFER_SIZE) sync_serial_poll()
993 port->port_nbr, count, port->out_count, OUT_BUFFER_SIZE)); sync_serial_write()
996 * out_buffer <c1>012345<- c ->OUT_BUFFER_SIZE sync_serial_write()
999 * out_buffer 45<- c ->0123OUT_BUFFER_SIZE sync_serial_write()
1007 if (count > OUT_BUFFER_SIZE - port->out_count) sync_serial_write()
1008 count = OUT_BUFFER_SIZE - port->out_count; sync_serial_write()
1016 if (free_outp >= out_buffer + OUT_BUFFER_SIZE) sync_serial_write()
1017 free_outp -= OUT_BUFFER_SIZE; sync_serial_write()
1019 c = out_buffer + OUT_BUFFER_SIZE - free_outp; sync_serial_write()
1179 if (port->outp >= port->out_buffer + OUT_BUFFER_SIZE) send_word()
1188 if (port->outp >= port->out_buffer + OUT_BUFFER_SIZE) IO_STATE_VALUE()
1196 if (port->outp >= port->out_buffer + OUT_BUFFER_SIZE)
1203 if (port->outp >= port->out_buffer + OUT_BUFFER_SIZE)
1210 if (port->outp >= port->out_buffer + OUT_BUFFER_SIZE)
1298 if (port->outp >= port->out_buffer + OUT_BUFFER_SIZE) tr_interrupt()
1301 int c = port->out_buffer + OUT_BUFFER_SIZE - port->outp; tr_interrupt()
/linux-4.1.27/arch/cris/arch-v32/drivers/
H A Dsync_serial.c69 #define OUT_BUFFER_SIZE (1024 * NBR_OUT_DESCR) macro
133 unsigned char out_buffer[OUT_BUFFER_SIZE] __aligned(32);
582 port->out_buf_count < OUT_BUFFER_SIZE) sync_serial_poll()
1091 /* |<- OUT_BUFFER_SIZE ->| sync_serial_write()
1112 out_buf_count >= OUT_BUFFER_SIZE)) { sync_serial_write()
1117 buf_stop_ptr = port->out_buffer + OUT_BUFFER_SIZE; sync_serial_write()
1122 wr_ptr -= OUT_BUFFER_SIZE; sync_serial_write()
1128 bytes_free = OUT_BUFFER_SIZE - out_buf_count; sync_serial_write()
1213 if (port->out_rd_ptr >= port->out_buffer + OUT_BUFFER_SIZE) send_word()
1223 if (port->out_rd_ptr >= port->out_buffer + OUT_BUFFER_SIZE) send_word()
1232 if (port->out_rd_ptr >= port->out_buffer + OUT_BUFFER_SIZE) send_word()
1242 if (port->out_rd_ptr >= port->out_buffer + OUT_BUFFER_SIZE) send_word()
1253 if (port->out_rd_ptr >= port->out_buffer + OUT_BUFFER_SIZE) send_word()
1418 OUT_BUFFER_SIZE) tr_interrupt()

Completed in 90 milliseconds