Lines Matching refs:fb
90 int (*check)(struct clcd_fb *fb, struct fb_var_screeninfo *var);
96 void (*decode)(struct clcd_fb *fb, struct clcd_regs *regs);
129 struct fb_info fb; member
143 static inline void clcdfb_decode(struct clcd_fb *fb, struct clcd_regs *regs) in clcdfb_decode() argument
145 struct fb_var_screeninfo *var = &fb->fb.var; in clcdfb_decode()
158 if (fb->panel->cntl & CNTL_LCDDUAL) in clcdfb_decode()
166 val = fb->panel->tim2; in clcdfb_decode()
171 if (fb->panel->cntl & CNTL_LCDTFT) /* TFT */ in clcdfb_decode()
175 else if (fb->panel->cntl & CNTL_LCDMONO8) /* STN monochrome, 8bit */ in clcdfb_decode()
182 regs->tim3 = fb->panel->tim3; in clcdfb_decode()
184 val = fb->panel->cntl; in clcdfb_decode()
188 if (fb->panel->caps && fb->board->caps && var->bits_per_pixel >= 16) { in clcdfb_decode()
202 if (fb->panel->bgr_connection) in clcdfb_decode()
225 if (amba_part(fb->dev) == 0x110 || in clcdfb_decode()
242 static inline int clcdfb_check(struct clcd_fb *fb, struct fb_var_screeninfo *var) in clcdfb_check() argument
266 if (var->grayscale != fb->fb.var.grayscale || in clcdfb_check()
270 #define CHECK(e) (var->e != fb->fb.var.e) in clcdfb_check()
271 if (fb->panel->fixedtimings && in clcdfb_check()