Lines Matching refs:fix
120 struct fb_fix_screeninfo fix; member
175 #define READ_BYTE(fb,reg) __raw_readb((fb)->fix.mmio_start + (reg))
176 #define READ_WORD(fb,reg) __raw_readl((fb)->fix.mmio_start + (reg))
177 #define WRITE_BYTE(value,fb,reg) __raw_writeb((value),(fb)->fix.mmio_start + (reg))
178 #define WRITE_WORD(value,fb,reg) __raw_writel((value),(fb)->fix.mmio_start + (reg))
513 memset_io(fb->fix.smem_start, 0xff, in rattlerSetupPlanes()
514 fb->var.yres*fb->fix.line_length); in rattlerSetupPlanes()
1002 stifb_get_fix(struct fb_fix_screeninfo *fix, int con, in stifb_get_fix() argument
1005 memcpy (fix, &((struct stifb_info *)info)->fix, sizeof (*fix)); in stifb_get_fix()
1215 struct fb_fix_screeninfo *fix; in stifb_init_fb() local
1231 fix = &fb->fix; in stifb_init_fb()
1265 fix->mmio_start = REGION_BASE(fb,2); in stifb_init_fb()
1266 fix->mmio_len = 0x400000; in stifb_init_fb()
1341 fix->smem_start = fb->sti->regions_phys[1] | 0xffffffff00000000; in stifb_init_fb()
1342 fix->smem_len = fb->sti->regions[1].region_desc.length * 4096; in stifb_init_fb()
1344 fix->line_length = (fb->sti->glob_cfg->total_x * bpp) / 8; in stifb_init_fb()
1345 if (!fix->line_length) in stifb_init_fb()
1346 fix->line_length = 2048; /* default */ in stifb_init_fb()
1347 fix->accel = FB_ACCEL_NONE; in stifb_init_fb()
1351 fix->type = FB_TYPE_PLANES; /* well, sort of */ in stifb_init_fb()
1352 fix->visual = FB_VISUAL_MONO10; in stifb_init_fb()
1357 fix->type = FB_TYPE_PACKED_PIXELS; in stifb_init_fb()
1358 fix->visual = FB_VISUAL_PSEUDOCOLOR; in stifb_init_fb()
1365 fix->type = FB_TYPE_PACKED_PIXELS; in stifb_init_fb()
1366 fix->visual = FB_VISUAL_TRUECOLOR; in stifb_init_fb()
1386 disp->visual = fix->visual; in stifb_init_fb()
1387 disp->type = fix->type; in stifb_init_fb()
1388 disp->type_aux = fix->type_aux; in stifb_init_fb()
1389 disp->line_length = fix->line_length; in stifb_init_fb()
1410 if (!request_mem_region(fix->smem_start, fix->smem_len, "stifb")) { in stifb_init_fb()
1412 fix->smem_start, fix->smem_start+fix->smem_len); in stifb_init_fb()
1416 if (!request_mem_region(fix->mmio_start, fix->mmio_len, "stifb mmio")) { in stifb_init_fb()
1418 fix->mmio_start, fix->mmio_start+fix->mmio_len); in stifb_init_fb()
1433 fix->mmio_start); in stifb_init_fb()
1439 release_mem_region(fix->mmio_start, fix->mmio_len); in stifb_init_fb()
1441 release_mem_region(fix->smem_start, fix->smem_len); in stifb_init_fb()