• Home
  • Raw
  • Download

Lines Matching refs:vc

65 	struct vc_data *vc = param->vc;  in vcs_notifier()  local
77 if (currcons != vc->vc_num) in vcs_notifier()
167 struct vc_data *vc; in vcs_size() local
171 vc = vcs_vc(inode, NULL); in vcs_size()
172 if (!vc) in vcs_size()
175 size = vc->vc_rows * vc->vc_cols; in vcs_size()
200 struct vc_data *vc; in vcs_read() local
222 vc = vcs_vc(inode, &viewed); in vcs_read()
223 if (!vc) in vcs_read()
267 maxcol = vc->vc_cols; in vcs_read()
269 org = screen_pos(vc, p, viewed); in vcs_read()
273 *con_buf0++ = (vcs_scr_readw(vc, org++) & 0xff); in vcs_read()
275 org = screen_pos(vc, p, viewed); in vcs_read()
284 con_buf0[0] = (char)vc->vc_rows; in vcs_read()
285 con_buf0[1] = (char)vc->vc_cols; in vcs_read()
286 getconsxy(vc, con_buf0 + 2); in vcs_read()
322 org = screen_pos(vc, p, viewed); in vcs_read()
332 *tmp_buf++ = vcs_scr_readw(vc, org++); in vcs_read()
335 org = screen_pos(vc, p, viewed); in vcs_read()
378 struct vc_data *vc; in vcs_write() local
400 vc = vcs_vc(inode, &viewed); in vcs_write()
401 if (!vc) in vcs_write()
461 maxcol = vc->vc_cols; in vcs_write()
464 org0 = org = screen_pos(vc, p, viewed); in vcs_write()
472 vcs_scr_writew(vc, in vcs_write()
473 (vcs_scr_readw(vc, org) & 0xff00) | c, org); in vcs_write()
476 org = screen_pos(vc, p, viewed); in vcs_write()
485 getconsxy(vc, header + 2); in vcs_write()
491 putconsxy(vc, header + 2); in vcs_write()
496 org0 = org = screen_pos(vc, p/2, viewed); in vcs_write()
503 vcs_scr_writew(vc, c | in vcs_write()
504 (vcs_scr_readw(vc, org) & 0xff00), org); in vcs_write()
506 vcs_scr_writew(vc, (c << 8) | in vcs_write()
507 (vcs_scr_readw(vc, org) & 0xff), org); in vcs_write()
512 org = screen_pos(vc, p/2, viewed); in vcs_write()
523 vcs_scr_writew(vc, w, org++); in vcs_write()
527 org = screen_pos(vc, p, viewed); in vcs_write()
537 vcs_scr_writew(vc, (vcs_scr_readw(vc, org) & 0xff) | (c << 8), org); in vcs_write()
539 vcs_scr_writew(vc, (vcs_scr_readw(vc, org) & 0xff00) | c, org); in vcs_write()
548 update_region(vc, (unsigned long)(org0), org - org0); in vcs_write()
553 vcs_scr_updated(vc); in vcs_write()