| /xsrc/external/mit/xf86-video-nsc/dist/src/gfx/ |
| H A D | init_gu1.c | 155 OUTB(0x22, GXM_CONFIG_CCR3); 157 OUTB(0x22, GXM_CONFIG_CCR3); 158 OUTB(0x23, (unsigned char)(lock | 0x10)); 159 OUTB(0x22, index); 161 OUTB(0x22, GXM_CONFIG_CCR3); 162 OUTB(0x23, lock);
|
| H A D | vga_gu1.c | 293 OUTB(crtcindex, CRTC_MODE_SWITCH_CONTROL); 378 OUTB(0x3C4, 0); 379 OUTB(0x3C5, (unsigned char)(reset ? 0x00 : 0x03)); 400 OUTB(0x3CE, 0x06); 401 OUTB(0x3CF, 0x01); 407 OUTB(0x3C0, 0x10); 408 OUTB(0x3C0, 0x01); 514 OUTB(crtcindex, (unsigned char)i); 525 OUTB(crtcindex, (unsigned char)(0x40 + i)); 548 OUTB(crtcinde [all...] |
| H A D | i2c_acc.c | 280 OUTB(index_reg, reg); 281 OUTB(data_reg, data); 295 OUTB(index_reg, reg); 549 OUTB((unsigned short)(bus_base_address + ACBCTL2), 554 OUTB((unsigned short)(bus_base_address + ACBCTL1), 0x0); 557 OUTB((unsigned short)(bus_base_address + ACBADDR), 0x0); 562 OUTB((unsigned short)(bus_base_address + ACBCTL2), reg); 569 OUTB((unsigned short)(bus_base_address + ACBST), 0x38); 574 OUTB((unsigned short)(bus_base_address + ACBCST), reg); 591 OUTB((unsigne [all...] |
| H A D | durango.c | 566 #define OUTB(port, data) gfx_outb(port, data) macro
|
| /xsrc/external/mit/xf86-video-trident/dist/src/ |
| H A D | tvga_dac.c | 48 OUTB(0x3C4, 0x0B); INB(0x3C5); /* Ensure we are in New Mode */ 51 OUTB(0x3C4, ConfPort2); 53 OUTB(0x3CE, MiscExtFunc); 55 OUTB(vgaIOBase + 4, FIFOControl); 59 OUTB(0x3C4, 0x0B); OUTB(0x3C5, 0x00); /* Goto Old Mode */ 60 OUTB(0x3C4, OldMode2 + NewMode2); 62 OUTB(0x3C4, 0x0B); INB(0x3C5); /* Back to New Mode */ 123 OUTB(vgaIOBase+ 4, AddColReg); 138 OUTB( [all...] |
| H A D | trident_bank.c | 55 OUTB(0x3d9, bank & 0xff); 73 OUTB(0x3d8, bank & 0xff); 91 OUTB(0x3d8, bank & 0xff); 92 OUTB(0x3d9, bank & 0xff);
|
| H A D | trident_tv.c | 273 OUTB(SMBUS_BASE, 0xFF); 281 OUTB(SMBUS_BASE+3, bIndex); 284 OUTB(SMBUS_BASE+4, devAdr | 0x01); 287 OUTB(SMBUS_BASE+2, 0x48); 305 OUTB(SMBUS_BASE, 0xFF); 312 OUTB(SMBUS_BASE+2, 0x08); 315 OUTB(SMBUS_BASE+3, bIndex); 318 OUTB(SMBUS_BASE+4, devAdr & 0xFE); 320 OUTB(SMBUS_BASE+5, bData); 323 OUTB(SMBUS_BAS [all...] |
| H A D | trident_i2c.c | 30 OUTB(vgaIOBase + 4, I2C); 31 OUTB(vgaIOBase + 5, reg); 48 OUTB(vgaIOBase + 4, I2C);
|
| H A D | trident_pll.c | 50 OUTB(vgaIOBase + 4, 0xC0); 160 OUTB(0x3CE, FPConfig); 163 OUTB(0x3CE, HorStretch); 165 OUTB(0x3CE, VertStretch); 214 OUTB(vgaIOBase + 4, 0x28); 242 OUTB(0x3C4, NewMode1); 245 OUTB(0x3C5, 0xC2); 250 OUTB(0x3C4, 0x16); 252 OUTB(0x3C4, 0x17); 256 OUTB( [all...] |
| H A D | trident_dac.c | 248 OUTB(0x3C4, Protection); 250 OUTB(0x3C5, 0x92); 253 OUTB(0x3C4, 0x0B); INB(0x3C5); /* Ensure we are in New Mode */ 258 OUTB(0x3CE, MiscExtFunc); 280 OUTB(0x3CE, CyberControl); 283 OUTB(0x3CE, FPConfig); 301 OUTB(0x3CE, CyberEnhance); 318 OUTB(0x3CE, CyberControl); 321 OUTB(0x3CE,HorStretch); 323 OUTB( [all...] |
| H A D | trident_driver.c | 545 OUTB(0x3C4, Protection); 546 OUTB(0x3C5, protect); 548 OUTB(0x3C4, NewMode1); 549 OUTB(0x3C5, temp); 569 OUTB(0x3C4, 0x0B); temp = INB(0x3C5); 572 OUTB(0x3C4, NewMode1); temp = INB(0x3C5); 573 OUTB(0x3C5, 0x80); 575 OUTB(0x3C4, Protection); 577 OUTB(0x3C5, 0x92); 581 OUTB(vgaIOBas [all...] |
| H A D | trident_regs.h | 302 #define OUTB(addr, data) \ macro 332 OUTB(vgaIOBase + 4, reg); \ 335 OUTB(0x3C4, reg); \ 338 OUTB(0x3CE, reg); \ 345 OUTB(0x83C8, reg); \ 346 OUTB(0x83C6, val); \ 445 OUTB(0x3CE, CyberControl); \ 447 OUTB(0x3CF,oldval | (1 << 6));\ 451 OUTB(0x3CE, CyberControl); \ 452 OUTB( [all...] |
| H A D | trident_video.c | 244 OUTB(0x83C8, 0x57); 245 OUTB(0x83C6, 0xC0); 248 OUTB(0x83C8, 0x37); 249 OUTB(0x83C6, 0x01); 250 OUTB(0x83C8, 0x00); 251 OUTB(0x83C6, 0x00); 773 OUTB(0x83C8, 0x00); 774 OUTB(0x83C6, 0x95); 1205 OUTB(0x3CE, CyberControl); 1211 OUTB(vgaIOBas [all...] |
| /xsrc/external/mit/xf86-video-geode/dist/src/gfx/ |
| H A D | init_gu1.c | 43 OUTB(0x22, GXM_CONFIG_CCR3); 45 OUTB(0x22, GXM_CONFIG_CCR3); 46 OUTB(0x23, (unsigned char) (lock | 0x10)); 47 OUTB(0x22, index); 49 OUTB(0x22, GXM_CONFIG_CCR3); 50 OUTB(0x23, lock);
|
| H A D | vga_gu1.c | 268 OUTB(crtcindex, CRTC_MODE_SWITCH_CONTROL); 353 OUTB(0x3C4, 0); 354 OUTB(0x3C5, (unsigned char) (reset ? 0x00 : 0x03)); 375 OUTB(0x3CE, 0x06); 376 OUTB(0x3CF, 0x01); 382 OUTB(0x3C0, 0x10); 383 OUTB(0x3C0, 0x01); 489 OUTB(crtcindex, (unsigned char) i); 500 OUTB(crtcindex, (unsigned char) (0x40 + i)); 523 OUTB(crtcinde [all...] |
| H A D | i2c_acc.c | 167 OUTB(index_reg, reg); 168 OUTB(data_reg, data); 182 OUTB(index_reg, reg); 438 OUTB((unsigned short) (bus_base_address + ACBCTL2), 443 OUTB((unsigned short) (bus_base_address + ACBCTL1), 0x0); 446 OUTB((unsigned short) (bus_base_address + ACBADDR), 0x0); 451 OUTB((unsigned short) (bus_base_address + ACBCTL2), reg); 458 OUTB((unsigned short) (bus_base_address + ACBST), 0x38); 463 OUTB((unsigned short) (bus_base_address + ACBCST), reg); 480 OUTB((unsigne [all...] |
| /xsrc/external/mit/xf86-video-geode/dist/src/ |
| H A D | durango.c | 103 #define OUTB(port,data) outb(port, data) macro
|
| /xsrc/external/mit/xf86-video-nsc/dist/src/ |
| H A D | durango.c | 533 #define OUTB(port,data) outb(port, data) macro 660 #define OUTB(port, data) gfx_outb(port, data) macro
|
| /xsrc/external/mit/xf86-video-geode/dist/src/cim/ |
| H A D | cim_defs.h | 628 * OUTB 632 #define OUTB(port, data) cim_outb(port, data) macro 729 * OUTB 733 #define OUTB(port) cim_outb(port) macro
|