| /xsrc/external/mit/xf86-video-s3/dist/src/ |
| H A D | s3_cursor.c | 50 outb(vgaCRIndex, 0x45); 52 outb(vgaCRIndex, 0x4a); 53 outb(vgaCRReg, fg); 54 outb(vgaCRReg, fg); 56 outb(vgaCRIndex, 0x45); 58 outb(vgaCRIndex, 0x4b); 59 outb(vgaCRReg, bg); 60 outb(vgaCRReg, bg); 70 outb(vgaCRIndex, 0x45); 72 outb(vgaCRInde [all...] |
| H A D | s3_Trio64DAC.c | 64 outb(0x3c4, 0x08); 66 outb(0x3c5, 0x06); 68 outb(0x3c4, 0x09); 70 outb(0x3c4, 0x0a); 72 outb(0x3c4, 0x0b); 74 outb(0x3c4, 0x0d); 76 outb(0x3c4, 0x15); 78 outb(0x3c5, save->dacregs[6]); 80 outb(0x3c4, 0x18); 82 outb( [all...] |
| H A D | s3_GENDAC.c | 55 outb(0x3C8,0); 85 outb(vgaCRIndex, 0x43); 87 outb(vgaCRReg, saveCR43 & ~0x02); 89 outb(vgaCRIndex, 0x45); 91 outb(vgaCRReg, saveCR45 & ~0x20); 93 outb(vgaCRIndex, 0x55); 95 outb(vgaCRReg, saveCR55 & ~1); 97 outb(0x3c7,0); 100 outb(0x3c8,0); 102 outb( [all...] |
| H A D | s3_IBMRGB.c | 59 outb(vgaCRIndex, 0x55); 61 outb(vgaCRReg, tmp | 0x01); 63 outb(IBMRGB_INDEX_LOW, reg); 67 outb(IBMRGB_INDEX_DATA, tmp2 | data); 69 outb(vgaCRIndex, 0x55); 70 outb(vgaCRReg, tmp); 80 outb(vgaCRIndex, 0x55); 82 outb(vgaCRReg, tmp | 0x01); 84 outb(IBMRGB_INDEX_LOW, reg); 87 outb(vgaCRInde [all...] |
| H A D | s3_Ti.c | 86 outb(vgaCRIndex, 0x55); 88 outb(vgaCRReg, tmp | 0x01); 90 outb(TI_INDEX_REG, reg); 94 outb(TI_DATA_REG, tmp2 | data); 96 outb(TI_INDEX_REG, tmp1); 97 outb(vgaCRReg, tmp); 107 outb(vgaCRIndex, 0x55); 109 outb(vgaCRReg, tmp | 0x01); 111 outb(TI_INDEX_REG, reg); 115 outb(TI_INDEX_RE [all...] |
| H A D | s3_driver.c | 547 outb(vgaCRIndex, 0x38); 548 outb(vgaCRReg, 0x48); 549 outb(vgaCRIndex, 0x39); 550 outb(vgaCRReg, 0xa5); 552 outb(vgaCRIndex, 0x40); 554 outb(vgaCRReg, tmp); 555 outb(vgaCRIndex, 0x35); 557 outb(vgaCRReg, tmp); 559 outb(0x3c4, 0x08); 560 outb( [all...] |
| /xsrc/external/mit/xf86-video-mach64/dist/src/ |
| H A D | ativgaio.h | 44 outb(_Register, _Index), \ 50 outb(_Register, _Index); \ 51 outb((_Register) + 1, _Value); \
|
| H A D | ativga.c | 141 outb(GENMO, pATIHW->genmo); 155 outb(ATTRX, Index); 156 outb(ATTRX, pATIHW->attr[Index]); 182 outb(ATTRX, 0x20U); /* Turn PAS on */ 187 outb(ATTRX, 0x00U); /* Turn PAS off */
|
| H A D | atidac.c | 243 outb(pATI->CPIO_DAC_MASK, 0xFFU); 245 outb(pATI->CPIO_DAC_READ, 0x00U); 253 outb(pATI->CPIO_DAC_MASK, pATIHW->dac_mask); 255 outb(pATI->CPIO_DAC_READ, pATIHW->dac_read); 301 outb(pATI->CPIO_DAC_MASK, 0xFFU); 303 outb(pATI->CPIO_DAC_WRITE, 0x00U); 307 outb(pATI->CPIO_DAC_DATA, pATIHW->lut[Index]); 311 outb(pATI->CPIO_DAC_MASK, pATIHW->dac_mask); 313 outb(pATI->CPIO_DAC_READ, pATIHW->dac_read); 315 outb(pAT [all...] |
| /xsrc/external/mit/xf86-video-chips/dist/util/ |
| H A D | dRegs.c | 21 outb(0x3D6,0x02); 31 outb(0x3D6,0x03); 38 outb(0x3CD,((IOSS&0xE0)| 0x11)); /* Select Channel 0 */ 39 outb(0x3CB,((MSS&0xF0)| 0x8)); 52 outb(0x3C3,0); /*disable VGA*/ 53 outb(0x3C3,1); /*enable VGA*/ 55 outb(0x3D6,i); 58 outb(0x3D6,0xE2); 61 outb(0x3D6, 0x70); 67 outb( [all...] |
| H A D | modClock.c | 182 outb(0x3D6, 0xCE); /* Select Fix MClk before */ 184 outb(0x3D7, tmp & 0x7F); 185 outb(0x3D6, 0xCC); 186 outb(0x3D7, (M - 2)); 187 outb(0x3D6, 0xCD); 188 outb(0x3D7, (N - 2)); 189 outb(0x3D6, 0xCE); 190 outb(0x3D7, (0x80 | (P * 16 + (PSN == 1)))); 197 outb(0x3D6, 0xC0 + 4 * ProgClock); 198 outb( [all...] |
| H A D | mRegs.c | 102 if ((cport != 'Z') && (cport != 'Y')) outb(port,value&0xFF); 117 outb(port, index &0xFF); 123 outb(port, value & 0xFF);
|
| H A D | AsmMacros.h | 65 #undef outb 71 #define outb(p,v) _outb((v),(p)) macro 81 outb(unsigned long port, char val) function in typeref:typename:void 126 outb(short port, char val) function in typeref:typename:void 177 extern void outb(u_int32_t port, u_int8_t val); 187 outb(short port, char val) function in typeref:typename:void 189 __asm__ __volatile__("outb %0,%1" : :"a" (val), "d" (port)); 237 outb(short port, char val) function in typeref:typename:void 315 /* inb, outb, inw and outw are defined in the library */ 319 void outb(U16_ [all...] |
| /xsrc/external/mit/xf86-video-i740/dist/src/ |
| H A D | i740_macros.h | 39 outb(XRX, BITBLT_CNTL); \ 41 outb(XRX, BITBLT_CNTL); \
|
| H A D | i740_io.c | 47 outb(addr, index); 48 outb(addr+1, val); 52 outb(addr, index); 57 outb(addr, val);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/misc/ |
| H A D | SlowBcopy.c | 39 outb(0x80, 0x00); 44 /* The outb() isn't needed on my machine, but who knows ... -- ost */ 91 outb(0x80, 0x00); 111 outb(0x80, 0x00);
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/misc/ |
| H A D | SlowBcopy.c | 39 outb(0x80, 0x00); 44 /* The outb() isn't needed on my machine, but who knows ... -- ost */ 90 outb(0x80, 0x00); 110 outb(0x80, 0x00);
|
| /xsrc/external/mit/xf86-video-ark/dist/src/ |
| H A D | ark.h | 83 #define rdinx(port, ind) (outb((port), (ind)), inb((port) + 1)) 86 outb((port), (ind)); outb((port) + 1, (val)); \
|
| /xsrc/external/mit/xf86-video-intel-old/dist/src/ |
| H A D | i810_io.c | 67 outb(addr, index); 68 outb(addr + 1, val); 75 outb(addr, index); 82 outb(pI810->ioBase + addr, val);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/ |
| H A D | sun_inout.s | 30 / Purpose: Provide inb(), inw(), inl(), outb(), outw(), outl() functions 40 / extern void outb(int port, unsigned char value); 51 .globl outb 91 / void outb(int port, unsigned char value); 94 outb: label 97 outb (%dx) 99 .type outb,@function 100 .size outb,.-outb
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/solaris/ |
| H A D | sun_inout.s | 30 / Purpose: Provide inb(), inw(), inl(), outb(), outw(), outl() functions 40 / extern void outb(int port, unsigned char value); 51 .globl outb 91 / void outb(int port, unsigned char value); 94 outb: label 97 outb (%dx) 99 .type outb,@function 100 .size outb,.-outb
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/int10/ |
| H A D | xf86int10.c | 179 outb(ioport + 4, cgamode & 0x37); /* Turn off screen */ 182 outb(ioport, i); 183 outb(ioport + 1, tmp); 185 outb(ioport + 5, cgacolour); /* Select colour mode */ 186 outb(ioport + 4, cgamode); /* Turn on screen */ 202 outb(ioport, 0x0A); 203 outb(ioport + 1, X86_CH); 204 outb(ioport, 0x0B); 205 outb(ioport + 1, X86_CL); 230 outb(iopor [all...] |
| /xsrc/external/mit/xf86-video-xgi/dist/src/ |
| H A D | xgi_regs.h | 32 /* Jong 02/11/2009; replace inb/outb */ 53 /* Jong 02/11/2009; replace inb/outb */ 55 #define outb(p, v) moutb(p, v) macro 61 #define outXGIREG(base,val) outb(base,val) 74 outb(base,idx); var=inb((base)+1); \ 79 outb(base,idx); outb((base)+1,val); \ 85 outb(base,idx); \ 92 outb(base,idx); \ 99 outb(bas [all...] |
| /xsrc/external/mit/xf86-video-tdfx/dist/src/ |
| H A D | tdfx_io.c | 50 outb(pTDFX->PIOBase[0]+addr, index); 51 outb(pTDFX->PIOBase[0]+addr+1, val); 55 outb(pTDFX->PIOBase[0]+addr, index);
|
| /xsrc/external/mit/xf86-video-chips/dist/src/ |
| H A D | ct_regs.c | 58 /* Everything using inb/outb, etc needs "compiler.h" */ 115 outb(cPtr->PIOBase + CHIPS_XR_INDEX, index); 116 outb(cPtr->PIOBase + CHIPS_XR_DATA, value); 122 outb(cPtr->PIOBase + CHIPS_XR_INDEX, index); 129 outb(cPtr->PIOBase + CHIPS_FR_INDEX, index); 130 outb(cPtr->PIOBase + CHIPS_FR_DATA, value); 136 outb(cPtr->PIOBase + CHIPS_FR_INDEX, index); 143 outb(cPtr->PIOBase + CHIPS_MR_INDEX, index); 144 outb(cPtr->PIOBase + CHIPS_MR_DATA, value); 150 outb(cPt [all...] |