Lines Matching refs:fix
185 static void hpfb_encode_fix(struct fb_fix_screeninfo *fix, in hpfb_encode_fix() argument
188 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in hpfb_encode_fix()
189 strcpy(fix->id, "HP300 Topcat"); in hpfb_encode_fix()
194 fix->smem_start=fb_start; in hpfb_encode_fix()
195 fix->smem_len=fb_size; in hpfb_encode_fix()
196 fix->type = FB_TYPE_PACKED_PIXELS; in hpfb_encode_fix()
197 fix->visual = FB_VISUAL_PSEUDOCOLOR; in hpfb_encode_fix()
198 fix->xpanstep=0; in hpfb_encode_fix()
199 fix->ypanstep=0; in hpfb_encode_fix()
200 fix->ywrapstep=0; in hpfb_encode_fix()
201 fix->line_length=fb_line_length; in hpfb_encode_fix()
204 static int hpfb_get_fix(struct fb_fix_screeninfo *fix, int con, in hpfb_get_fix() argument
209 hpfb_encode_fix(fix, &par); in hpfb_get_fix()
242 struct fb_fix_screeninfo fix; in hpfb_set_disp() local
250 hpfb_get_fix(&fix, con, 0); in hpfb_set_disp()
252 display->screen_base = (char *)fix.smem_start; in hpfb_set_disp()
253 display->visual = fix.visual; in hpfb_set_disp()
254 display->type = fix.type; in hpfb_set_disp()
255 display->type_aux = fix.type_aux; in hpfb_set_disp()
256 display->ypanstep = fix.ypanstep; in hpfb_set_disp()
257 display->ywrapstep = fix.ywrapstep; in hpfb_set_disp()
258 display->line_length = fix.line_length; in hpfb_set_disp()
259 display->next_line = fix.line_length; in hpfb_set_disp()