Lines Matching refs:maxcol
250 unsigned int nr, row, col, maxcol = vc->vc_cols; in vcs_read_buf_uni() local
258 row = pos / maxcol; in vcs_read_buf_uni()
259 col = pos % maxcol; in vcs_read_buf_uni()
260 nr = maxcol - col; in vcs_read_buf_uni()
269 nr = maxcol; in vcs_read_buf_uni()
279 unsigned int col, maxcol = vc->vc_cols; in vcs_read_buf_noattr() local
282 col = pos % maxcol; in vcs_read_buf_noattr()
283 pos += maxcol - col; in vcs_read_buf_noattr()
287 if (++col == maxcol) { in vcs_read_buf_noattr()
290 pos += maxcol; in vcs_read_buf_noattr()
300 unsigned int col, maxcol = vc->vc_cols; in vcs_read_buf() local
338 col = pos % maxcol; in vcs_read_buf()
341 pos += maxcol - col; in vcs_read_buf()
353 if (++col == maxcol) { in vcs_read_buf()
356 pos += maxcol; in vcs_read_buf()
477 unsigned int col, maxcol = vc->vc_cols; in vcs_write_buf_noattr() local
480 col = pos % maxcol; in vcs_write_buf_noattr()
481 pos += maxcol - col; in vcs_write_buf_noattr()
490 if (++col == maxcol) { in vcs_write_buf_noattr()
493 pos += maxcol; in vcs_write_buf_noattr()
517 unsigned int col, maxcol = vc->vc_cols; in vcs_write_buf() local
537 col = (pos/2) % maxcol; in vcs_write_buf()
549 if (++col == maxcol) { in vcs_write_buf()
556 pos += maxcol - col; in vcs_write_buf()
566 if (++col == maxcol) { in vcs_write_buf()
569 pos += maxcol; in vcs_write_buf()