Lines Matching refs:pal
89 static int setup_frame_dma(struct pxafb_info *fbi, int dma, int pal,
220 u32 *pal = fbi->fb.pseudo_palette; in pxafb_setcolreg() local
226 pal[regno] = val; in pxafb_setcolreg()
1065 static int setup_frame_dma(struct pxafb_info *fbi, int dma, int pal, in setup_frame_dma() argument
1081 if (pal < 0 || pal >= PAL_MAX * 2) { in setup_frame_dma()
1085 pal_desc = &fbi->dma_buff->pal_desc[pal]; in setup_frame_dma()
1086 pal_desc_off = offsetof(struct pxafb_dma_buff, pal_desc[pal]); in setup_frame_dma()
1088 pal_desc->fsadr = fbi->dma_buff_phys + pal * PALETTE_SIZE; in setup_frame_dma()
1112 int nbytes, dma, pal, bpp = var->bits_per_pixel; in setup_base_frame() local
1116 pal = (bpp >= 16) ? PAL_NONE : PAL_BASE + (branch ? PAL_MAX : 0); in setup_base_frame()
1126 setup_frame_dma(fbi, dma, pal, offset, nbytes); in setup_base_frame()