Lines Matching refs:inb
631 gdc_FH = (inb(0x9a8) & 1) ? _31KHZ : _24KHZ;
672 while ( (inb(TEXT_GDC) & 2) != 0);
678 while ( (inb(TEXT_GDC) & 2) != 0);
691 while ( (inb(TEXT_GDC) & 4) == 0);
697 while ( (inb(TEXT_GDC) & 0x20) != 0);
698 while ( (inb(TEXT_GDC) & 0x20) == 0);
703 while ( (inb(GRAPHIC_GDC) & 2) != 0);
710 while ( (inb(GRAPHIC_GDC) & 2) != 0);
722 while ( (inb(GRAPHIC_GDC) & 0x04) == 0);
728 while ( (inb(GRAPHIC_GDC) & 0x20) != 0);
729 while ( (inb(GRAPHIC_GDC) & 0x20) == 0);
735 if ((inb(IO_SYSPORT) & 0x80) == 0){
924 *palette++ = inb(0xac); /* R */
925 *palette++ = inb(0xaa); /* G */
926 *palette++ = inb(0xae); /* B */
1205 while((inb(TEXT_GDC + 0) & 0x1) == 0) {} /* GDC wait */
1206 off = inb(TEXT_GDC + 2); /* EADl */
1207 off |= (inb(TEXT_GDC + 2) << 8); /* EADh */
1208 inb(TEXT_GDC + 2); /* dummy */
1209 inb(TEXT_GDC + 2); /* dummy */
1210 inb(TEXT_GDC + 2); /* dummy */
1312 if (inb(0x09a2) == (0x80 | 0x40))
1317 while (!(inb(TEXT_GDC) & 0x20)) /* V-SYNC wait */
1323 while (!(inb(TEXT_GDC) & 0x20)) /* V-SYNC wait */