예제 #1
0
/* Show portion of VC at vc_x, vc_y */
static void vc_refresh(struct vc_data *vc)
{
	u16 buf[WIDTH];
	int i;

	for (i = 0; i < WIDTH; i++) {
		u16 glyph = screen_glyph(vc,
				2 * (vc_x + i) + vc_y * vc->vc_size_row);
		buf[i] = inverse_translate(vc, glyph, 1);
	}
	braille_write(buf);
}
예제 #2
0
파일: selection.c 프로젝트: wxlong/Test
static unsigned char
sel_pos(int n)
{
	return inverse_translate(vc_cons[sel_cons].d, screen_glyph(sel_cons, n));
}
예제 #3
0
파일: selection.c 프로젝트: 383530895/linux
static unsigned char sel_pos(int n)
{
	return inverse_translate(spk_sel_cons,
		screen_glyph(spk_sel_cons, n), 0);
}
예제 #4
0
파일: selection.c 프로젝트: 19Dan01/linux
static u16
sel_pos(int n)
{
	return inverse_translate(sel_cons, screen_glyph(sel_cons, n),
				use_unicode);
}