Lines Matching refs:fbi
123 static int au1100fb_fb_blank(int blank_mode, struct fb_info *fbi) in au1100fb_fb_blank() argument
125 struct au1100fb_device *fbdev = to_au1100fb_device(fbi); in au1100fb_fb_blank()
127 print_dbg("fb_blank %d %p", blank_mode, fbi); in au1100fb_fb_blank()
266 …(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *fbi) in au1100fb_fb_setcolreg() argument
272 fbdev = to_au1100fb_device(fbi); in au1100fb_fb_setcolreg()
278 if (fbi->var.grayscale) { in au1100fb_fb_setcolreg()
284 if (fbi->fix.visual == FB_VISUAL_TRUECOLOR) { in au1100fb_fb_setcolreg()
289 palette = (u32*)fbi->pseudo_palette; in au1100fb_fb_setcolreg()
291 red >>= (16 - fbi->var.red.length); in au1100fb_fb_setcolreg()
292 green >>= (16 - fbi->var.green.length); in au1100fb_fb_setcolreg()
293 blue >>= (16 - fbi->var.blue.length); in au1100fb_fb_setcolreg()
295 value = (red << fbi->var.red.offset) | in au1100fb_fb_setcolreg()
296 (green << fbi->var.green.offset)| in au1100fb_fb_setcolreg()
297 (blue << fbi->var.blue.offset); in au1100fb_fb_setcolreg()
325 int au1100fb_fb_pan_display(struct fb_var_screeninfo *var, struct fb_info *fbi) in au1100fb_fb_pan_display() argument
330 fbdev = to_au1100fb_device(fbi); in au1100fb_fb_pan_display()
332 print_dbg("fb_pan_display %p %p", var, fbi); in au1100fb_fb_pan_display()
338 if (var->xoffset - fbi->var.xoffset) { in au1100fb_fb_pan_display()
343 print_dbg("fb_pan_display 2 %p %p", var, fbi); in au1100fb_fb_pan_display()
344 dy = var->yoffset - fbi->var.yoffset; in au1100fb_fb_pan_display()
352 dmaaddr += (fbi->fix.line_length * dy); in au1100fb_fb_pan_display()
359 dmaaddr += (fbi->fix.line_length * dy); in au1100fb_fb_pan_display()
363 print_dbg("fb_pan_display 3 %p %p", var, fbi); in au1100fb_fb_pan_display()
372 void au1100fb_fb_rotate(struct fb_info *fbi, int angle) in au1100fb_fb_rotate() argument
374 struct au1100fb_device *fbdev = to_au1100fb_device(fbi); in au1100fb_fb_rotate()
376 print_dbg("fb_rotate %p %d", fbi, angle); in au1100fb_fb_rotate()
393 int au1100fb_fb_mmap(struct fb_info *fbi, struct vm_area_struct *vma) in au1100fb_fb_mmap() argument
399 fbdev = to_au1100fb_device(fbi); in au1100fb_fb_mmap()