Home
last modified time | relevance | path

Searched refs:vc_size_row (Results 1 – 11 of 11) sorted by relevance

/linux-4.1.27/drivers/tty/vt/
Dselection.c184 ps = ys * vc->vc_size_row + (xs << 1); in set_selection()
185 pe = ye * vc->vc_size_row + (xe << 1); in set_selection()
230 if (!(ps % vc->vc_size_row)) in set_selection()
240 if (!((pe + 2) % vc->vc_size_row)) in set_selection()
245 new_sel_start = ps - ps % vc->vc_size_row; in set_selection()
246 new_sel_end = pe + vc->vc_size_row in set_selection()
247 - pe % vc->vc_size_row - 2; in set_selection()
261 !atedge(new_sel_end, vc->vc_size_row) && in set_selection()
265 atedge(pe, vc->vc_size_row)) in set_selection()
316 if (! ((i + 2) % vc->vc_size_row)) { in set_selection()
Dvt.c322 d = (unsigned short *)(vc->vc_origin + vc->vc_size_row * t); in scrup()
323 s = (unsigned short *)(vc->vc_origin + vc->vc_size_row * (t + nr)); in scrup()
324 scr_memmovew(d, s, (b - t - nr) * vc->vc_size_row); in scrup()
326 vc->vc_size_row * nr); in scrup()
340 s = (unsigned short *)(vc->vc_origin + vc->vc_size_row * t); in scrdown()
342 scr_memmovew(s + step, s, (b - t - nr) * vc->vc_size_row); in scrdown()
630 vc->vc_pos = vc->vc_origin + vc->vc_size_row * vc->vc_y + 2 * vc->vc_x; in set_origin()
751 vc->vc_size_row = vc->vc_cols << 1; in visual_init()
752 vc->vc_screenbuf_size = vc->vc_rows * vc->vc_size_row; in visual_init()
873 old_row_size = vc->vc_size_row; in vc_do_resize()
[all …]
/linux-4.1.27/drivers/staging/speakup/
Dselection.c63 ps = spk_ys * vc->vc_size_row + (spk_xs << 1); in speakup_set_selection()
64 pe = spk_ye * vc->vc_size_row + (spk_xe << 1); in speakup_set_selection()
87 !atedge(new_sel_end, vc->vc_size_row) && in speakup_set_selection()
91 atedge(pe, vc->vc_size_row)) in speakup_set_selection()
115 if (!((i + 2) % vc->vc_size_row)) { in speakup_set_selection()
Dmain.c787 spk_pos -= vc->vc_size_row; in say_prev_line()
799 spk_pos += vc->vc_size_row; in say_next_line()
815 if (i >= vc->vc_size_row) in say_from_to()
836 u_long start = vc->vc_origin + (spk_y * vc->vc_size_row); in say_line_from_to()
879 start = vc->vc_origin + ((spk_y) * vc->vc_size_row); in get_sentence_buf()
880 end = vc->vc_origin + ((spk_y) * vc->vc_size_row) + vc->vc_cols * 2; in get_sentence_buf()
901 if (i >= vc->vc_size_row) in get_sentence_buf()
924 start += from * vc->vc_size_row; in say_screen_from_to()
927 end = vc->vc_origin + (to * vc->vc_size_row); in say_screen_from_to()
929 to = from + vc->vc_size_row; in say_screen_from_to()
[all …]
/linux-4.1.27/drivers/video/console/
Dvgacon.c220 p = (void *) (c->vc_origin + t * c->vc_size_row); in vgacon_scrollback_update()
224 p, c->vc_size_row); in vgacon_scrollback_update()
226 p += c->vc_size_row; in vgacon_scrollback_update()
227 vgacon_scrollback_tail += c->vc_size_row; in vgacon_scrollback_update()
290 c->vc_size_row); in vgacon_scrolldelta()
291 soff -= count * c->vc_size_row; in vgacon_scrolldelta()
308 count *= c->vc_size_row; in vgacon_scrolldelta()
321 scr_memcpyw(d, s, diff * c->vc_size_row); in vgacon_scrolldelta()
343 int margin = c->vc_size_row * 4; in vgacon_scrolldelta()
349 we = vga_rolled_over + c->vc_size_row; in vgacon_scrolldelta()
[all …]
Dfbcon.c145 #define advance_row(p, delta) (unsigned short *)((unsigned long)(p) + (delta) * vc->vc_size_row)
355 int l = fbcon_softback_size / vc->vc_size_row; in fbcon_update_softback()
358 softback_end = softback_buf + l * vc->vc_size_row; in fbcon_update_softback()
585 vc->vc_size_row * rows); in fbcon_prepare_logo()
605 scr_memcpyw(r + step, r, vc->vc_size_row); in fbcon_prepare_logo()
615 vc->vc_pos += lines * vc->vc_size_row; in fbcon_prepare_logo()
620 vc->vc_size_row * logo_lines); in fbcon_prepare_logo()
629 vc->vc_size_row * in fbcon_prepare_logo()
633 vc->vc_pos += logo_lines * vc->vc_size_row; in fbcon_prepare_logo()
1548 n = softback_curr + delta * vc->vc_size_row; in fbcon_redraw_softback()
[all …]
Dnewport_con.c617 vc->vc_size_row * (t + lines)); in newport_scroll()
619 vc->vc_size_row * t); in newport_scroll()
633 vc->vc_size_row * (b - lines)); in newport_scroll()
652 vc->vc_size_row * (b - lines) - 2); in newport_scroll()
654 vc->vc_size_row * b - 2); in newport_scroll()
668 vc->vc_size_row * t); in newport_scroll()
Dsticon.c271 line = offset / conp->vc_size_row; in sticon_screen_pos()
273 return (u16 *)(conp->vc_origin + offset - softback_lines * conp->vc_size_row); in sticon_screen_pos()
/linux-4.1.27/include/linux/
Dconsole_struct.h30 unsigned int vc_size_row; /* Bytes per row */ member
/linux-4.1.27/drivers/usb/misc/sisusbvga/
Dsisusb_con.c719 int margin = c->vc_size_row * 4; in sisusbcon_scrolldelta()
742 we = sisusb->con_rolled_over + c->vc_size_row; in sisusbcon_scrolldelta()
752 lines * c->vc_size_row; in sisusbcon_scrolldelta()
896 unsigned int delta = lines * c->vc_size_row; in sisusbcon_scroll()
/linux-4.1.27/drivers/accessibility/braille/
Dbraille_console.c146 2 * (vc_x + i) + vc_y * vc->vc_size_row); in vc_refresh()