Lines Matching refs:maxcol
251 unsigned int nr, row, col, maxcol = vc->vc_cols; in vcs_read_buf_uni() local
259 row = pos / maxcol; in vcs_read_buf_uni()
260 col = pos % maxcol; in vcs_read_buf_uni()
261 nr = maxcol - col; in vcs_read_buf_uni()
270 nr = maxcol; in vcs_read_buf_uni()
280 unsigned int col, maxcol = vc->vc_cols; in vcs_read_buf_noattr() local
283 col = pos % maxcol; in vcs_read_buf_noattr()
284 pos += maxcol - col; in vcs_read_buf_noattr()
288 if (++col == maxcol) { in vcs_read_buf_noattr()
291 pos += maxcol; in vcs_read_buf_noattr()
301 unsigned int col, maxcol = vc->vc_cols; in vcs_read_buf() local
339 col = pos % maxcol; in vcs_read_buf()
342 pos += maxcol - col; in vcs_read_buf()
354 if (++col == maxcol) { in vcs_read_buf()
357 pos += maxcol; in vcs_read_buf()
482 unsigned int col, maxcol = vc->vc_cols; in vcs_write_buf_noattr() local
485 col = pos % maxcol; in vcs_write_buf_noattr()
486 pos += maxcol - col; in vcs_write_buf_noattr()
495 if (++col == maxcol) { in vcs_write_buf_noattr()
498 pos += maxcol; in vcs_write_buf_noattr()
522 unsigned int col, maxcol = vc->vc_cols; in vcs_write_buf() local
542 col = (pos/2) % maxcol; in vcs_write_buf()
554 if (++col == maxcol) { in vcs_write_buf()
561 pos += maxcol - col; in vcs_write_buf()
571 if (++col == maxcol) { in vcs_write_buf()
574 pos += maxcol; in vcs_write_buf()