Lines Matching refs:inf
304 if (fbi->inf->cmap_inverse) { in sa1100fb_setcolreg()
377 if (var->xres > fbi->inf->xres) in sa1100fb_check_var()
378 var->xres = fbi->inf->xres; in sa1100fb_check_var()
379 if (var->yres > fbi->inf->yres) in sa1100fb_check_var()
380 var->yres = fbi->inf->yres; in sa1100fb_check_var()
427 if (fbi->inf->set_visual) in sa1100fb_set_visual()
428 fbi->inf->set_visual(visual); in sa1100fb_set_visual()
446 else if (!fbi->inf->cmap_static) in sa1100fb_set_par()
487 if (!kspc && (fbi->fb.var.bits_per_pixel == 16 || fbi->inf->cmap_static))
651 new_regs.lccr0 = fbi->inf->lccr0 | in sa1100fb_activate_var()
666 if (fbi->inf->lccr0 & LCCR0_Dual) in sa1100fb_activate_var()
676 new_regs.lccr3 = LCCR3_PixClkDiv(pcd) | fbi->inf->lccr3 | in sa1100fb_activate_var()
724 if (fbi->inf->backlight_power) in __sa1100fb_backlight_power()
725 fbi->inf->backlight_power(on); in __sa1100fb_backlight_power()
732 if (fbi->inf->lcd_power) in __sa1100fb_lcd_power()
733 fbi->inf->lcd_power(on); in __sa1100fb_lcd_power()
1065 struct sa1100fb_mach_info *inf = dev_get_platdata(dev); in sa1100fb_init_fbinfo() local
1104 if (inf->lccr3 & (LCCR3_VrtSnchL|LCCR3_HorSnchL|0xff) || in sa1100fb_init_fbinfo()
1105 inf->pixclock == 0) in sa1100fb_init_fbinfo()
1109 fbi->fb.var.xres = inf->xres; in sa1100fb_init_fbinfo()
1110 fbi->fb.var.xres_virtual = inf->xres; in sa1100fb_init_fbinfo()
1111 fbi->fb.var.yres = inf->yres; in sa1100fb_init_fbinfo()
1112 fbi->fb.var.yres_virtual = inf->yres; in sa1100fb_init_fbinfo()
1113 fbi->fb.var.bits_per_pixel = inf->bpp; in sa1100fb_init_fbinfo()
1114 fbi->fb.var.pixclock = inf->pixclock; in sa1100fb_init_fbinfo()
1115 fbi->fb.var.hsync_len = inf->hsync_len; in sa1100fb_init_fbinfo()
1116 fbi->fb.var.left_margin = inf->left_margin; in sa1100fb_init_fbinfo()
1117 fbi->fb.var.right_margin = inf->right_margin; in sa1100fb_init_fbinfo()
1118 fbi->fb.var.vsync_len = inf->vsync_len; in sa1100fb_init_fbinfo()
1119 fbi->fb.var.upper_margin = inf->upper_margin; in sa1100fb_init_fbinfo()
1120 fbi->fb.var.lower_margin = inf->lower_margin; in sa1100fb_init_fbinfo()
1121 fbi->fb.var.sync = inf->sync; in sa1100fb_init_fbinfo()
1122 fbi->fb.var.grayscale = inf->cmap_greyscale; in sa1100fb_init_fbinfo()
1125 fbi->fb.fix.smem_len = inf->xres * inf->yres * in sa1100fb_init_fbinfo()
1126 inf->bpp / 8; in sa1100fb_init_fbinfo()
1127 fbi->inf = inf; in sa1100fb_init_fbinfo()
1131 if (inf->rgb[i]) in sa1100fb_init_fbinfo()
1132 fbi->rgb[i] = inf->rgb[i]; in sa1100fb_init_fbinfo()