Searched refs:cmap (Results 1 - 25 of 129) sorted by path

123456

/linux-master/arch/m68k/include/asm/
H A Dfbio.h105 struct fbcmap cmap; /* color map info */ member in struct:fbcursor
321 struct fbcmap32 cmap; /* color map info */ member in struct:fbcursor32
/linux-master/arch/sparc/include/asm/
H A Dfbio.h65 struct fbcmap32 cmap; /* color map info */ member in struct:fbcursor32
/linux-master/arch/sparc/include/uapi/asm/
H A Dfbio.h102 struct fbcmap cmap; /* color map info */ member in struct:fbcursor
/linux-master/drivers/video/fbdev/matrox/
H A Dmatroxfb_crtc2.h32 u_int32_t cmap[16]; member in struct:matroxfb_dh_fb_info
/linux-master/include/trace/events/
H A Dirq_matrix.h68 struct cpumap *cmap),
70 TP_ARGS(bit, cpu, matrix, cmap),
88 __entry->online = cmap->online;
89 __entry->available = cmap->available;
90 __entry->allocated = cmap->allocated;
91 __entry->managed = cmap->managed;
144 struct irq_matrix *matrix, struct cpumap *cmap),
146 TP_ARGS(bit, cpu, matrix, cmap)
152 struct irq_matrix *matrix, struct cpumap *cmap),
154 TP_ARGS(bit, cpu, matrix, cmap)
[all...]
/linux-master/include/video/
H A Dgbe.h36 volatile uint32_t vt_hcmap; /* cmap write (horiz) */
37 volatile uint32_t vt_vcmap; /* cmap write (vert) */
56 volatile uint32_t cmap[6144]; /* color map */ member in struct:sgi_gbe
66 volatile uint32_t crs_cmap[3]; /* crs cmap */
/linux-master/drivers/gpu/drm/
H A Ddrm_fb_helper.c508 * A helper to alloc fb_info and the member cmap. Called by the driver
527 ret = fb_alloc_cmap(&info->cmap, 256, 0);
546 * A helper to release fb_info and the member cmap. Drivers do not
559 if (info->cmap.len)
560 fb_dealloc_cmap(&info->cmap);
801 static int setcmap_pseudo_palette(struct fb_cmap *cmap, struct fb_info *info) argument
806 if (cmap->start + cmap->len > 16)
809 for (i = 0; i < cmap->len; ++i) {
810 u16 red = cmap
833 setcmap_legacy(struct fb_cmap *cmap, struct fb_info *info) argument
873 setcmap_new_gamma_lut(struct drm_crtc *crtc, struct fb_cmap *cmap) argument
916 setcmap_atomic(struct fb_cmap *cmap, struct fb_info *info) argument
1009 drm_fb_helper_setcmap(struct fb_cmap *cmap, struct fb_info *info) argument
[all...]
/linux-master/drivers/media/pci/ivtv/
H A Divtvfb.c864 if (regno >= info->cmap.len)
1064 if (fb_alloc_cmap(&oi->ivtvfb_info.cmap, 256, 1)) {
1065 IVTVFB_ERR("abort, unable to alloc cmap\n");
1142 /* Release cmap */
1143 if (oi->ivtvfb_info.cmap.len)
1144 fb_dealloc_cmap(&oi->ivtvfb_info.cmap);
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-osd.c200 if (regno >= info->cmap.len)
324 if (fb_alloc_cmap(&dev->fb_info.cmap, 256, 1)) {
325 pr_err("abort, unable to alloc cmap\n");
341 /* Release cmap */
342 if (dev->fb_info.cmap.len)
343 fb_dealloc_cmap(&dev->fb_info.cmap);
/linux-master/drivers/staging/sm750fb/
H A Dsm750.c136 fg = ((info->cmap.red[fbcursor->image.fg_color] & 0xf800)) |
137 ((info->cmap.green[fbcursor->image.fg_color] & 0xfc00) >> 5) |
138 ((info->cmap.blue[fbcursor->image.fg_color] & 0xf800) >> 11);
140 bg = ((info->cmap.red[fbcursor->image.bg_color] & 0xf800)) |
141 ((info->cmap.green[fbcursor->image.bg_color] & 0xfc00) >> 5) |
142 ((info->cmap.blue[fbcursor->image.bg_color] & 0xf800) >> 11);
885 pr_debug("#1 show info->cmap :\nstart=%d,len=%d,red=%p,green=%p,blue=%p,transp=%p\n",
886 info->cmap.start, info->cmap.len,
887 info->cmap
[all...]
/linux-master/drivers/video/fbdev/
H A D68328fb.c295 * cmap[X] is programmed to (X << red.offset) | (X << green.offset) | (X << blue.offset)
302 * cmap is not used
308 * cmap is programmed to (red << red.offset) | (green << green.offset) |
452 if (fb_alloc_cmap(&fb_info.cmap, 256, 0))
456 fb_dealloc_cmap(&fb_info.cmap);
476 fb_dealloc_cmap(&fb_info.cmap);
H A Damifb.c3725 err = fb_alloc_cmap(&info->cmap, 1 << info->var.bits_per_pixel, 0);
3741 fb_dealloc_cmap(&info->cmap);
3760 fb_dealloc_cmap(&info->cmap);
H A Darkfb.c1044 rc = fb_alloc_cmap(&info->cmap, 256, 0);
1067 fb_dealloc_cmap(&info->cmap);
1093 fb_dealloc_cmap(&info->cmap);
H A Dasiliantfb.c518 err = fb_alloc_cmap(&p->cmap, 256, 0);
520 printk(KERN_ERR "C&T 69000 fb failed to alloc cmap memory\n");
527 fb_dealloc_cmap(&p->cmap);
594 fb_dealloc_cmap(&p->cmap);
H A Datafb.c263 * int (*fb_setcmap)(struct fb_cmap *cmap, struct fb_info *info);
2605 struct fb_cmap cmap; local
2610 cmap.red = black;
2611 cmap.green = black;
2612 cmap.blue = black;
2613 cmap.transp = NULL;
2614 cmap.start = 0;
2615 cmap.len = 16;
2616 fb_set_cmap(&cmap, info);
3129 fb_alloc_cmap(&(fb_info.cmap),
[all...]
H A Datmel_lcdfb.c858 ret = fb_alloc_cmap(&info->cmap, 256, 0);
1196 fb_dealloc_cmap(&info->cmap);
1243 fb_dealloc_cmap(&info->cmap);
H A Dau1100fb.c492 if (fb_alloc_cmap(&fbdev->info.cmap, AU1100_LCD_NBR_PALETTE_ENTRIES, 0) < 0) {
516 if (fbdev->info.cmap.len != 0) {
517 fb_dealloc_cmap(&fbdev->info.cmap);
537 fb_dealloc_cmap(&fbdev->info.cmap);
H A Dau1200fb.c1553 ret = fb_alloc_cmap(&fbi->cmap, AU1200_LCD_NBR_PALETTE_ENTRIES, 0);
1753 if (fbi->cmap.len != 0)
1754 fb_dealloc_cmap(&fbi->cmap);
1777 if (fbi->cmap.len != 0)
1778 fb_dealloc_cmap(&fbi->cmap);
H A Dbroadsheetfb.c1077 retval = fb_alloc_cmap(&info->cmap, 16, 0);
1083 /* set cmap */
1085 info->cmap.red[i] = (((2*i)+1)*(0xFFFF))/32;
1086 memcpy(info->cmap.green, info->cmap.red, sizeof(u16)*16);
1087 memcpy(info->cmap.blue, info->cmap.red, sizeof(u16)*16);
1123 fb_dealloc_cmap(&info->cmap);
1145 fb_dealloc_cmap(&info->cmap);
H A Dbw2.c58 struct bt_regs cmap; member in struct:bw2_regs
/linux-master/drivers/video/fbdev/aty/
H A Daty128fb.c2018 fb_alloc_cmap(&info->cmap, 256, 0);
2461 fb_set_cmap(&info->cmap, info);
H A Datyfb_base.c1841 fbtyp.fb_cmsize = info->cmap.len;
2741 ret = fb_alloc_cmap(&info->cmap, 256, 0);
2747 fb_dealloc_cmap(&info->cmap);
H A Dmach64_cursor.c131 fg = ((info->cmap.red[fg_idx] & 0xff) << 24) |
132 ((info->cmap.green[fg_idx] & 0xff) << 16) |
133 ((info->cmap.blue[fg_idx] & 0xff) << 8) | 0xff;
135 bg = ((info->cmap.red[bg_idx] & 0xff) << 24) |
136 ((info->cmap.green[bg_idx] & 0xff) << 16) |
137 ((info->cmap.blue[bg_idx] & 0xff) << 8);
H A Dradeon_base.c1262 static int radeonfb_setcmap(struct fb_cmap *cmap, struct fb_info *info) argument
1284 red = cmap->red;
1285 green = cmap->green;
1286 blue = cmap->blue;
1287 transp = cmap->transp;
1288 start = cmap->start;
1290 for (i = 0; i < cmap->len; i++) {
1998 fb_alloc_cmap(&info->cmap, 256, 0);
2484 fb_dealloc_cmap(&info->cmap);
2537 fb_dealloc_cmap(&info->cmap);
[all...]
H A Dradeon_pm.c2776 fb_set_cmap(&info->cmap, info);

Completed in 346 milliseconds

123456