Searched refs:fbi (Results 1 – 2 of 2) sorted by relevance
30 static int mxcfb_map_video_memory(struct fb_info *fbi);31 static int mxcfb_unmap_video_memory(struct fb_info *fbi);92 static uint32_t bpp_to_pixfmt(struct fb_info *fbi) in bpp_to_pixfmt() argument96 debug("bpp_to_pixfmt: %d\n", fbi->var.bits_per_pixel); in bpp_to_pixfmt()98 if (fbi->var.nonstd) in bpp_to_pixfmt()99 return fbi->var.nonstd; in bpp_to_pixfmt()101 switch (fbi->var.bits_per_pixel) { in bpp_to_pixfmt()136 static int setup_disp_channel1(struct fb_info *fbi) in setup_disp_channel1() argument139 struct mxcfb_info *mxc_fbi = (struct mxcfb_info *)fbi->par; in setup_disp_channel1()149 if (fbi->var.vmode & FB_VMODE_INTERLACED) { in setup_disp_channel1()[all …]
346 struct pxafb_info *fbi = &panel_info.pxa; in configuration_get_cmap() local347 return (ushort *)fbi->palette; in configuration_get_cmap()363 struct pxafb_info *fbi = &panel_info.pxa; in lcd_setcolreg() local364 unsigned short *palette = (unsigned short *)fbi->palette; in lcd_setcolreg()367 if (regno < fbi->palette_size) { in lcd_setcolreg()413 struct pxafb_info *fbi = &vid->pxa; in pxafb_init_mem() local416 fbi->screen = (u_long)lcdbase; in pxafb_init_mem()418 fbi->palette_size = NBITS(vid->vl_bpix) == 8 ? 256 : 16; in pxafb_init_mem()419 palette_mem_size = fbi->palette_size * sizeof(u16); in pxafb_init_mem()423 fbi->palette = (u_long)lcdbase + fb_size + PAGE_SIZE - palette_mem_size; in pxafb_init_mem()[all …]