Home
last modified time | relevance | path

Searched refs:PALETTE_SIZE (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/video/fbdev/
H A Dpxafb.h54 #define PALETTE_SIZE (256 * 4) macro
61 unsigned char palette[PAL_MAX * PALETTE_SIZE];
H A Docfb.c46 #define PALETTE_SIZE 256 macro
66 u32 pseudo_palette[PALETTE_SIZE];
346 ret = fb_alloc_cmap(&fbdev->info.cmap, PALETTE_SIZE, 0); in ocfb_probe()
H A Dda8xx-fb.c120 #define PALETTE_SIZE 256 macro
1443 par->v_palette_base = dmam_alloc_coherent(par->dev, PALETTE_SIZE, in fb_probe()
1471 ret = fb_alloc_cmap(&da8xx_fb_info->cmap, PALETTE_SIZE, 0); in fb_probe()
H A Dpxafb.c1086 pal_desc->fsadr = fbi->dma_buff_phys + pal * PALETTE_SIZE; in setup_frame_dma()
/openbmc/u-boot/drivers/video/
H A Dda8xx-fb.c135 #define PALETTE_SIZE 256 macro
975 par->v_palette_base = malloc_cache_aligned(PALETTE_SIZE); in video_hw_init()
980 memset(par->v_palette_base, 0, PALETTE_SIZE); in video_hw_init()