Lines Matching refs:fix
229 static int aafb_get_fix(struct fb_fix_screeninfo *fix, int con, in aafb_get_fix() argument
234 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in aafb_get_fix()
235 strcpy(fix->id, "PMAG-AA"); in aafb_get_fix()
236 fix->smem_start = ip->fb_start; in aafb_get_fix()
237 fix->smem_len = ip->fb_size; in aafb_get_fix()
238 fix->type = FB_TYPE_PACKED_PIXELS; in aafb_get_fix()
239 fix->ypanstep = 1; in aafb_get_fix()
240 fix->ywrapstep = 1; in aafb_get_fix()
241 fix->visual = FB_VISUAL_MONO10; in aafb_get_fix()
242 fix->line_length = 1280; in aafb_get_fix()
243 fix->accel = FB_ACCEL_NONE; in aafb_get_fix()
251 struct fb_fix_screeninfo fix; in aafb_set_disp() local
260 aafb_get_fix(&fix, con, &info->info); in aafb_set_disp()
261 disp->screen_base = (u8 *) fix.smem_start; in aafb_set_disp()
262 disp->visual = fix.visual; in aafb_set_disp()
263 disp->type = fix.type; in aafb_set_disp()
264 disp->type_aux = fix.type_aux; in aafb_set_disp()
265 disp->ypanstep = fix.ypanstep; in aafb_set_disp()
266 disp->ywrapstep = fix.ywrapstep; in aafb_set_disp()
267 disp->line_length = fix.line_length; in aafb_set_disp()