Lines Matching refs:WIDTH
45 #define WIDTH 40 macro
47 static u16 console_buf[WIDTH];
64 static u16 lastwrite[WIDTH]; in braille_write()
65 unsigned char data[1 + 1 + 2*WIDTH + 2 + 1], csum = 0, *c; in braille_write()
72 if (!memcmp(lastwrite, buf, WIDTH * sizeof(*buf))) in braille_write()
74 memcpy(lastwrite, buf, WIDTH * sizeof(*buf)); in braille_write()
85 for (i = 0; i < WIDTH; i++) { in braille_write()
112 vc_x = vc->state.x - (vc->state.x % WIDTH); in vc_follow_cursor()
128 u16 buf[WIDTH]; in vc_refresh()
131 for (i = 0; i < WIDTH; i++) { in vc_refresh()
174 vc_x -= WIDTH; in keyboard_notifier_call()
180 vc_x = vc->vc_cols-WIDTH; in keyboard_notifier_call()
185 if (vc_x + WIDTH < vc->vc_cols) { in keyboard_notifier_call()
186 vc_x += WIDTH; in keyboard_notifier_call()
307 if (console_cursor == WIDTH) in vt_notifier_call()
309 (WIDTH-1) * sizeof(*console_buf)); in vt_notifier_call()