• Home
  • Raw
  • Download

Lines Matching refs:fbi

345 	struct pxafb_info *fbi = &panel_info.pxa;  in configuration_get_cmap()  local
346 return (ushort *)fbi->palette; in configuration_get_cmap()
362 struct pxafb_info *fbi = &panel_info.pxa; in lcd_setcolreg() local
363 unsigned short *palette = (unsigned short *)fbi->palette; in lcd_setcolreg()
366 if (regno < fbi->palette_size) { in lcd_setcolreg()
412 struct pxafb_info *fbi = &vid->pxa; in pxafb_init_mem() local
415 fbi->screen = (u_long)lcdbase; in pxafb_init_mem()
417 fbi->palette_size = NBITS(vid->vl_bpix) == 8 ? 256 : 16; in pxafb_init_mem()
418 palette_mem_size = fbi->palette_size * sizeof(u16); in pxafb_init_mem()
422 fbi->palette = (u_long)lcdbase + fb_size + PAGE_SIZE - palette_mem_size; in pxafb_init_mem()
521 struct pxafb_info *fbi = &vid->pxa; in pxafb_init() local
525 fbi->reg_lccr0 = REG_LCCR0; in pxafb_init()
526 fbi->reg_lccr3 = REG_LCCR3; in pxafb_init()
535 fbi->reg_lccr1 = in pxafb_init()
541 fbi->reg_lccr2 = in pxafb_init()
547 fbi->reg_lccr3 = REG_LCCR3 & ~(LCCR3_HSP | LCCR3_VSP); in pxafb_init()
548 fbi->reg_lccr3 |= (vid->vl_hsp ? LCCR3_HorSnchL : LCCR3_HorSnchH) in pxafb_init()
553 fbi->dmadesc_fblow = (struct pxafb_dma_descriptor *)((unsigned int)fbi->palette - 3*16); in pxafb_init()
554 fbi->dmadesc_fbhigh = (struct pxafb_dma_descriptor *)((unsigned int)fbi->palette - 2*16); in pxafb_init()
555 fbi->dmadesc_palette = (struct pxafb_dma_descriptor *)((unsigned int)fbi->palette - 1*16); in pxafb_init()
557 #define BYTES_PER_PANEL ((fbi->reg_lccr0 & LCCR0_SDS) ? \ in pxafb_init()
562 fbi->dmadesc_fblow->fdadr = (u_long)fbi->dmadesc_fblow; in pxafb_init()
563 fbi->dmadesc_fblow->fsadr = fbi->screen + BYTES_PER_PANEL; in pxafb_init()
564 fbi->dmadesc_fblow->fidr = 0; in pxafb_init()
565 fbi->dmadesc_fblow->ldcmd = BYTES_PER_PANEL; in pxafb_init()
567 fbi->fdadr1 = (u_long)fbi->dmadesc_fblow; /* only used in dual-panel mode */ in pxafb_init()
569 fbi->dmadesc_fbhigh->fsadr = fbi->screen; in pxafb_init()
570 fbi->dmadesc_fbhigh->fidr = 0; in pxafb_init()
571 fbi->dmadesc_fbhigh->ldcmd = BYTES_PER_PANEL; in pxafb_init()
573 fbi->dmadesc_palette->fsadr = fbi->palette; in pxafb_init()
574 fbi->dmadesc_palette->fidr = 0; in pxafb_init()
575 fbi->dmadesc_palette->ldcmd = (fbi->palette_size * 2) | LDCMD_PAL; in pxafb_init()
580 fbi->dmadesc_palette->fdadr = (u_long)fbi->dmadesc_fbhigh; in pxafb_init()
581 fbi->dmadesc_fbhigh->fdadr = (u_long)fbi->dmadesc_palette; in pxafb_init()
583 fbi->fdadr0 = (u_long)fbi->dmadesc_palette; in pxafb_init()
588 fbi->dmadesc_fbhigh->fdadr = (u_long)fbi->dmadesc_fbhigh; in pxafb_init()
589 fbi->fdadr0 = (u_long)fbi->dmadesc_fbhigh; /* no pal just fbhigh */ in pxafb_init()
592 debug("fbi->dmadesc_fblow = 0x%lx\n", (u_long)fbi->dmadesc_fblow); in pxafb_init()
593 debug("fbi->dmadesc_fbhigh = 0x%lx\n", (u_long)fbi->dmadesc_fbhigh); in pxafb_init()
594 debug("fbi->dmadesc_palette = 0x%lx\n", (u_long)fbi->dmadesc_palette); in pxafb_init()
596 debug("fbi->dmadesc_fblow->fdadr = 0x%lx\n", fbi->dmadesc_fblow->fdadr); in pxafb_init()
597 debug("fbi->dmadesc_fbhigh->fdadr = 0x%lx\n", fbi->dmadesc_fbhigh->fdadr); in pxafb_init()
598 debug("fbi->dmadesc_palette->fdadr = 0x%lx\n", fbi->dmadesc_palette->fdadr); in pxafb_init()
600 debug("fbi->dmadesc_fblow->fsadr = 0x%lx\n", fbi->dmadesc_fblow->fsadr); in pxafb_init()
601 debug("fbi->dmadesc_fbhigh->fsadr = 0x%lx\n", fbi->dmadesc_fbhigh->fsadr); in pxafb_init()
602 debug("fbi->dmadesc_palette->fsadr = 0x%lx\n", fbi->dmadesc_palette->fsadr); in pxafb_init()
604 debug("fbi->dmadesc_fblow->ldcmd = 0x%lx\n", fbi->dmadesc_fblow->ldcmd); in pxafb_init()
605 debug("fbi->dmadesc_fbhigh->ldcmd = 0x%lx\n", fbi->dmadesc_fbhigh->ldcmd); in pxafb_init()
606 debug("fbi->dmadesc_palette->ldcmd = 0x%lx\n", fbi->dmadesc_palette->ldcmd); in pxafb_init()