Lines Matching refs:fix
44 int fbgen_get_fix(struct fb_fix_screeninfo *fix, int con, struct fb_info *info) in fbgen_get_fix() argument
58 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in fbgen_get_fix()
59 return fbhw->encode_fix(fix, &par, info2); in fbgen_get_fix()
305 struct fb_fix_screeninfo fix; in fbgen_set_disp() local
318 memset(&fix, 0, sizeof(struct fb_fix_screeninfo)); in fbgen_set_disp()
319 fbhw->encode_fix(&fix, &par, info); in fbgen_set_disp()
321 display->visual = fix.visual; in fbgen_set_disp()
322 display->type = fix.type; in fbgen_set_disp()
323 display->type_aux = fix.type_aux; in fbgen_set_disp()
324 display->ypanstep = fix.ypanstep; in fbgen_set_disp()
325 display->ywrapstep = fix.ywrapstep; in fbgen_set_disp()
326 display->line_length = fix.line_length; in fbgen_set_disp()
327 if (info->fbhw->blank || fix.visual == FB_VISUAL_PSEUDOCOLOR || in fbgen_set_disp()
328 fix.visual == FB_VISUAL_DIRECTCOLOR) in fbgen_set_disp()
334 display->inverse = (fix.visual == FB_VISUAL_MONO01 ? !inverse : inverse); in fbgen_set_disp()
336 display->inverse = fix.visual == FB_VISUAL_MONO01; in fbgen_set_disp()