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

/linux-4.1.27/drivers/s390/char/
H A Dcon3215.c38 #define RAW3215_BUFFER_SIZE 65536 /* output buffer size */ macro
193 (RAW3215_BUFFER_SIZE - 1); raw3215_mk_write_req()
204 ix = (ix + 1) & (RAW3215_BUFFER_SIZE - 1); raw3215_mk_write_req()
206 len = ((ix - 1 - req->start) & (RAW3215_BUFFER_SIZE - 1)) + 1; raw3215_mk_write_req()
224 if (ix + count > RAW3215_BUFFER_SIZE) raw3215_mk_write_req()
225 count = RAW3215_BUFFER_SIZE - ix; raw3215_mk_write_req()
228 ix = (ix + count) & (RAW3215_BUFFER_SIZE - 1); raw3215_mk_write_req()
357 if (tty && RAW3215_BUFFER_SIZE - raw->count >= RAW3215_MIN_SPACE) raw3215_next_io()
475 ix = (raw->head - raw->count) & (RAW3215_BUFFER_SIZE - 1); raw3215_drop_line()
478 ix = (ix + 1) & (RAW3215_BUFFER_SIZE - 1); raw3215_drop_line()
493 while (RAW3215_BUFFER_SIZE - raw->count < length) { raw3215_make_room()
510 if (RAW3215_BUFFER_SIZE - raw->count >= length) raw3215_make_room()
530 count = (length > RAW3215_BUFFER_SIZE) ? raw3215_write()
531 RAW3215_BUFFER_SIZE : length; raw3215_write()
539 min(RAW3215_BUFFER_SIZE - raw->count, raw3215_write()
540 RAW3215_BUFFER_SIZE - raw->head)); raw3215_write()
545 raw->head = (raw->head + c) & (RAW3215_BUFFER_SIZE - 1); raw3215_write()
584 raw->head = (raw->head + 1) & (RAW3215_BUFFER_SIZE - 1); raw3215_putchar()
667 info->buffer = kzalloc(RAW3215_BUFFER_SIZE, GFP_KERNEL | GFP_DMA); raw3215_alloc_info()
776 raw3215_make_room(raw, RAW3215_BUFFER_SIZE); raw3215_pm_stop()
869 raw3215_make_room(raw, RAW3215_BUFFER_SIZE); con3215_flush()
1027 if ((RAW3215_BUFFER_SIZE - raw->count - TAB_STOP_SIZE) >= 0) tty3215_write_room()
1028 return RAW3215_BUFFER_SIZE - raw->count - TAB_STOP_SIZE; tty3215_write_room()

Completed in 54 milliseconds