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