| /xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/ |
| x68kText.c | 38 * argument: (X68kScreenRec *)pPriv : X68k private screen record 47 x68kTextOpen(X68kScreenRec *pPriv) 49 if( !x68kFbCommonOpen(pPriv, "/dev/grf0") ) 53 r21 = pPriv->reg->crtc.r21; 54 pPriv->reg->crtc.r21 = 0x01f0; 57 pPriv->reg->crtc.r10 = pPriv->reg->crtc.r11 = 0; 59 tpal0 = pPriv->reg->tpal[0]; 60 tpal15 = pPriv->reg->tpal[15]; 62 pPriv->reg->tpal[0] = 0 [all...] |
| x68kFb.c | 29 static void x68kRegSetup(X68kScreenRec *pPriv); 41 * argument: (X68kScreenRec *)pPriv : X68k private screen record 47 x68kFbCommonOpen(X68kScreenRec *pPriv, const char *device) 52 if ( ( pPriv->fd = open(device, O_RDWR, 0)) < 0) { 57 if ( ioctl( pPriv->fd, GRFIOCGINFO, &gi ) == -1 ) { 61 pPriv->mapsize = gi.gd_regsize + gi.gd_fbsize; 64 pPriv->reg = (FbReg *)mmap(0, pPriv->mapsize, PROT_READ | PROT_WRITE, 65 MAP_FILE | MAP_SHARED, pPriv->fd, 0 ); 66 if ( pPriv->reg == (FbReg *)-1) [all...] |
| x68kMouse.c | 128 X68kMousePrivPtr pPriv = pMouse->devicePrivate; 135 x68kMouseEnqueueEvent(device, &pPriv->evbuf[i]); 157 X68kMousePrivPtr pPriv; 168 pPriv = malloc(sizeof(*pPriv)); 169 if (pPriv == NULL) { 173 pPriv->fd = open("/dev/mouse", O_RDONLY | O_NONBLOCK); 174 if (pPriv->fd == -1) { 178 pPriv->bmask = 0; 179 pPriv->oformat = 0 [all...] |
| x68kGraph.c | 135 * argument: (X68kScreenRec *)pPriv : X68k private screen record 140 x68kGraphOpen(X68kScreenRec *pPriv) 142 if( !x68kFbCommonOpen(pPriv, "/dev/grf1") ) 147 if (pPriv->depth == 15 && pPriv->class == TrueColor) { 152 pPriv->reg->gpal[i++] = x; 153 pPriv->reg->gpal[i++] = x; 157 if (pPriv->depth == 4 && pPriv->class == StaticGray ) { 161 pPriv->reg->gpal[i] = (i*2 << 11) | (i*2 << 6) | (i*2 << 1) [all...] |
| x68kKbd.c | 120 X68kKbdPrivPtr pPriv = pKeyboard->devicePrivate; 127 x68kKbdEnqueueEvent(device, &pPriv->evbuf[i]); 147 X68kKbdPrivPtr pPriv; 154 pPriv = malloc(sizeof(*pPriv)); 155 if (pPriv == NULL) { 160 pPriv->fd = open("/dev/kbd", O_RDONLY | O_NONBLOCK); 161 if (pPriv->fd == -1) { 165 pPriv->type = x68kGetKbdType(); 166 pPriv->leds = 0 [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/netbsd/x68k/ |
| x68kText.c | 37 * argument: (X68kScreenRec *)pPriv : X68k private screen record 46 x68kTextOpen(X68kScreenRec *pPriv) 48 if( !x68kFbCommonOpen(pPriv, "/dev/grf0") ) 52 r21 = pPriv->reg->crtc.r21; 53 pPriv->reg->crtc.r21 = 0x01f0; 56 pPriv->reg->crtc.r10 = pPriv->reg->crtc.r11 = 0; 58 tpal0 = pPriv->reg->tpal[0]; 59 tpal15 = pPriv->reg->tpal[15]; 61 pPriv->reg->tpal[0] = 0 [all...] |
| x68kFb.c | 29 static void x68kRegSetup(X68kScreenRec *pPriv); 41 * argument: (X68kScreenRec *)pPriv : X68k private screen record 47 x68kFbCommonOpen(X68kScreenRec *pPriv, const char *device) 52 if ( ( pPriv->fd = open(device, O_RDWR, 0)) < 0) { 57 if ( ioctl( pPriv->fd, GRFIOCGINFO, &gi ) == -1 ) { 61 pPriv->mapsize = gi.gd_regsize + gi.gd_fbsize; 64 pPriv->reg = (FbReg *)mmap(0, pPriv->mapsize, PROT_READ | PROT_WRITE, 65 MAP_FILE | MAP_SHARED, pPriv->fd, 0 ); 66 if ( pPriv->reg == (FbReg *)-1) [all...] |
| x68kGraph.c | 135 * argument: (X68kScreenRec *)pPriv : X68k private screen record 140 x68kGraphOpen(X68kScreenRec *pPriv) 142 if( !x68kFbCommonOpen(pPriv, "/dev/grf1") ) 147 if (pPriv->depth == 15 && pPriv->class == TrueColor) { 152 pPriv->reg->gpal[i++] = x; 153 pPriv->reg->gpal[i++] = x; 157 if (pPriv->depth == 4 && pPriv->class == StaticGray ) { 161 pPriv->reg->gpal[i] = (i*2 << 11) | (i*2 << 6) | (i*2 << 1) [all...] |
| /xsrc/external/mit/xorg-server/dist/miext/sync/ |
| misyncshm.c | 51 SyncShmFencePrivatePtr pPriv = SYNC_FENCE_PRIV(pFence); 53 if (pPriv->fence) 54 xshmfence_trigger(pPriv->fence); 61 SyncShmFencePrivatePtr pPriv = SYNC_FENCE_PRIV(pFence); 63 if (pPriv->fence) 64 xshmfence_reset(pPriv->fence); 71 SyncShmFencePrivatePtr pPriv = SYNC_FENCE_PRIV(pFence); 73 if (pPriv->fence) 74 return xshmfence_query(pPriv->fence); 103 SyncShmFencePrivatePtr pPriv = SYNC_FENCE_PRIV(pFence) [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/dri2/ |
| dri2.c | 151 DRI2DrawablePtr pPriv; 156 pPriv = malloc(sizeof *pPriv); 157 if (pPriv == NULL) 160 pPriv->dri2_screen = ds; 161 pPriv->drawable = pDraw; 162 pPriv->width = pDraw->width; 163 pPriv->height = pDraw->height; 164 pPriv->buffers = NULL; 165 pPriv->bufferCount = 0 [all...] |
| /xsrc/external/mit/xf86-video-ati/dist/src/ |
| radeon_mm_i2c.c | 26 static void RADEON_TDA9885_Init(RADEONPortPrivPtr pPriv); 54 status = RADEON_I2C_WaitForAck(pScrn, pPriv); \ 67 static uint8_t RADEON_I2C_WaitForAck (ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) 129 RADEONPortPrivPtr pPriv = (RADEONPortPrivPtr)(d->pI2CBus->DriverPrivate.ptr); 152 i2c_cntl_1 = (pPriv->radeon_i2c_timing << 24) | RADEON_I2C_EN | RADEON_I2C_SEL | 156 i2c_cntl_0 = (pPriv->radeon_N << 24) | (pPriv->radeon_M << 16) | 177 i2c_cntl_1 = (pPriv->radeon_i2c_timing << 24) | RADEON_I2C_EN | RADEON_I2C_SEL | 181 i2c_cntl_0 = (pPriv->radeon_N << 24) | (pPriv->radeon_M << 16) | [all...] |
| radeon_textured_video.c | 47 R600DisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv); 51 EVERGREENDisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv); 245 RADEONPortPrivPtr pPriv = (RADEONPortPrivPtr)data; 283 pPriv->bicubic_enabled = (pPriv->bicubic_state != BICUBIC_OFF); 285 pPriv->bicubic_enabled = FALSE; 286 pPriv->bicubic_state = BICUBIC_OFF; 288 if (pPriv->bicubic_enabled && (pPriv->bicubic_state == BICUBIC_AUTO)) { 294 pPriv->bicubic_enabled = FALSE [all...] |
| radeon_video.c | 68 | ( (pPriv->theatre !=NULL)?(FORMAT_CCIR656<<23):(FORMAT_BROOKTREE<<23)) \ 70 | (pPriv->capture_vbi_data ? RADEON_CAP0_CONFIG_VBI_EN : 0) \ 76 | ( (pPriv->theatre !=NULL)?(FORMAT_CCIR656<<23):(FORMAT_BROOKTREE<<23)) \ 78 | (pPriv->capture_vbi_data ? RADEON_CAP0_CONFIG_VBI_EN : 0) \ 94 static void RADEON_board_setmisc(RADEONPortPrivPtr pPriv); 95 static void RADEON_RT_SetEncoding(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv); 96 static void RADEON_MSP_SetEncoding(RADEONPortPrivPtr pPriv); 97 static void RADEON_TDA9885_SetEncoding(RADEONPortPrivPtr pPriv); 98 static void RADEON_FI1236_SetEncoding(RADEONPortPrivPtr pPriv); 1259 RADEONPortPrivPtr pPriv = info->adaptor->pPortPrivates[0].ptr [all...] |
| /xsrc/external/mit/xf86-video-nouveau/dist/src/ |
| nv10_xv_ovl.c | 71 NVPortPrivPtr pPriv = GET_OVERLAY_PRIVATE(pNv); 73 int buffer = pPriv->currentBuffer; 75 xf86CrtcPtr crtc = xf86_config->crtc[pPriv->overlayCRTC]; 84 if(pPriv->autopaintColorKey && (pPriv->grabbedByV4L || 85 !REGION_EQUAL(pScrn->pScreen, &pPriv->clip, clipBoxes))) { 87 if (!pPriv->grabbedByV4L) 88 REGION_COPY(pScrn->pScreen, &pPriv->clip, clipBoxes); 90 xf86XVFillKeyHelper(pScrn->pScreen, pPriv->colorKey, clipBoxes); 114 if(pPriv->iturbt_709 [all...] |
| nv04_xv_ovl.c | 48 NVPortPrivPtr pPriv = GET_OVERLAY_PRIVATE(pNv); 51 xf86CrtcPtr crtc = xf86_config->crtc[pPriv->overlayCRTC]; 61 if(pPriv->autopaintColorKey && (pPriv->grabbedByV4L || 62 !REGION_EQUAL(pScrn->pScreen, &pPriv->clip, clipBoxes))) { 64 if (!pPriv->grabbedByV4L) 65 REGION_COPY(pScrn->pScreen, &pPriv->clip, clipBoxes); 67 xf86XVFillKeyHelper(pScrn->pScreen, pPriv->colorKey, clipBoxes); 89 nvWriteVIDEO(pNv, NV_PVIDEO_RED_CSC_OFFSET, (0x69 - (pPriv->brightness * 62 / 512))); 90 nvWriteVIDEO(pNv, NV_PVIDEO_GREEN_CSC_OFFSET, (0x3e + (pPriv->brightness * 62 / 512))) [all...] |
| /xsrc/external/mit/xf86-video-xgi/dist/src/ |
| xgi_video.c | 116 static struct v4l2_input XGIToV4lInput(XGIPortPrivPtr pPriv, int encoding); 117 static struct v4l2_standard XGIToV4lStandard(XGIPortPrivPtr pPriv, int encoding); 118 static int XGIOpenV4l(XGIPortPrivPtr pPriv); 119 static void XGICloseV4l(XGIPortPrivPtr pPriv); 361 set_maxencoding(XGIPtr pXGI, XGIPortPrivPtr pPriv) 371 XGIPortPrivPtr pPriv = GET_PORT_PRIVATE(pScrn); 373 XGIUpdateXvGamma(pXGI, pPriv); 377 XGISetPortDefaults(ScrnInfoPtr pScrn, XGIPortPrivPtr pPriv) 379 pPriv->colorKey = 0x000101fe; 380 pPriv->brightness = 0 [all...] |
| /xsrc/external/mit/xf86-video-geode/dist/src/ |
| z4l.c | 188 z4l_ovly_unmap(Z4lPortPrivRec * pPriv) 192 nbfrs = pPriv->nbfrs; 194 if (pPriv->bfrs[i].start != NULL) { 195 munmap(pPriv->bfrs[i].start, pPriv->bfrs[i].length); 196 pPriv->bfrs[i].start = NULL; 199 pPriv->nbfrs = -1; 200 pPriv->bufsz = -1; 201 pPriv->last = -1; 205 z4l_ovly_map(Z4lPortPrivRec * pPriv, int dir [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/shadowfb/ |
| shadowfb.c | 56 ShadowScreenPtr pPriv; 64 if (!(pPriv = (ShadowScreenPtr) malloc(sizeof(ShadowScreenRec)))) 67 dixSetPrivate(&pScreen->devPrivates, &ShadowScreenKeyRec, pPriv); 69 pPriv->pScrn = pScrn; 70 pPriv->preRefresh = preRefreshArea; 71 pPriv->postRefresh = postRefreshArea; 73 pPriv->CloseScreen = pScreen->CloseScreen; 74 pPriv->CreateWindow = pScreen->CreateWindow; 100 ShadowScreenPtr pPriv = closure; 102 if (!pPriv->pScrn->vtSema [all...] |
| /xsrc/external/mit/xorg-server/dist/fb/ |
| fbgc.c | 115 FbGCPrivPtr pPriv = fbGetGCPrivate(pGC); 154 pPriv->fg = pGC->fgPixel & mask; 155 pPriv->bg = pGC->bgPixel & mask; 175 pPriv->pm = mask; 177 pPriv->pm = pGC->planemask & mask; 181 pPriv->fg |= pPriv->fg << s; 182 pPriv->bg |= pPriv->bg << s; 183 pPriv->pm |= pPriv->pm << s [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/sun/ |
| sunMouse.c | 97 sunPtrPrivPtr pPriv = pMouse->devicePrivate; 104 sunMouseEnqueueEvent(device, &pPriv->evbuf[i]); 155 sunPtrPrivPtr pPriv; 163 pPriv = malloc(sizeof(*pPriv)); 164 if (pPriv == NULL) { 168 pPriv->fd = open("/dev/mouse", O_RDWR | O_NONBLOCK, 0); 169 if (pPriv->fd < 0) { 172 free(pPriv); 175 pPriv->bmask = 0 [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/dri2/ |
| dri2.c | 155 dri2WakeAll(ClientPtr client, DRI2DrawablePtr pPriv, enum DRI2WakeType t) 159 if (!pPriv->blocked[t]) 162 count = ClientSignalAll(client, dri2WakeClient, Wake(pPriv, t)); 163 pPriv->blocked[t] -= count; 168 dri2Sleep(ClientPtr client, DRI2DrawablePtr pPriv, enum DRI2WakeType t) 170 if (ClientSleep(client, dri2WakeClient, Wake(pPriv, t))) { 171 pPriv->blocked[t]++; 235 DRI2DrawablePtr pPriv; 240 pPriv = malloc(sizeof *pPriv); [all...] |
| /xsrc/external/mit/xf86-video-sis/dist/src/ |
| sis_video.c | 170 static CARD8 vblank_active_CRT1(SISPtr pSiS, SISPortPrivPtr pPriv) 175 static CARD8 vblank_active_CRT2(SISPtr pSiS, SISPortPrivPtr pPriv) 179 if(pPriv->bridgeIsSlave) return(vblank_active_CRT1(pSiS, pPriv)); 202 static CARD16 get_scanline_CRT2(SISPtr pSiS, SISPortPrivPtr pPriv) 269 SiSUpdateXvGamma(SISPtr pSiS, SISPortPrivPtr pPriv) 277 if((pPriv->dualHeadMode) && (!pSiS->SecondHead)) return; 290 SISPortPrivPtr pPriv = GET_PORT_PRIVATE(pScrn); 292 SiSUpdateXvGamma(pSiS, pPriv); 368 SISSetPortDefaults(ScrnInfoPtr pScrn, SISPortPrivPtr pPriv) [all...] |
| /xsrc/external/mit/xf86-video-ati-kms/dist/src/ |
| radeon_textured_video.c | 46 R600DisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv); 49 EVERGREENDisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv); 154 RADEONFreeVideoMemory(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) 156 if (pPriv->video_memory) { 157 radeon_bo_unref(pPriv->video_memory); 158 pPriv->video_memory = NULL; 160 if (pPriv->textured) { 161 pPriv->src_bo[0] = NULL; 162 radeon_bo_unref(pPriv->src_bo[1]); 163 pPriv->src_bo[1] = NULL [all...] |
| /xsrc/external/mit/xf86-video-ast/dist/src/ |
| ast_accel.c | 60 void ASTDisplayVideo(ScrnInfoPtr pScrn, ASTPortPrivPtr pPriv, RegionPtr clipBoxes, int id) 80 if(0==pPriv->drw_w || 0==pPriv->drw_h) 82 xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "drwx=%x, drwy=%x\n", pPriv->drw_w, pPriv->drw_h); 87 fScaleX = (float)pPriv->src_w /(float)pPriv->drw_w; 88 fScaleY = (float)pPriv->src_h /(float)pPriv->drw_h; 90 if (pPriv->src_w == pPriv->drw_w [all...] |
| /xsrc/external/mit/xf86-video-glint/dist/src/ |
| pm3_video.c | 264 GLINTPortPrivPtr pPriv = pGlint->adaptor->pPortPrivates[0].ptr; 269 pPriv->ramdacOn = FALSE; 271 RAMDAC_WRITE((pPriv->colorKey&0xff0000)>>16, PM3RD_VideoOverlayKeyR); 272 RAMDAC_WRITE((pPriv->colorKey&0x00ff00)>>8, PM3RD_VideoOverlayKeyG); 273 RAMDAC_WRITE(pPriv->colorKey&0x0000ff, PM3RD_VideoOverlayKeyB); 284 GLINTPortPrivPtr pPriv; 300 pPriv = (GLINTPortPrivPtr)(&adapt->pPortPrivates[1]); 301 adapt->pPortPrivates[0].ptr = (pointer)(pPriv); 318 pPriv->colorKey = pGlint->videoKey; 319 pPriv->videoStatus = 0 [all...] |