Home
last modified time | relevance | path

Searched refs:cmap_len (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_base.c755 if (regno >= ACCESS_FBINFO(curr.cmap_len)) in matroxfb_setcolreg()
830 fb_set_cmap(fb_default_cmap(ACCESS_FBINFO(curr.cmap_len)), in my_install_cmap()
890 int cmap_len; in matroxfb_set_var() local
905 if ((err = matroxfb_decode_var(PMINFO display, var, &visual, &cmap_len, &ydstorg)) != 0) in matroxfb_set_var()
952 ACCESS_FBINFO(curr.cmap_len) = cmap_len; in matroxfb_set_var()
1083 if (regno >= ACCESS_FBINFO(curr.cmap_len)) in matrox_getcolreg()
1121 unsigned int cmap_len; in matroxfb_set_cmap() local
1131 cmap_len = matroxfb_get_cmap_len(&dsp->var); in matroxfb_set_cmap()
1132 if (dsp->cmap.len != cmap_len) { in matroxfb_set_cmap()
1135 err = fb_alloc_cmap(&dsp->cmap, cmap_len, 0); in matroxfb_set_cmap()
Dmatroxfb_crtc2.c413 int cmap_len; in matroxfb_dh_set_var() local
422 if ((err = matroxfb_dh_decode_var(m2info, p, var, &visual, &cmap_len, &mode)) != 0) in matroxfb_dh_set_var()
Dmatroxfb_base.h365 unsigned int cmap_len; member
/linux-2.4.37.9/drivers/video/
Dtdfxfb.c319 u32 cmap_len; member
1559 par->cmap_len = (par->bpp == 8) ? 256 : 16; in tdfxfb_decode_var()
1890 fb_copy_cmap(fb_default_cmap(i->current_par.cmap_len), cmap, kspc ? 0 : 2); in tdfxfb_get_cmap()
1902 int cmap_len= (i->current_par.bpp == 8) ? 256 : 16; in tdfxfb_set_cmap() local
1903 if (d->cmap.len!=cmap_len) { in tdfxfb_set_cmap()
1905 if((err = fb_alloc_cmap(&d->cmap, cmap_len, 0))) in tdfxfb_set_cmap()
2262 if (regno > i->current_par.cmap_len) return 1; in tdfxfb_getcolreg()
2282 if (regno >= i->current_par.cmap_len) return 1; in tdfxfb_setcolreg()
2335 fb_set_cmap(fb_default_cmap(i->current_par.cmap_len), 1, in tdfxfb_install_cmap()
Dau1100fb.c95 int cmap_len; // color-map length member
230 par->cmap_len = (par->var.bits_per_pixel == 8) ? 256 : 16; in au1100_decode_var()
Depson1356fb.c415 DPRINTK("cmap_len: %d\n", par->cmap_len); in dump_par()
1667 par->cmap_len = (par->bpp == 8) ? 256 : 16; in e1356fb_var_to_par()
1998 fb_copy_cmap(fb_default_cmap(info->current_par.cmap_len), in e1356fb_get_cmap()
2012 int cmap_len = (info->current_par.bpp == 8) ? 256 : 16; in e1356fb_set_cmap() local
2016 if (d->cmap.len!=cmap_len) { in e1356fb_set_cmap()
2018 if ((err = fb_alloc_cmap(&d->cmap, cmap_len, 0))) in e1356fb_set_cmap()
2744 boot_par.cmap_len = (boot_par.bpp == 8) ? 256 : 16; in e1356fb_setup()
2914 if (regno > i->current_par.cmap_len) in e1356fb_getcolreg()
2971 fb_set_cmap(fb_default_cmap(i->current_par.cmap_len), 1, in e1356fb_install_cmap()
Depson1356fb.h396 int cmap_len; // color-map length member
Dit8181fb.c193 int cmap_len; // color-map length member
550 par->cmap_len = (par->var.bits_per_pixel == 8) ? 256 : 16; in it8181fb_decode_var()
Daty128fb.c1689 unsigned int cmap_len = (disp->var.bits_per_pixel==8) ? 256 : 32; in aty128fb_set_cmap() local
1691 if (disp->cmap.len != cmap_len) { in aty128fb_set_cmap()
1692 int err = fb_alloc_cmap(&disp->cmap, cmap_len, 0); in aty128fb_set_cmap()
Dradeonfb.c2549 unsigned int cmap_len; in radeonfb_set_cmap() local
2553 cmap_len = radeon_get_cmap_len (&disp->var); in radeonfb_set_cmap()
2554 if (disp->cmap.len != cmap_len) { in radeonfb_set_cmap()
2555 int err = fb_alloc_cmap (&disp->cmap, cmap_len, 0); in radeonfb_set_cmap()
/linux-2.4.37.9/drivers/video/intel/
Dintelfbdrv.c1461 int cmap_len = (disp->var.bits_per_pixel > 8) ? 16 : 256; in intelfb_get_cmap() local
1462 fb_copy_cmap(fb_default_cmap(cmap_len), cmap, kspc ? 0 : 2); in intelfb_get_cmap()
1472 unsigned int cmap_len; in intelfb_set_cmap() local
1478 cmap_len = (disp->var.bits_per_pixel > 8) ? 16 : 256; in intelfb_set_cmap()
1480 err = fb_alloc_cmap(&disp->cmap, cmap_len, 0); in intelfb_set_cmap()
/linux-2.4.37.9/drivers/video/riva/
Dfbdev.c1618 unsigned int cmap_len; in rivafb_set_cmap() local
1627 cmap_len = riva_get_cmap_len(&dsp->var); in rivafb_set_cmap()
1628 if (dsp->cmap.len != cmap_len) { in rivafb_set_cmap()
1629 int err = fb_alloc_cmap(&dsp->cmap, cmap_len, 0); in rivafb_set_cmap()