Lines Matching refs:fix
97 static int e1356fb_get_fix(struct fb_fix_screeninfo* fix,
149 static int e1356fb_encode_fix(struct fb_fix_screeninfo* fix,
368 if (IS_PANEL(info->fix.disp_type)) { in e1356fb_get_mode()
371 } else if (info->fix.disp_type == DISP_TYPE_CRT) { in e1356fb_get_mode()
374 } else if (info->fix.disp_type == DISP_TYPE_NTSC) { in e1356fb_get_mode()
501 if (IS_TV(info->fix.disp_type) && in e1356_calc_pixclock()
502 (info->fix.tv_filt & TV_FILT_FLICKER)) in e1356_calc_pixclock()
505 test.clksrc = info->fix.busclk; in e1356_calc_pixclock()
512 test.clksrc = info->fix.mclk; in e1356_calc_pixclock()
519 test.clksrc = info->fix.clki; in e1356_calc_pixclock()
526 test.clksrc = info->fix.clki2; in e1356_calc_pixclock()
931 reg_dispmode_t* dispmode = (IS_PANEL(info->fix.disp_type)) ? in do_pan_var()
939 reg_dispcfg_t* dispcfg = (IS_PANEL(info->fix.disp_type)) ? in do_pan_var()
963 reg_inkcurs_t* inkcurs = (IS_PANEL(info->fix.disp_type)) ? in do_flashcursor()
1265 reg_inkcurs_t* inkcurs = (IS_PANEL(info->fix.disp_type)) ? in e1356_cfbX_cursor()
1353 int disp_type = info->fix.disp_type; in e1356fb_set_par()
1427 main_display_mode = (info->fix.tv_filt & TV_FILT_FLICKER) ? in e1356fb_set_par()
1453 if (info->fix.mmunalign && info->mmaped) in e1356fb_set_par()
1480 int disp_type = info->fix.disp_type; in e1356fb_verify_timing()
1521 if (info->fix.tv_filt & TV_FILT_FLICKER) in e1356fb_verify_timing()
1590 int disp_type = info->fix.disp_type; in e1356fb_verify_par()
1725 e1356fb_encode_fix(struct fb_fix_screeninfo* fix, in e1356fb_encode_fix() argument
1729 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in e1356fb_encode_fix()
1731 strcpy(fix->id, "Epson SED1356"); in e1356fb_encode_fix()
1732 fix->smem_start = info->fix.membase_phys; in e1356fb_encode_fix()
1733 fix->smem_len = info->fb_size; in e1356fb_encode_fix()
1734 fix->mmio_start = info->fix.regbase_phys; in e1356fb_encode_fix()
1735 fix->mmio_len = info->regbase_size; in e1356fb_encode_fix()
1736 fix->accel = FB_ACCEL_EPSON_SED1356; in e1356fb_encode_fix()
1737 fix->type = FB_TYPE_PACKED_PIXELS; in e1356fb_encode_fix()
1738 fix->type_aux = 0; in e1356fb_encode_fix()
1739 fix->line_length = par->width_virt * par->Bpp; in e1356fb_encode_fix()
1740 fix->visual = in e1356fb_encode_fix()
1743 fix->xpanstep = info->fix.nopan ? 0 : 1; in e1356fb_encode_fix()
1744 fix->ypanstep = info->fix.nopan ? 0 : 1; in e1356fb_encode_fix()
1745 fix->ywrapstep = 0; in e1356fb_encode_fix()
1773 e1356fb_get_fix(struct fb_fix_screeninfo *fix, in e1356fb_get_fix() argument
1786 e1356fb_encode_fix(fix, &par, info); in e1356fb_get_fix()
1812 struct e1356fb_fix* fix = &info->fix; in e1356fb_set_dispsw() local
1820 disp->dispsw = fix->noaccel ? &fbcon_cfb8 : &fbcon_e1356_8; in e1356fb_set_dispsw()
1821 if (fix->nohwcursor) in e1356fb_set_dispsw()
1827 disp->dispsw = fix->noaccel ? &fbcon_cfb16 : &fbcon_e1356_16; in e1356fb_set_dispsw()
1829 if (fix->nohwcursor) in e1356fb_set_dispsw()
1880 if (info->fix.tv_filt & TV_FILT_FLICKER) in e1356fb_set_var()
1900 struct fb_fix_screeninfo fix; in e1356fb_set_var() local
1902 e1356fb_encode_fix(&fix, &par, info); in e1356fb_set_var()
1904 display->visual = fix.visual; in e1356fb_set_var()
1905 display->type = fix.type; in e1356fb_set_var()
1906 display->type_aux = fix.type_aux; in e1356fb_set_var()
1907 display->ypanstep = fix.ypanstep; in e1356fb_set_var()
1908 display->ywrapstep = fix.ywrapstep; in e1356fb_set_var()
1909 display->line_length = fix.line_length; in e1356fb_set_var()
1910 display->next_line = fix.line_length; in e1356fb_set_var()
1916 if (info->fix.nopan) in e1356fb_set_var()
1937 if (!info->fix.nohwcursor) in e1356fb_set_var()
1962 if (info->fix.nopan) in e1356fb_pan_display()
2103 start = info->fix.membase_phys & PAGE_MASK; in e1356fb_mmap()
2156 if (info->fix.mmunalign) in e1356fb_mmap()
2173 struct e1356fb_fix * epfix = &fb_info.fix; in e1356fb_init()
2189 fb_info.fix = boot_fix; in e1356fb_init()
2653 if (!fb_info.fix.nomtrr) { in e1356fb_exit()
2654 mtrr_del(fb_info.mtrr_idx, fb_info.fix.membase_phys, in e1356fb_exit()
2781 boot_fix = systems[SYS_PB1000].fix; in e1356fb_setup()
2784 boot_fix = systems[SYS_PB1500].fix; in e1356fb_setup()
2787 boot_fix = systems[SYS_SDU1356].fix; in e1356fb_setup()
2790 boot_fix = systems[SYS_CLIO1050].fix; in e1356fb_setup()
2840 if (!info->fix.nohwcursor) in e1356fb_switch_con()
2862 reg_dispmode_t* dispmode = (IS_PANEL(info->fix.disp_type)) ? in e1356fb_blank()
2899 if ((con==currcon) && (!i->fix.nopan)) in e1356fb_updatevar()
3040 reg_inkcurs_t* inkcurs = (IS_PANEL(info->fix.disp_type)) ? in e1356fb_hwcursor_init()