Lines Matching refs:fix

179 	pitch = info->fix.line_length;
217 pitch = info->fix.line_length;
251 pitch = info->fix.line_length;
260 if (info->fix.visual == FB_VISUAL_TRUECOLOR ||
261 info->fix.visual == FB_VISUAL_DIRECTCOLOR) {
304 info->fix.visual = FB_VISUAL_PSEUDOCOLOR;
309 info->fix.visual = FB_VISUAL_TRUECOLOR;
362 struct fb_fix_screeninfo *fix;
374 fix = &info->fix;
376 /* fix structure is not so FIX ... */
379 fix->line_length = line_length;
380 pr_info("fix->line_length = %d\n", fix->line_length);
397 ret = hw_sm750_crtc_setMode(crtc, var, fix);
399 ret = hw_sm750_output_setMode(output, var, fix);
546 info->fix.visual == FB_VISUAL_PSEUDOCOLOR) {
554 if (info->fix.visual == FB_VISUAL_TRUECOLOR && regno < 256) {
638 /* not consider of padding stuffs for o_screen,need fix */
653 * need fix
724 struct fb_fix_screeninfo *fix;
748 fix = &info->fix;
850 /* set info->fix */
851 fix->type = FB_TYPE_PACKED_PIXELS;
852 fix->type_aux = 0;
853 fix->xpanstep = crtc->xpanstep;
854 fix->ypanstep = crtc->ypanstep;
855 fix->ywrapstep = crtc->ywrapstep;
856 fix->accel = FB_ACCEL_SMI;
858 strscpy(fix->id, fixId[index], sizeof(fix->id));
860 fix->smem_start = crtc->o_screen + sm750_dev->vidmem_start;
861 pr_info("fix->smem_start = %lx\n", fix->smem_start);
864 * fix->mmio_len should not larger than virtual size
869 fix->smem_len = crtc->vidmem_size;
870 pr_info("fix->smem_len = %x\n", fix->smem_len);
871 info->screen_size = fix->smem_len;
872 fix->line_length = line_length;
873 fix->mmio_start = sm750_dev->vidreg_start;
874 pr_info("fix->mmio_start = %lx\n", fix->mmio_start);
875 fix->mmio_len = sm750_dev->vidreg_size;
876 pr_info("fix->mmio_len = %x\n", fix->mmio_len);