Lines Matching refs:col
250 unsigned int nr, row, col, maxcol = vc->vc_cols; in vcs_read_buf_uni() local
259 col = pos % maxcol; in vcs_read_buf_uni()
260 nr = maxcol - col; in vcs_read_buf_uni()
264 vc_uniscr_copy_line(vc, con_buf, viewed, row, col, nr); in vcs_read_buf_uni()
268 col = 0; 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()
289 col = 0; 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()
355 col = 0; 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()
492 col = 0; 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()
551 col = 0; in vcs_write_buf()
556 pos += maxcol - col; in vcs_write_buf()
566 if (++col == maxcol) { in vcs_write_buf()
568 col = 0; in vcs_write_buf()