Lines Matching refs:fb
136 int (*check)(struct clcd_fb *fb, struct fb_var_screeninfo *var);
142 void (*decode)(struct clcd_fb *fb, struct clcd_regs *regs);
175 struct fb_info fb; member
189 static inline void clcdfb_decode(struct clcd_fb *fb, struct clcd_regs *regs) in clcdfb_decode() argument
191 struct fb_var_screeninfo *var = &fb->fb.var; in clcdfb_decode()
204 if (fb->panel->cntl & CNTL_LCDDUAL) in clcdfb_decode()
212 val = fb->panel->tim2; in clcdfb_decode()
217 if (fb->panel->cntl & CNTL_LCDTFT) /* TFT */ in clcdfb_decode()
221 else if (fb->panel->cntl & CNTL_LCDMONO8) /* STN monochrome, 8bit */ in clcdfb_decode()
228 regs->tim3 = fb->panel->tim3; in clcdfb_decode()
230 val = fb->panel->cntl; in clcdfb_decode()
234 if (fb->panel->caps && fb->board->caps && in clcdfb_decode()
265 if (amba_part(fb->dev) == 0x110 || in clcdfb_decode()
282 static inline int clcdfb_check(struct clcd_fb *fb, struct fb_var_screeninfo *var) in clcdfb_check() argument
306 if (var->grayscale != fb->fb.var.grayscale || in clcdfb_check()
310 #define CHECK(e) (var->e != fb->fb.var.e) in clcdfb_check()
311 if (fb->panel->fixedtimings && in clcdfb_check()