Lines Matching refs:fix
112 static int dn_fb_get_fix(struct fb_fix_screeninfo *fix, int con,
156 static int dn_fb_get_fix(struct fb_fix_screeninfo *fix, int con, in dn_fb_get_fix() argument
159 strcpy(fix->id,"Apollo Color4"); in dn_fb_get_fix()
160 fix->smem_start=(FRAME_BUFFER_START+IO_BASE); in dn_fb_get_fix()
161 fix->smem_len=FRAME_BUFFER_LEN; in dn_fb_get_fix()
162 fix->type=FB_TYPE_PACKED_PIXELS; in dn_fb_get_fix()
163 fix->type_aux=0; in dn_fb_get_fix()
164 fix->visual=FB_VISUAL_MONO10; in dn_fb_get_fix()
165 fix->xpanstep=0; in dn_fb_get_fix()
166 fix->ypanstep=0; in dn_fb_get_fix()
167 fix->ywrapstep=0; in dn_fb_get_fix()
168 fix->line_length=128; in dn_fb_get_fix()
263 struct fb_fix_screeninfo fix; in dn_fb_set_disp() local
267 dn_fb_get_fix(&fix,con, info); in dn_fb_set_disp()
277 display->screen_base = (u_char *)fix.smem_start; in dn_fb_set_disp()
278 printk("screenbase: %lx\n",fix.smem_start); in dn_fb_set_disp()
279 display->visual = fix.visual; in dn_fb_set_disp()
280 display->type = fix.type; in dn_fb_set_disp()
281 display->type_aux = fix.type_aux; in dn_fb_set_disp()
282 display->ypanstep = fix.ypanstep; in dn_fb_set_disp()
283 display->ywrapstep = fix.ywrapstep; in dn_fb_set_disp()
286 display->line_length = fix.line_length; in dn_fb_set_disp()