Searched refs:color_map (Results 1 – 10 of 10) sorted by relevance
/linux-2.4.37.9/drivers/video/ |
D | tcxfb.c | 126 sbus_writel(fb->color_map CM(i,0) << 24, &bt->color_map); in tcx_loadcmap() 127 sbus_writel(fb->color_map CM(i,1) << 24, &bt->color_map); in tcx_loadcmap() 128 sbus_writel(fb->color_map CM(i,2) << 24, &bt->color_map); in tcx_loadcmap() 141 sbus_writel(0xffffffff, &bt->color_map); in tcx_restore_palette() 142 sbus_writel(0xffffffff, &bt->color_map); in tcx_restore_palette() 143 sbus_writel(0xffffffff, &bt->color_map); in tcx_restore_palette()
|
D | sbusfb.c | 629 if (__put_user(fb->color_map CM(i,0), rp) || in sbusfb_ioctl() 630 __put_user(fb->color_map CM(i,1), gp) || in sbusfb_ioctl() 631 __put_user(fb->color_map CM(i,2), bp)) in sbusfb_ioctl() 643 if (!fb->loadcmap || !fb->color_map) in sbusfb_ioctl() 668 if (__get_user(fb->color_map CM(i,0), rp)) in sbusfb_ioctl() 670 if (__get_user(fb->color_map CM(i,1), gp)) in sbusfb_ioctl() 672 if (__get_user(fb->color_map CM(i,2), bp)) in sbusfb_ioctl() 823 if (!fb->color_map || regno > 255) in sbusfb_getcolreg() 825 *red = (fb->color_map CM(regno, 0)<<8) | fb->color_map CM(regno, 0); in sbusfb_getcolreg() 826 *green = (fb->color_map CM(regno, 1)<<8) | fb->color_map CM(regno, 1); in sbusfb_getcolreg() [all …]
|
D | sun3fb.c | 425 if (!fb->color_map || regno > 255) in sun3fb_getcolreg() 427 *red = (fb->color_map CM(regno, 0)<<8) | fb->color_map CM(regno, 0); in sun3fb_getcolreg() 428 *green = (fb->color_map CM(regno, 1)<<8) | fb->color_map CM(regno, 1); in sun3fb_getcolreg() 429 *blue = (fb->color_map CM(regno, 2)<<8) | fb->color_map CM(regno, 2); in sun3fb_getcolreg() 446 if (!fb->color_map || regno > 255) in sun3fb_setcolreg() 451 fb->color_map CM(regno, 0) = red; in sun3fb_setcolreg() 452 fb->color_map CM(regno, 1) = green; in sun3fb_setcolreg() 453 fb->color_map CM(regno, 2) = blue; in sun3fb_setcolreg() 589 if (depth > 1 && !fb->color_map) { in sun3fb_init_fb() 590 if((fb->color_map = kmalloc(256 * 3, GFP_ATOMIC))==NULL) in sun3fb_init_fb()
|
D | p9100fb.c | 80 WRITECTL(ramdac_palette_data, (fb->color_map CM(i,0) << 16)); in p9100_loadcmap() 82 WRITECTL(ramdac_palette_data, (fb->color_map CM(i,1) << 16)); in p9100_loadcmap() 84 WRITECTL(ramdac_palette_data, (fb->color_map CM(i,2) << 16)); in p9100_loadcmap()
|
D | cgsixfb.c | 500 sbus_writel(fb->color_map CM(i,0) << 24, in cg6_loadcmap() 501 &bt->color_map); in cg6_loadcmap() 502 sbus_writel(fb->color_map CM(i,1) << 24, in cg6_loadcmap() 503 &bt->color_map); in cg6_loadcmap() 504 sbus_writel(fb->color_map CM(i,2) << 24, in cg6_loadcmap() 505 &bt->color_map); in cg6_loadcmap() 517 sbus_writel(0xffffffff, &bt->color_map); in cg6_restore_palette() 518 sbus_writel(0xffffffff, &bt->color_map); in cg6_restore_palette() 519 sbus_writel(0xffffffff, &bt->color_map); in cg6_restore_palette()
|
D | cgthreefb.c | 100 i = (((u32 *)fb->color_map) + D4M3(index)); in cg3_loadcmap() 107 sbus_writel(val, &bt->color_map); in cg3_loadcmap()
|
D | cgfourteenfb.c | 194 val = ((fb->color_map CM(index,2) << 16) | in cg14_loadcmap() 195 (fb->color_map CM(index,1) << 8) | in cg14_loadcmap() 196 (fb->color_map CM(index,0))); in cg14_loadcmap()
|
D | creatorfb.c | 633 val = ((fb->color_map CM(i,0))) | in ffb_loadcmap() 634 ((fb->color_map CM(i,1)) << 8) | in ffb_loadcmap() 635 ((fb->color_map CM(i,2)) << 16); in ffb_loadcmap() 641 ((u32 *)p->dispsw_data)[i] = ((fb->color_map CM(i,0))) | in ffb_loadcmap() 642 ((fb->color_map CM(i,1)) << 8) | in ffb_loadcmap() 643 ((fb->color_map CM(i,2)) << 16); in ffb_loadcmap()
|
D | leofb.c | 427 val = fb->color_map CM(i,0) | in leo_loadcmap() 428 (fb->color_map CM(i,1) << 8) | in leo_loadcmap() 429 (fb->color_map CM(i,2) << 16); in leo_loadcmap()
|
/linux-2.4.37.9/include/video/ |
D | sbusfb.h | 10 volatile unsigned int color_map; /* color map */ member 106 unsigned char *color_map; member
|