Lines Matching refs:ctfb
378 static GraphicDevice ctfb; in video_hw_init() local
382 if (!video_get_video_mode(&ctfb.winSizeX, &ctfb.winSizeY, &depth, &freq, in video_hw_init()
392 if (platform_diu_init(ctfb.winSizeX, ctfb.winSizeY, options + 8) < 0) in video_hw_init()
396 sprintf(ctfb.modeIdent, "%ix%ix%i %ikHz %iHz", in video_hw_init()
397 ctfb.winSizeX, ctfb.winSizeY, depth, 64, freq); in video_hw_init()
399 ctfb.frameAdrs = (unsigned int)info.screen_base; in video_hw_init()
400 ctfb.plnSizeX = ctfb.winSizeX; in video_hw_init()
401 ctfb.plnSizeY = ctfb.winSizeY; in video_hw_init()
403 ctfb.gdfBytesPP = 4; in video_hw_init()
404 ctfb.gdfIndex = GDF_32BIT_X888RGB; in video_hw_init()
406 ctfb.isaBase = 0; in video_hw_init()
407 ctfb.pciBase = 0; in video_hw_init()
408 ctfb.memSize = info.screen_size; in video_hw_init()
411 ctfb.dprBase = 0; in video_hw_init()
412 ctfb.vprBase = 0; in video_hw_init()
413 ctfb.cprBase = 0; in video_hw_init()
415 return &ctfb; in video_hw_init()