RAW3215_BUFFER_SIZE
if ((RAW3215_BUFFER_SIZE - raw->count - TAB_STOP_SIZE) >= 0)
return RAW3215_BUFFER_SIZE - raw->count - TAB_STOP_SIZE;
(RAW3215_BUFFER_SIZE - 1);
ix = (ix + 1) & (RAW3215_BUFFER_SIZE - 1);
len = ((ix - 1 - req->start) & (RAW3215_BUFFER_SIZE - 1)) + 1;
if (ix + count > RAW3215_BUFFER_SIZE)
count = RAW3215_BUFFER_SIZE - ix;
ix = (ix + count) & (RAW3215_BUFFER_SIZE - 1);
if (tty && RAW3215_BUFFER_SIZE - raw->count >= RAW3215_MIN_SPACE)
(RAW3215_BUFFER_SIZE - 1);
return RAW3215_BUFFER_SIZE - raw->count;
while (RAW3215_BUFFER_SIZE - raw->count < length) {
if (RAW3215_BUFFER_SIZE - raw->count >= length)
raw->head = (raw->head + 1) & (RAW3215_BUFFER_SIZE - 1);
info->buffer = kzalloc(RAW3215_BUFFER_SIZE, GFP_KERNEL | GFP_DMA);
size_t i = min_t(size_t, count, RAW3215_BUFFER_SIZE - 1);
raw3215_make_room(raw, RAW3215_BUFFER_SIZE, false);