Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/tty/vt/
Dselection.c161 ps = ys * vc->vc_size_row + (xs << 1); in set_selection()
162 pe = ye * vc->vc_size_row + (xe << 1); in set_selection()
203 if (!(ps % vc->vc_size_row)) in set_selection()
213 if (!((pe + 2) % vc->vc_size_row)) in set_selection()
218 new_sel_start = ps - ps % vc->vc_size_row; in set_selection()
219 new_sel_end = pe + vc->vc_size_row in set_selection()
220 - pe % vc->vc_size_row - 2; in set_selection()
234 !atedge(new_sel_end, vc->vc_size_row) && in set_selection()
238 atedge(pe, vc->vc_size_row)) in set_selection()
289 if (! ((i + 2) % vc->vc_size_row)) { in set_selection()
Dvt.c323 d = (unsigned short *)(vc->vc_origin + vc->vc_size_row * t); in scrup()
324 s = (unsigned short *)(vc->vc_origin + vc->vc_size_row * (t + nr)); in scrup()
325 scr_memmovew(d, s, (b - t - nr) * vc->vc_size_row); in scrup()
327 vc->vc_size_row * nr); in scrup()
341 s = (unsigned short *)(vc->vc_origin + vc->vc_size_row * t); in scrdown()
343 scr_memmovew(s + step, s, (b - t - nr) * vc->vc_size_row); in scrdown()
647 vc->vc_pos = vc->vc_origin + vc->vc_size_row * vc->vc_y + 2 * vc->vc_x; in set_origin()
768 vc->vc_size_row = vc->vc_cols << 1; in visual_init()
769 vc->vc_screenbuf_size = vc->vc_rows * vc->vc_size_row; in visual_init()
891 old_row_size = vc->vc_size_row; in vc_do_resize()
[all …]
/linux-2.6.39/drivers/staging/speakup/
Dselection.c58 ps = ys * vc->vc_size_row + (xs << 1); in speakup_set_selection()
59 pe = ye * vc->vc_size_row + (xe << 1); in speakup_set_selection()
81 !atedge(new_sel_end, vc->vc_size_row) && in speakup_set_selection()
85 atedge(pe, vc->vc_size_row)) in speakup_set_selection()
110 if (!((i + 2) % vc->vc_size_row)) { in speakup_set_selection()
Dmain.c775 spk_pos -= vc->vc_size_row; in say_prev_line()
787 spk_pos += vc->vc_size_row; in say_next_line()
802 if (i >= vc->vc_size_row) in say_from_to()
823 u_long start = vc->vc_origin + (spk_y * vc->vc_size_row); in say_line_from_to()
865 start = vc->vc_origin + ((spk_y) * vc->vc_size_row); in get_sentence_buf()
866 end = vc->vc_origin + ((spk_y) * vc->vc_size_row) + vc->vc_cols * 2; in get_sentence_buf()
887 if (i >= vc->vc_size_row) in get_sentence_buf()
909 start += from * vc->vc_size_row; in say_screen_from_to()
912 end = vc->vc_origin + (to * vc->vc_size_row); in say_screen_from_to()
914 to = from + vc->vc_size_row; in say_screen_from_to()
[all …]
/linux-2.6.39/drivers/video/console/
Dvgacon.c218 p = (void *) (c->vc_origin + t * c->vc_size_row); in vgacon_scrollback_update()
222 p, c->vc_size_row); in vgacon_scrollback_update()
224 p += c->vc_size_row; in vgacon_scrollback_update()
225 vgacon_scrollback_tail += c->vc_size_row; in vgacon_scrollback_update()
288 c->vc_size_row); in vgacon_scrolldelta()
289 soff -= count * c->vc_size_row; in vgacon_scrolldelta()
306 count *= c->vc_size_row; in vgacon_scrolldelta()
319 scr_memcpyw(d, s, diff * c->vc_size_row); in vgacon_scrolldelta()
341 int margin = c->vc_size_row * 4; in vgacon_scrolldelta()
347 we = vga_rolled_over + c->vc_size_row; in vgacon_scrolldelta()
[all …]
Dfbcon.c146 #define advance_row(p, delta) (unsigned short *)((unsigned long)(p) + (delta) * vc->vc_size_row)
359 int l = fbcon_softback_size / vc->vc_size_row; in fbcon_update_softback()
362 softback_end = softback_buf + l * vc->vc_size_row; in fbcon_update_softback()
584 vc->vc_size_row * rows); in fbcon_prepare_logo()
604 scr_memcpyw(r + step, r, vc->vc_size_row); in fbcon_prepare_logo()
614 vc->vc_pos += lines * vc->vc_size_row; in fbcon_prepare_logo()
619 vc->vc_size_row * logo_lines); in fbcon_prepare_logo()
628 vc->vc_size_row * in fbcon_prepare_logo()
632 vc->vc_pos += logo_lines * vc->vc_size_row; in fbcon_prepare_logo()
1531 n = softback_curr + delta * vc->vc_size_row; in fbcon_redraw_softback()
[all …]
Dnewport_con.c618 vc->vc_size_row * (t + lines)); in newport_scroll()
620 vc->vc_size_row * t); in newport_scroll()
634 vc->vc_size_row * (b - lines)); in newport_scroll()
653 vc->vc_size_row * (b - lines) - 2); in newport_scroll()
655 vc->vc_size_row * b - 2); in newport_scroll()
669 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-2.6.39/include/linux/
Dconsole_struct.h29 unsigned int vc_size_row; /* Bytes per row */ member
/linux-2.6.39/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-2.6.39/drivers/accessibility/braille/
Dbraille_console.c146 2 * (vc_x + i) + vc_y * vc->vc_size_row); in vc_refresh()