Lines Matching refs:fix
108 static void valkyrie_par_to_fix(struct fb_par_valkyrie *par, struct fb_fix_screeninfo *fix);
109 static void valkyrie_init_fix(struct fb_fix_screeninfo *fix, struct fb_info_valkyrie *p);
133 valkyrie_par_to_fix(par, &info->fix); in valkyriefb_set_par()
372 valkyrie_init_fix(&p->info.fix, p); in valkyriefb_init()
503 static void valkyrie_init_fix(struct fb_fix_screeninfo *fix, struct fb_info_valkyrie *p) in valkyrie_init_fix() argument
505 memset(fix, 0, sizeof(*fix)); in valkyrie_init_fix()
506 strcpy(fix->id, "valkyrie"); in valkyrie_init_fix()
507 fix->mmio_start = p->valkyrie_regs_phys; in valkyrie_init_fix()
508 fix->mmio_len = sizeof(struct valkyrie_regs); in valkyrie_init_fix()
509 fix->type = FB_TYPE_PACKED_PIXELS; in valkyrie_init_fix()
510 fix->smem_start = p->frame_buffer_phys + 0x1000; in valkyrie_init_fix()
511 fix->smem_len = p->total_vram; in valkyrie_init_fix()
513 fix->type_aux = 0; in valkyrie_init_fix()
514 fix->ywrapstep = 0; in valkyrie_init_fix()
515 fix->ypanstep = 0; in valkyrie_init_fix()
516 fix->xpanstep = 0; in valkyrie_init_fix()
522 struct fb_fix_screeninfo *fix) in valkyrie_par_to_fix() argument
524 fix->smem_len = valkyrie_vram_reqd(par->vmode, par->cmode); in valkyrie_par_to_fix()
525 fix->visual = (par->cmode == CMODE_8) ? in valkyrie_par_to_fix()
527 fix->line_length = par->vxres << par->cmode; in valkyrie_par_to_fix()