Lines Matching refs:fix
32 static int q40fb_get_fix(struct fb_fix_screeninfo *fix, int con,
68 static int q40fb_get_fix(struct fb_fix_screeninfo *fix, int con, in q40fb_get_fix() argument
71 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in q40fb_get_fix()
73 strcpy(fix->id,"Q40"); in q40fb_get_fix()
74 fix->smem_start=q40_screen_addr; in q40fb_get_fix()
75 fix->smem_len=1024*1024; in q40fb_get_fix()
76 fix->type=FB_TYPE_PACKED_PIXELS; in q40fb_get_fix()
77 fix->type_aux=0; in q40fb_get_fix()
78 fix->visual=FB_VISUAL_TRUECOLOR; /* good approximation so far ..*/; in q40fb_get_fix()
79 fix->xpanstep=0; in q40fb_get_fix()
80 fix->ypanstep=0; in q40fb_get_fix()
81 fix->ywrapstep=0; in q40fb_get_fix()
82 fix->line_length=1024*2; in q40fb_get_fix()
286 struct fb_fix_screeninfo fix; in q40fb_set_disp() local
289 q40fb_get_fix(&fix, con, info); in q40fb_set_disp()
298 display->screen_base = (char *)fix.smem_start; in q40fb_set_disp()
299 display->visual = fix.visual; in q40fb_set_disp()
300 display->type = fix.type; in q40fb_set_disp()
301 display->type_aux = fix.type_aux; in q40fb_set_disp()
302 display->ypanstep = fix.ypanstep; in q40fb_set_disp()
303 display->ywrapstep = fix.ywrapstep; in q40fb_set_disp()
306 display->line_length = fix.line_length; in q40fb_set_disp()