Lines Matching refs:fix

103 static int platinum_get_fix(struct fb_fix_screeninfo *fix, int con,
141 static int platinum_encode_fix(struct fb_fix_screeninfo *fix,
170 static int platinum_get_fix(struct fb_fix_screeninfo *fix, int con, in platinum_get_fix() argument
181 platinum_encode_fix(fix, &par, info); in platinum_get_fix()
262 struct fb_fix_screeninfo fix; in platinum_set_var() local
264 platinum_encode_fix(&fix, &par, info); in platinum_set_var()
266 display->visual = fix.visual; in platinum_set_var()
267 display->type = fix.type; in platinum_set_var()
268 display->type_aux = fix.type_aux; in platinum_set_var()
269 display->ypanstep = fix.ypanstep; in platinum_set_var()
270 display->ywrapstep = fix.ywrapstep; in platinum_set_var()
271 display->line_length = fix.line_length; in platinum_set_var()
816 static int platinum_encode_fix(struct fb_fix_screeninfo *fix, in platinum_encode_fix() argument
824 memset(fix, 0, sizeof(*fix)); in platinum_encode_fix()
825 strcpy(fix->id, "platinum"); in platinum_encode_fix()
826 fix->smem_start = (info->frame_buffer_phys) + init->fb_offset + 0x20; in platinum_encode_fix()
827 fix->smem_len = (u32) info->total_vram; in platinum_encode_fix()
828 fix->mmio_start = (info->platinum_regs_phys); in platinum_encode_fix()
829 fix->mmio_len = 0x1000; in platinum_encode_fix()
830 fix->type = FB_TYPE_PACKED_PIXELS; in platinum_encode_fix()
831 fix->type_aux = 0; in platinum_encode_fix()
832 fix->ywrapstep = 0; in platinum_encode_fix()
833 fix->xpanstep = 0; in platinum_encode_fix()
834 fix->ypanstep = 0; in platinum_encode_fix()
835 fix->visual = (par->cmode == CMODE_8) ? in platinum_encode_fix()
837 fix->line_length = vmode_attrs[par->vmode-1].hres * (1<<par->cmode) + 0x20; in platinum_encode_fix()
838 fixup_pitch(fix->line_length, info, par->cmode); in platinum_encode_fix()