Lines Matching refs:pPriv
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;
63 pPriv->reg->tpal[15] = 0xFFFE;
76 x68kTextClose(X68kScreenRec *pPriv)
78 pPriv->reg->crtc.r21 = r21; /* recover TVRAM mode */
79 pPriv->reg->tpal[0] = tpal0;
80 pPriv->reg->tpal[15] = tpal15;
81 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) )