Lines Matching refs:pPriv
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;
62 pPriv->reg->tpal[15] = 0xFFFE;
75 x68kTextClose(X68kScreenRec *pPriv)
77 pPriv->reg->crtc.r21 = r21; /* recover TVRAM mode */
78 pPriv->reg->tpal[0] = tpal0;
79 pPriv->reg->tpal[15] = tpal15;
80 x68kFbCommonClose(pPriv);
96 X68kScreenRec *pPriv;
99 pPriv = x68kGetScreenRecByType(X68K_FB_TEXT);
105 x68kSetScreenPrivate(pScreen, pPriv);
107 if ( !fbScreenInit(pScreen, pPriv->fb,
108 pPriv->scr_width, pPriv->scr_height,
109 pPriv->dpi, pPriv->dpi, pPriv->fb_width, 1) )