Searched refs:MapBase (Results 1 - 13 of 13) sorted by relevance

/xsrc/external/mit/xf86-video-s3virge/dist/src/
H A Ds3v.h81 #define VGAIN8(addr) MMIO_IN8(ps3v->MapBase,(S3V_MMIO_REGSIZE + (addr)))
82 #define VGAIN16(addr) MMIO_IN16(ps3v->MapBase,(S3V_MMIO_REGSIZE + (addr)))
83 #define VGAIN(addr) MMIO_IN32(ps3v->MapBase,(S3V_MMIO_REGSIZE + (addr)))
84 #define VGAOUT8(addr,val) MMIO_OUT8(ps3v->MapBase,(S3V_MMIO_REGSIZE + (addr)),\
86 #define VGAOUT16(addr,val) MMIO_OUT16(ps3v->MapBase,\
88 #define VGAOUT(addr, val) MMIO_OUT32(ps3v->MapBase,\
91 #define INREG(addr) MMIO_IN32(ps3v->MapBase, addr)
92 #define OUTREG(addr, val) MMIO_OUT32(ps3v->MapBase, addr, val)
209 unsigned char * MapBase; member in struct:tagS3VRec
212 /* Same as MapBase, excep
[all...]
H A Ds3v_driver.c2171 ps3v->MapBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_MMIO, ps3v->PciTag,
2182 void** result = (void**)&ps3v->MapBase;
2192 ps3v->MapBaseDense = ps3v->MapBase;
2195 if( !ps3v->MapBase ) {
2244 vgaHWSetMmioFuncs( hwp, ps3v->MapBase, S3V_MMIO_REGSIZE );
2280 xf86UnMapVidMem(pScrn->scrnIndex, (pointer)ps3v->MapBase,
2283 pci_device_unmap_range(ps3v->PciInfo, ps3v->MapBase,
/xsrc/external/mit/xf86-video-savage/dist/src/
H A Dsavage_driver.h175 #define VGAIN8(addr) MMIO_IN8(psav->MapBase+0x8000, addr)
176 #define VGAIN16(addr) MMIO_IN16(psav->MapBase+0x8000, addr)
177 #define VGAIN(addr) MMIO_IN32(psav->MapBase+0x8000, addr)
179 #define VGAOUT8(addr,val) MMIO_OUT8(psav->MapBase+0x8000, addr, val)
180 #define VGAOUT16(addr,val) MMIO_OUT16(psav->MapBase+0x8000, addr, val)
181 #define VGAOUT(addr,val) MMIO_OUT32(psav->MapBase+0x8000, addr, val)
183 #define INREG8(addr) MMIO_IN8(psav->MapBase, addr)
184 #define INREG16(addr) MMIO_IN16(psav->MapBase, addr)
185 #define INREG32(addr) MMIO_IN32(psav->MapBase, addr)
186 #define OUTREG8(addr,val) MMIO_OUT8(psav->MapBase, add
336 unsigned char* MapBase; member in struct:_Savage
[all...]
H A Dsavage_video.c307 offset, (unsigned long)MMIO_IN32( psav->MapBase, offset ), value );
308 MMIO_OUT32( psav->MapBase, offset, value );
309 ErrorF( " now %08lx\n", (unsigned long)MMIO_IN32( psav->MapBase, offset ) );
H A Dsavage_driver.c3064 psav->MapBase = psav->MmioRegion.memory;
3065 psav->BciMem = psav->MapBase + 0x10000;
3079 TRACE(("SavageUnmapMem(%p,%p)\n", psav->MapBase, psav->FBBase));
3094 xf86UnMapVidMem(pScrn->scrnIndex, (pointer)psav->MapBase,
3099 psav->MapBase = 0;
4187 vgaHWSetMmioFuncs(hwp, psav->MapBase, 0x8000);
/xsrc/external/mit/xf86-video-siliconmotion/dist/src/
H A Dsmi_driver.c1260 pSmi->MapBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_MMIO, pSmi->PciTag,
1264 void **result = (void**)&pSmi->MapBase;
1272 pSmi->MapBase = NULL;
1276 if (pSmi->MapBase == NULL) {
1284 pSmi->DPRBase = pSmi->MapBase + 0x000000;
1285 pSmi->VPRBase = pSmi->MapBase + 0x000800;
1286 pSmi->CPRBase = pSmi->MapBase + 0x001000;
1287 pSmi->FPRBase = pSmi->MapBase + 0x005800;
1288 pSmi->IOBase = pSmi->MapBase + 0x0C0000;
1289 pSmi->DataPortBase = pSmi->MapBase
[all...]
H A Dsmi.h229 unsigned char * MapBase; /* Base of mapped memory */ member in struct:__anon910553c20208
H A Dsmi_exa.c36 BATCH_LOAD_REG((pSmi->DPRBase - pSmi->MapBase) + \
/xsrc/external/mit/xf86-video-openchrome/dist/src/
H A Dvia_ums.c120 (void **)&pVia->MapBase);
130 pVia->MapBase = xf86MapPciMem(pScrn->scrnIndex,
133 if (!pVia->MapBase) {
265 pVia->MpegMapBase = pVia->MapBase + 0xc00;
268 vgaHWSetMmioFuncs(hwp, pVia->MapBase, 0x8000);
300 if (pVia->MapBase) {
301 pci_device_unmap_range(pVia->PciInfo, (pointer) pVia->MapBase,
315 if (pVia->MapBase) {
316 xf86UnMapVidMem(pScrn->scrnIndex, (pointer) pVia->MapBase,
323 pVia->MapBase
[all...]
H A Dvia_regs.h326 #define VIASETREG(addr, data) *(volatile unsigned int *)(pVia->MapBase + (addr)) = (data)
327 #define VIAGETREG(addr) *(volatile unsigned int *)(pVia->MapBase + (addr))
H A Dvia_xv.c434 vmmtr viaVidEng = (vmmtr) (pVia->MapBase + 0x200);
450 vmmtr viaVidEng = (vmmtr) (pVia->MapBase + 0x200);
468 vmmtr viaVidEng = (vmmtr) (pVia->MapBase + 0x200);
474 /* flush restored video engines' setting to MapBase */
551 vmmtr viaVidEng = (vmmtr) (pVia->MapBase + 0x200);
800 vmmtr viaVidEng = (vmmtr) (pVia->MapBase + 0x200);
H A Dvia_xv_overlay.c57 #define IN_VIDEO_DISPLAY (*((unsigned long volatile *)(pVia->MapBase + V_FLAGS)) & VBI_STATUS)
94 (CARD32 volatile *)(pVia->MapBase + V_COMPOSE_MODE);
114 pdwState = (CARD32 volatile *)(pVia->MapBase + (HQV_CONTROL + proReg));
127 (CARD32 volatile *)(pVia->MapBase + HQV_CONTROL);
153 pdwState = (CARD32 volatile *)(pVia->MapBase + (HQV_CONTROL + proReg));
2177 (CARD32 volatile *)(pVia->MapBase + HQV_CONTROL +
H A Dvia_driver.h217 unsigned char* MapBase; member in struct:_VIA

Completed in 33 milliseconds