Lines Matching +full:480 +full:i
76 #define VT_VGA_HEIGHT 480
440 unsigned int i, bytes;
445 for (i = 0; i < y_count; ++i) {
446 vga_compute_shifted_pattern(src + (src_y + i) * bytes,
461 src_mask + (src_y + i) * bytes,
477 pattern_2colors[dst_y + i] &= ~mask;
478 pattern_2colors[dst_y + i] |= pattern;
494 pattern_ncolors[(dst_y + i) * 16 + j] &=
497 pattern_ncolors[(dst_y + i) * 16 + fg] |= pattern;
498 pattern_ncolors[(dst_y + i) * 16 + bg] |= (~pattern & mask);
507 unsigned int i, offset;
526 for (i = 0; i < height; ++i, offset += VT_VGA_WIDTH / 8) {
527 MEM_WRITE1(sc, offset, masks[i]);
535 unsigned int i, j, plane, color, offset;
571 for (i = 0; i < height; ++i) {
573 mask = masks[i * 16 + color];
583 planes[i * 4 + plane] |=
602 for (i = 0; i < height; ++i) {
603 offset = (VT_VGA_WIDTH * (y + i) + x) / 8;
604 MEM_WRITE1(sc, offset, planes[i * 4 + plane]);
615 unsigned int i, col, row, src_x, x_count;
632 * i is the index in this pixels block.
635 i = x;
641 if (i < vw->vw_draw_area.tr_begin.tp_col) {
643 * i is in the margin used to center the text area on
647 i = vw->vw_draw_area.tr_begin.tp_col;
650 while (i < x + VT_VGA_PIXELS_BLOCK &&
651 i < vw->vw_draw_area.tr_end.tp_col) {
659 col = (i - vw->vw_draw_area.tr_begin.tp_col) / vf->vf_width;
691 src_x = i -
705 src_x, i % VT_VGA_PIXELS_BLOCK, x_count,
709 i += x_count;
966 unsigned int x1, y1, x2, y2, i, j, src_x, dst_x, x_count;
983 for (i = x1; i < x2; i += VT_VGA_PIXELS_BLOCK) {
994 i, j, 1);
1051 REG_WRITE1(sc, VGA_CRTC_DATA, 0xea); /* 480 + 10 */
1055 REG_WRITE1(sc, VGA_CRTC_DATA, 0xdf); /* 480 - 1*/
1059 REG_WRITE1(sc, VGA_CRTC_DATA, 0xe7); /* 480 + 7 */
1066 REG_WRITE1(sc, VGA_CRTC_DATA, 0xff); /* 480 + 31 */