Lines Matching refs:inf
305 if (fbi->inf->cmap_inverse) { in sa1100fb_setcolreg()
378 if (var->xres > fbi->inf->xres) in sa1100fb_check_var()
379 var->xres = fbi->inf->xres; in sa1100fb_check_var()
380 if (var->yres > fbi->inf->yres) in sa1100fb_check_var()
381 var->yres = fbi->inf->yres; in sa1100fb_check_var()
428 if (fbi->inf->set_visual) in sa1100fb_set_visual()
429 fbi->inf->set_visual(visual); in sa1100fb_set_visual()
447 else if (!fbi->inf->cmap_static) in sa1100fb_set_par()
488 if (!kspc && (fbi->fb.var.bits_per_pixel == 16 || fbi->inf->cmap_static))
652 new_regs.lccr0 = fbi->inf->lccr0 | in sa1100fb_activate_var()
667 if (fbi->inf->lccr0 & LCCR0_Dual) in sa1100fb_activate_var()
677 new_regs.lccr3 = LCCR3_PixClkDiv(pcd) | fbi->inf->lccr3 | in sa1100fb_activate_var()
725 if (fbi->inf->backlight_power) in __sa1100fb_backlight_power()
726 fbi->inf->backlight_power(on); in __sa1100fb_backlight_power()
733 if (fbi->inf->lcd_power) in __sa1100fb_lcd_power()
734 fbi->inf->lcd_power(on); in __sa1100fb_lcd_power()
1066 struct sa1100fb_mach_info *inf = dev_get_platdata(dev); in sa1100fb_init_fbinfo() local
1106 if (inf->lccr3 & (LCCR3_VrtSnchL|LCCR3_HorSnchL|0xff) || in sa1100fb_init_fbinfo()
1107 inf->pixclock == 0) in sa1100fb_init_fbinfo()
1111 fbi->fb.var.xres = inf->xres; in sa1100fb_init_fbinfo()
1112 fbi->fb.var.xres_virtual = inf->xres; in sa1100fb_init_fbinfo()
1113 fbi->fb.var.yres = inf->yres; in sa1100fb_init_fbinfo()
1114 fbi->fb.var.yres_virtual = inf->yres; in sa1100fb_init_fbinfo()
1115 fbi->fb.var.bits_per_pixel = inf->bpp; in sa1100fb_init_fbinfo()
1116 fbi->fb.var.pixclock = inf->pixclock; in sa1100fb_init_fbinfo()
1117 fbi->fb.var.hsync_len = inf->hsync_len; in sa1100fb_init_fbinfo()
1118 fbi->fb.var.left_margin = inf->left_margin; in sa1100fb_init_fbinfo()
1119 fbi->fb.var.right_margin = inf->right_margin; in sa1100fb_init_fbinfo()
1120 fbi->fb.var.vsync_len = inf->vsync_len; in sa1100fb_init_fbinfo()
1121 fbi->fb.var.upper_margin = inf->upper_margin; in sa1100fb_init_fbinfo()
1122 fbi->fb.var.lower_margin = inf->lower_margin; in sa1100fb_init_fbinfo()
1123 fbi->fb.var.sync = inf->sync; in sa1100fb_init_fbinfo()
1124 fbi->fb.var.grayscale = inf->cmap_greyscale; in sa1100fb_init_fbinfo()
1127 fbi->fb.fix.smem_len = inf->xres * inf->yres * in sa1100fb_init_fbinfo()
1128 inf->bpp / 8; in sa1100fb_init_fbinfo()
1129 fbi->inf = inf; in sa1100fb_init_fbinfo()
1133 if (inf->rgb[i]) in sa1100fb_init_fbinfo()
1134 fbi->rgb[i] = inf->rgb[i]; in sa1100fb_init_fbinfo()