• Home
  • Raw
  • Download

Lines Matching refs:fix

121 	struct fb_fix_screeninfo *fix = &info->fix;  in mxcfb_set_fix()  local
124 fix->line_length = var->xres_virtual * var->bits_per_pixel / 8; in mxcfb_set_fix()
126 fix->type = FB_TYPE_PACKED_PIXELS; in mxcfb_set_fix()
127 fix->accel = FB_ACCEL_NONE; in mxcfb_set_fix()
128 fix->visual = FB_VISUAL_TRUECOLOR; in mxcfb_set_fix()
129 fix->xpanstep = 1; in mxcfb_set_fix()
130 fix->ypanstep = 1; in mxcfb_set_fix()
186 fbi->fix.line_length, in setup_disp_channel2()
187 fbi->fix.smem_start, in setup_disp_channel2()
188 fbi->fix.smem_start + in setup_disp_channel2()
189 (fbi->fix.line_length * fbi->var.yres)); in setup_disp_channel2()
194 fbi->fix.line_length, in setup_disp_channel2()
195 fbi->fix.smem_start + in setup_disp_channel2()
196 (fbi->fix.line_length * fbi->var.yres), in setup_disp_channel2()
197 fbi->fix.smem_start, in setup_disp_channel2()
222 mem_len = fbi->var.yres_virtual * fbi->fix.line_length; in mxcfb_set_par()
223 if (!fbi->fix.smem_start || (mem_len > fbi->fix.smem_len)) { in mxcfb_set_par()
224 if (fbi->fix.smem_start) in mxcfb_set_par()
399 if (fbi->fix.smem_len < fbi->var.yres_virtual * fbi->fix.line_length) { in mxcfb_map_video_memory()
400 fbi->fix.smem_len = fbi->var.yres_virtual * in mxcfb_map_video_memory()
401 fbi->fix.line_length; in mxcfb_map_video_memory()
403 fbi->fix.smem_len = roundup(fbi->fix.smem_len, ARCH_DMA_MINALIGN); in mxcfb_map_video_memory()
405 fbi->fix.smem_len); in mxcfb_map_video_memory()
406 fbi->fix.smem_start = (unsigned long)fbi->screen_base; in mxcfb_map_video_memory()
409 fbi->fix.smem_len = 0; in mxcfb_map_video_memory()
410 fbi->fix.smem_start = 0; in mxcfb_map_video_memory()
415 (uint32_t) fbi->fix.smem_start, fbi->fix.smem_len); in mxcfb_map_video_memory()
417 fbi->screen_size = fbi->fix.smem_len; in mxcfb_map_video_memory()
419 gd->fb_base = fbi->fix.smem_start; in mxcfb_map_video_memory()
422 memset((char *)fbi->screen_base, 0, fbi->fix.smem_len); in mxcfb_map_video_memory()
430 fbi->fix.smem_start = 0; in mxcfb_unmap_video_memory()
431 fbi->fix.smem_len = 0; in mxcfb_unmap_video_memory()
522 strcpy(fbi->fix.id, "DISP3 BG"); in mxcfb_probe()
533 fbi->fix.line_length = fbi->var.xres * (fbi->var.bits_per_pixel / 8); in mxcfb_probe()
534 fbi->fix.smem_len = fbi->var.yres_virtual * fbi->fix.line_length; in mxcfb_probe()