Lines Matching defs:WIDTH
44 #define WIDTH 40
46 static u16 console_buf[WIDTH];
63 static u16 lastwrite[WIDTH];
64 unsigned char data[1 + 1 + 2*WIDTH + 2 + 1], csum = 0, *c;
71 if (!memcmp(lastwrite, buf, WIDTH * sizeof(*buf)))
73 memcpy(lastwrite, buf, WIDTH * sizeof(*buf));
84 for (i = 0; i < WIDTH; i++) {
111 vc_x = vc->state.x - (vc->state.x % WIDTH);
127 u16 buf[WIDTH];
130 for (i = 0; i < WIDTH; i++) {
173 vc_x -= WIDTH;
179 vc_x = vc->vc_cols-WIDTH;
184 if (vc_x + WIDTH < vc->vc_cols) {
185 vc_x += WIDTH;
306 if (console_cursor == WIDTH)
308 (WIDTH-1) * sizeof(*console_buf));