Lines Matching defs:tmp
662 unsigned char tmp;
767 tmp = hsyncend % 32;
769 tmp += 128;
770 dev_dbg(info->device, "CRT5: %d\n", tmp);
771 vga_wcrt(regbase, VGA_CRTC_H_SYNC_END, tmp);
776 tmp = 16; /* LineCompare bit #9 */
778 tmp |= 1;
780 tmp |= 2;
782 tmp |= 4;
784 tmp |= 8;
786 tmp |= 32;
788 tmp |= 64;
790 tmp |= 128;
791 dev_dbg(info->device, "CRT7: %d\n", tmp);
792 vga_wcrt(regbase, VGA_CRTC_OVERFLOW, tmp);
794 tmp = 0x40; /* LineCompare bit #8 */
796 tmp |= 0x20;
798 tmp |= 0x80;
799 dev_dbg(info->device, "CRT9: %d\n", tmp);
800 vga_wcrt(regbase, VGA_CRTC_MAX_SCAN, tmp);
820 tmp = 0;
822 tmp |= 1;
824 tmp |= 16;
826 tmp |= 32;
828 tmp |= 64;
830 tmp |= 128;
832 dev_dbg(info->device, "CRT1a: %d\n", tmp);
833 vga_wcrt(regbase, CL_CRT1A, tmp);
884 tmp = den << 1;
886 tmp |= 1;
891 tmp |= 0x80;
895 vga_wseq(regbase, CL_SEQRE, tmp);
899 vga_wseq(regbase, CL_SEQR1E, tmp);
920 tmp = 0x03 | 0xc;
922 tmp |= 0x40;
924 tmp |= 0x80;
925 WGen(cinfo, VGA_MIS_W, tmp);
1205 tmp = 0x22;
1207 tmp |= 0x10; /* offset overflow bit */
1210 vga_wcrt(regbase, CL_CRT1B, tmp);
1217 tmp = 0;
1219 tmp |= 128;
1221 tmp |= 64;
1223 tmp |= 48;
1225 tmp |= 8;
1227 tmp |= 4;
1229 tmp |= 3;
1231 vga_wcrt(regbase, CL_CRT1E, tmp);
1232 dev_dbg(info->device, "CRT1e: %d\n", tmp);
1250 tmp = 0x01;
1254 tmp |= 0x08;
1257 vga_wseq(regbase, VGA_SEQ_CLOCK_MODE, tmp);
1258 dev_dbg(info->device, "CL_SEQR1: %d\n", tmp);
1317 unsigned char tmp, xpix;
1344 /* 0xf2 is %11110010, exclude tmp bits */
1345 tmp = vga_rcrt(cinfo->regbase, CL_CRT1B) & 0xf2;
1348 tmp |= 0x01;
1350 tmp |= 0x04;
1352 tmp |= 0x08;
1354 vga_wcrt(cinfo->regbase, CL_CRT1B, tmp);
1358 tmp = vga_rcrt(cinfo->regbase, CL_CRT1D);
1360 tmp = (tmp & ~0x18) | ((base >> 16) & 0x18);
1362 tmp = (tmp & ~0x80) | ((base >> 12) & 0x80);
1363 vga_wcrt(cinfo->regbase, CL_CRT1D, tmp);