taglinefilesource code
cmap1016arch/m68k/amiga/amifb.cstatic int amiga_fb_get_cmap(struct fb_cmap *cmap, int kspc, int con);
cmap1017arch/m68k/amiga/amifb.cstatic int amiga_fb_set_cmap(struct fb_cmap *cmap, int kspc, int con);
cmap1105arch/m68k/amiga/amifb.cstatic int do_fb_get_cmap(struct fb_cmap *cmap, struct fb_var_screeninfo *var,
cmap1107arch/m68k/amiga/amifb.cstatic int do_fb_set_cmap(struct fb_cmap *cmap, struct fb_var_screeninfo *var,
cmap1112arch/m68k/amiga/amifb.cstatic int alloc_cmap(struct fb_cmap *cmap, int len, int transp);
cmap2616arch/m68k/amiga/amifb.cstatic int mono_amiga_fb_get_cmap(struct fb_cmap *cmap, int kspc, int con)
cmap2623arch/m68k/amiga/amifb.cred = cmap->red;
cmap2624arch/m68k/amiga/amifb.cgreen = cmap->green;
cmap2625arch/m68k/amiga/amifb.cblue = cmap->blue;
cmap2626arch/m68k/amiga/amifb.ctransp = cmap->transp;
cmap2627arch/m68k/amiga/amifb.cstart = cmap->start;
cmap2636arch/m68k/amiga/amifb.cfor (i = 0; i < cmap->len; i++) {
cmap2670arch/m68k/amiga/amifb.cstatic int mono_amiga_fb_set_cmap(struct fb_cmap *cmap, int kspc, int con)
cmap2753arch/m68k/amiga/amifb.cdisp[0].cmap = mono_default_cmap_inverse;
cmap2755arch/m68k/amiga/amifb.cdisp[0].cmap = mono_default_cmap_normal;
cmap4244arch/m68k/amiga/amifb.cstatic int do_fb_get_cmap(struct fb_cmap *cmap, struct fb_var_screeninfo *var,
cmap4251arch/m68k/amiga/amifb.cred = cmap->red;
cmap4252arch/m68k/amiga/amifb.cgreen = cmap->green;
cmap4253arch/m68k/amiga/amifb.cblue = cmap->blue;
cmap4254arch/m68k/amiga/amifb.ctransp = cmap->transp;
cmap4255arch/m68k/amiga/amifb.cstart = cmap->start;
cmap4258arch/m68k/amiga/amifb.cfor (i = 0; i < cmap->len; i++) {
cmap4288arch/m68k/amiga/amifb.cstatic int do_fb_set_cmap(struct fb_cmap *cmap, struct fb_var_screeninfo *var,
cmap4295arch/m68k/amiga/amifb.cred = cmap->red;
cmap4296arch/m68k/amiga/amifb.cgreen = cmap->green;
cmap4297arch/m68k/amiga/amifb.cblue = cmap->blue;
cmap4298arch/m68k/amiga/amifb.ctransp = cmap->transp;
cmap4299arch/m68k/amiga/amifb.cstart = cmap->start;
cmap4303arch/m68k/amiga/amifb.cfor (i = 0; i < cmap->len; i++) {
cmap4335arch/m68k/amiga/amifb.cif (disp[con].cmap.len)
cmap4336arch/m68k/amiga/amifb.cdo_fb_set_cmap(&disp[con].cmap, &disp[con].var, 1);
cmap4382arch/m68k/amiga/amifb.cstatic int alloc_cmap(struct fb_cmap *cmap, int len, int transp)
cmap4386arch/m68k/amiga/amifb.cif (cmap->len != len) {
cmap4387arch/m68k/amiga/amifb.cif (cmap->red)
cmap4388arch/m68k/amiga/amifb.ckfree(cmap->red);
cmap4389arch/m68k/amiga/amifb.cif (cmap->green)
cmap4390arch/m68k/amiga/amifb.ckfree(cmap->green);
cmap4391arch/m68k/amiga/amifb.cif (cmap->blue)
cmap4392arch/m68k/amiga/amifb.ckfree(cmap->blue);
cmap4393arch/m68k/amiga/amifb.cif (cmap->transp)
cmap4394arch/m68k/amiga/amifb.ckfree(cmap->transp);
cmap4395arch/m68k/amiga/amifb.ccmap->red = cmap->green = cmap->blue = cmap->transp = NULL;
cmap4396arch/m68k/amiga/amifb.ccmap->len = 0;
cmap4399arch/m68k/amiga/amifb.cif (!(cmap->red = kmalloc(size, GFP_ATOMIC)))
cmap4401arch/m68k/amiga/amifb.cif (!(cmap->green = kmalloc(size, GFP_ATOMIC)))
cmap4403arch/m68k/amiga/amifb.cif (!(cmap->blue = kmalloc(size, GFP_ATOMIC)))
cmap4406arch/m68k/amiga/amifb.cif (!(cmap->transp = kmalloc(size, GFP_ATOMIC)))
cmap4409arch/m68k/amiga/amifb.ccmap->transp = NULL;
cmap4411arch/m68k/amiga/amifb.ccmap->start = 0;
cmap4412arch/m68k/amiga/amifb.ccmap->len = len;
cmap4413arch/m68k/amiga/amifb.ccopy_cmap(get_default_colormap(len), cmap, 0);
cmap4494arch/m68k/amiga/amifb.calloc_cmap(&disp[con].cmap, 0, 0);
cmap4507arch/m68k/amiga/amifb.cstatic int amiga_fb_get_cmap(struct fb_cmap *cmap, int kspc, int con)
cmap4510arch/m68k/amiga/amifb.creturn(do_fb_get_cmap(cmap, &disp[con].var, kspc));
cmap4511arch/m68k/amiga/amifb.celse if (disp[con].cmap.len) /* non default colormap? */
cmap4512arch/m68k/amiga/amifb.ccopy_cmap(&disp[con].cmap, cmap, kspc ? 0 : 2);
cmap4514arch/m68k/amiga/amifb.ccopy_cmap(get_default_colormap(disp[con].var.bits_per_pixel), cmap,
cmap4524arch/m68k/amiga/amifb.cstatic int amiga_fb_set_cmap(struct fb_cmap *cmap, int kspc, int con)
cmap4528arch/m68k/amiga/amifb.cif (!disp[con].cmap.len) {       /* no colormap allocated? */
cmap4529arch/m68k/amiga/amifb.cif ((err = alloc_cmap(&disp[con].cmap, 1<<disp[con].var.bits_per_pixel,
cmap4534arch/m68k/amiga/amifb.creturn(do_fb_set_cmap(cmap, &disp[con].var, kspc));
cmap4536arch/m68k/amiga/amifb.ccopy_cmap(cmap, &disp[con].cmap, kspc ? 0 : 1);
cmap4939arch/m68k/amiga/amifb.cif (disp[currcon].cmap.len)
cmap4940arch/m68k/amiga/amifb.cdo_fb_get_cmap(&disp[currcon].cmap, &disp[currcon].var, 1);
cmap2388arch/m68k/atari/atafb.cdo_fb_get_cmap(struct fb_cmap *cmap, struct fb_var_screeninfo *var, int kspc)
cmap2394arch/m68k/atari/atafb.cred=cmap->red;
cmap2395arch/m68k/atari/atafb.cgreen=cmap->green;
cmap2396arch/m68k/atari/atafb.cblue=cmap->blue;
cmap2397arch/m68k/atari/atafb.ctransp=cmap->transp;
cmap2398arch/m68k/atari/atafb.cstart=cmap->start;
cmap2401arch/m68k/atari/atafb.cfor (i=0 ; i < cmap->len ; i++) {
cmap2429arch/m68k/atari/atafb.cdo_fb_set_cmap(struct fb_cmap *cmap, struct fb_var_screeninfo *var, int kspc)
cmap2435arch/m68k/atari/atafb.cred=cmap->red;
cmap2436arch/m68k/atari/atafb.cgreen=cmap->green;
cmap2437arch/m68k/atari/atafb.cblue=cmap->blue;
cmap2438arch/m68k/atari/atafb.ctransp=cmap->transp;
cmap2439arch/m68k/atari/atafb.cstart=cmap->start;
cmap2443arch/m68k/atari/atafb.cfor (i=0 ; i < cmap->len ; i++) {
cmap2475arch/m68k/atari/atafb.cif (disp[con].cmap.len)
cmap2476arch/m68k/atari/atafb.cdo_fb_set_cmap(&disp[con].cmap, &(disp[con].var), 1);
cmap2522arch/m68k/atari/atafb.calloc_cmap(struct fb_cmap *cmap,int len,int transp)
cmap2525arch/m68k/atari/atafb.cif (cmap->len != len) {
cmap2526arch/m68k/atari/atafb.cif (cmap->red)
cmap2527arch/m68k/atari/atafb.ckfree(cmap->red);
cmap2528arch/m68k/atari/atafb.cif (cmap->green)
cmap2529arch/m68k/atari/atafb.ckfree(cmap->green);
cmap2530arch/m68k/atari/atafb.cif (cmap->blue)
cmap2531arch/m68k/atari/atafb.ckfree(cmap->blue);
cmap2532arch/m68k/atari/atafb.cif (cmap->transp)
cmap2533arch/m68k/atari/atafb.ckfree(cmap->transp);
cmap2534arch/m68k/atari/atafb.ccmap->red=cmap->green=cmap->blue=cmap->transp=NULL;
cmap2535arch/m68k/atari/atafb.ccmap->len=0;
cmap2538arch/m68k/atari/atafb.cif (! (cmap->red=kmalloc(size, GFP_ATOMIC)))
cmap2540arch/m68k/atari/atafb.cif (! (cmap->green=kmalloc(size, GFP_ATOMIC)))
cmap2542arch/m68k/atari/atafb.cif (! (cmap->blue=kmalloc(size, GFP_ATOMIC)))
cmap2545arch/m68k/atari/atafb.cif (! (cmap->transp=kmalloc(size, GFP_ATOMIC)))
cmap2549arch/m68k/atari/atafb.ccmap->transp=NULL;
cmap2551arch/m68k/atari/atafb.ccmap->start=0;
cmap2552arch/m68k/atari/atafb.ccmap->len=len;
cmap2553arch/m68k/atari/atafb.ccopy_cmap(get_default_colormap(len), cmap, 0);
cmap2623arch/m68k/atari/atafb.calloc_cmap(&disp[con].cmap, 0, 0);
cmap2634arch/m68k/atari/atafb.catari_fb_get_cmap(struct fb_cmap *cmap, int kspc, int con)
cmap2637arch/m68k/atari/atafb.creturn do_fb_get_cmap(cmap, &(disp[con].var), kspc);
cmap2639arch/m68k/atari/atafb.cif (disp[con].cmap.len) /* non default colormap ? */
cmap2640arch/m68k/atari/atafb.ccopy_cmap(&disp[con].cmap, cmap, kspc ? 0 : 2);
cmap2643arch/m68k/atari/atafb.cdisp[con].var.bits_per_pixel), cmap, kspc ? 0 : 2);
cmap2648arch/m68k/atari/atafb.catari_fb_set_cmap(struct fb_cmap *cmap, int kspc, int con)
cmap2651arch/m68k/atari/atafb.cif (! disp[con].cmap.len) { /* no colormap allocated ? */
cmap2652arch/m68k/atari/atafb.cif ((err = alloc_cmap(&disp[con].cmap, 
cmap2657arch/m68k/atari/atafb.creturn do_fb_set_cmap(cmap, &(disp[con].var), kspc);
cmap2659arch/m68k/atari/atafb.ccopy_cmap(cmap, &disp[con].cmap, kspc ? 0 : 1);
cmap2767arch/m68k/atari/atafb.cif (disp[currcon].cmap.len)
cmap2768arch/m68k/atari/atafb.cdo_fb_get_cmap(&disp[currcon].cmap, &(disp[currcon].var), 1);
cmap2780arch/m68k/atari/atafb.cstruct fb_cmap cmap;
cmap2785arch/m68k/atari/atafb.ccmap.red=black;
cmap2786arch/m68k/atari/atafb.ccmap.green=black;
cmap2787arch/m68k/atari/atafb.ccmap.blue=black;
cmap2788arch/m68k/atari/atafb.ccmap.transp=NULL;
cmap2789arch/m68k/atari/atafb.ccmap.start=0;
cmap2790arch/m68k/atari/atafb.ccmap.len=16;
cmap2791arch/m68k/atari/atafb.cdo_fb_set_cmap(&cmap, &(disp[currcon].var), 1);
cmap16arch/m68k/atari/atafb.hstruct fb_cmap  cmap;    /* colormap */
cmap107drivers/char/fbmem.cstruct fb_cmap cmap;
cmap151drivers/char/fbmem.cmemcpy_fromfs(&cmap, (void *) arg, sizeof(cmap));
cmap152drivers/char/fbmem.ci = verify_area(VERIFY_READ, (void *) cmap.red, 
cmap153drivers/char/fbmem.ccmap.len * sizeof(unsigned short));
cmap155drivers/char/fbmem.ci = verify_area(VERIFY_READ, (void *) cmap.green, 
cmap156drivers/char/fbmem.ccmap.len * sizeof(unsigned short));
cmap158drivers/char/fbmem.ci = verify_area(VERIFY_READ, (void *) cmap.blue, 
cmap159drivers/char/fbmem.ccmap.len * sizeof(unsigned short));
cmap161drivers/char/fbmem.cif (cmap.transp) {
cmap162drivers/char/fbmem.ci = verify_area(VERIFY_READ, (void *) cmap.transp, 
cmap163drivers/char/fbmem.ccmap.len * sizeof(unsigned short));
cmap166drivers/char/fbmem.creturn (fb->fb_set_cmap(&cmap, 0, PROC_CONSOLE()));
cmap171drivers/char/fbmem.cmemcpy_fromfs(&cmap, (void *) arg, sizeof(cmap));
cmap172drivers/char/fbmem.ci = verify_area(VERIFY_WRITE, (void *) cmap.red, 
cmap173drivers/char/fbmem.ccmap.len * sizeof(unsigned short));
cmap175drivers/char/fbmem.ci = verify_area(VERIFY_WRITE, (void *) cmap.green, 
cmap176drivers/char/fbmem.ccmap.len * sizeof(unsigned short));
cmap178drivers/char/fbmem.ci = verify_area(VERIFY_WRITE, (void *) cmap.blue, 
cmap179drivers/char/fbmem.ccmap.len * sizeof(unsigned short));
cmap181drivers/char/fbmem.cif (cmap.transp) {
cmap182drivers/char/fbmem.ci = verify_area(VERIFY_WRITE, (void *) cmap.transp, 
cmap183drivers/char/fbmem.ccmap.len * sizeof(unsigned short));
cmap186drivers/char/fbmem.creturn (fb->fb_get_cmap(&cmap, 0, PROC_CONSOLE()));
cmap80drivers/char/vt.cextern int con_set_cmap(unsigned char *cmap);
cmap81drivers/char/vt.cextern int con_get_cmap(unsigned char *cmap);
cmap552drivers/sbus/char/suncons.cstruct fbcmap *cmap;
cmap609drivers/sbus/char/suncons.ccmap = (struct fbcmap *) arg;
cmap610drivers/sbus/char/suncons.ccount = cmap->count;
cmap611drivers/sbus/char/suncons.cif ((cmap->index < 0) || (cmap->index > 255))
cmap613drivers/sbus/char/suncons.cif (cmap->index + count > 256)
cmap614drivers/sbus/char/suncons.ccount = 256 - cmap->index;
cmap615drivers/sbus/char/suncons.ci = verify_area (VERIFY_READ, rp = cmap->red, cmap->count);
cmap617drivers/sbus/char/suncons.ci = verify_area (VERIFY_READ, gp = cmap->green, cmap->count);
cmap619drivers/sbus/char/suncons.ci = verify_area (VERIFY_READ, bp = cmap->blue, cmap->count);
cmap622drivers/sbus/char/suncons.cend = cmap->index + count;
cmap623drivers/sbus/char/suncons.cfor (i = cmap->index; i < end; i++){
cmap628drivers/sbus/char/suncons.c(*fb->loadcmap)(fb, cmap->index, count);
cmap102include/asm-sparc/fbio.hstruct fbcmap cmap;     /* color map info */
cmap163include/linux/fb.hstruct fb_cmap cmap;             /* colormap */