Lines Matching refs:fix
113 static void valkyrie_par_to_fix(struct fb_par_valkyrie *par, struct fb_fix_screeninfo *fix);
114 static void valkyrie_init_fix(struct fb_fix_screeninfo *fix, struct fb_info_valkyrie *p);
140 valkyrie_par_to_fix(par, &info->fix); in valkyriefb_set_par()
379 valkyrie_init_fix(&p->info.fix, p); in valkyriefb_init()
510 static void valkyrie_init_fix(struct fb_fix_screeninfo *fix, struct fb_info_valkyrie *p) in valkyrie_init_fix() argument
512 memset(fix, 0, sizeof(*fix)); in valkyrie_init_fix()
513 strcpy(fix->id, "valkyrie"); in valkyrie_init_fix()
514 fix->mmio_start = p->valkyrie_regs_phys; in valkyrie_init_fix()
515 fix->mmio_len = sizeof(struct valkyrie_regs); in valkyrie_init_fix()
516 fix->type = FB_TYPE_PACKED_PIXELS; in valkyrie_init_fix()
517 fix->smem_start = p->frame_buffer_phys + 0x1000; in valkyrie_init_fix()
518 fix->smem_len = p->total_vram; in valkyrie_init_fix()
520 fix->type_aux = 0; in valkyrie_init_fix()
521 fix->ywrapstep = 0; in valkyrie_init_fix()
522 fix->ypanstep = 0; in valkyrie_init_fix()
523 fix->xpanstep = 0; in valkyrie_init_fix()
529 struct fb_fix_screeninfo *fix) in valkyrie_par_to_fix() argument
531 fix->smem_len = valkyrie_vram_reqd(par->vmode, par->cmode); in valkyrie_par_to_fix()
532 fix->visual = (par->cmode == CMODE_8) ? in valkyrie_par_to_fix()
534 fix->line_length = par->vxres << par->cmode; in valkyrie_par_to_fix()