Lines Matching refs:ix
175 int len, count, ix, lines;
200 ix = req->start;
201 while (lines < RAW3215_MAX_NEWLINE && ix != raw->head) {
202 if (raw->buffer[ix] == 0x15)
204 ix = (ix + 1) & (RAW3215_BUFFER_SIZE - 1);
206 len = ((ix - 1 - req->start) & (RAW3215_BUFFER_SIZE - 1)) + 1;
213 req->delayable = (ix == raw->head) && (len < RAW3215_MIN_WRITE);
215 ix = req->start;
221 ccw->cda = virt_to_dma32(raw->buffer + ix);
223 if (ix + count > RAW3215_BUFFER_SIZE)
224 count = RAW3215_BUFFER_SIZE - ix;
227 ix = (ix + count) & (RAW3215_BUFFER_SIZE - 1);