Lines Matching refs:WIDTH
58 #define WIDTH 40 macro
60 static u16 console_buf[WIDTH];
77 static u16 lastwrite[WIDTH]; in braille_write()
78 unsigned char data[1 + 1 + 2*WIDTH + 2 + 1], csum = 0, *c; in braille_write()
85 if (!memcmp(lastwrite, buf, WIDTH * sizeof(*buf))) in braille_write()
87 memcpy(lastwrite, buf, WIDTH * sizeof(*buf)); in braille_write()
98 for (i = 0; i < WIDTH; i++) { in braille_write()
125 vc_x = vc->vc_x - (vc->vc_x % WIDTH); in vc_follow_cursor()
141 u16 buf[WIDTH]; in vc_refresh()
144 for (i = 0; i < WIDTH; i++) { in vc_refresh()
187 vc_x -= WIDTH; in keyboard_notifier_call()
193 vc_x = vc->vc_cols-WIDTH; in keyboard_notifier_call()
198 if (vc_x + WIDTH < vc->vc_cols) { in keyboard_notifier_call()
199 vc_x += WIDTH; in keyboard_notifier_call()
316 if (console_cursor == WIDTH) in vt_notifier_call()
318 (WIDTH-1) * sizeof(*console_buf)); in vt_notifier_call()