Lines Matching defs:transp
83 * @transp: boolean, 1 if there is transparency, 0 otherwise
92 int fb_alloc_cmap(struct fb_cmap *cmap, int len, int transp)
106 if (transp) {
107 if (!(cmap->transp = kmalloc(size, GFP_ATOMIC)))
110 cmap->transp = NULL;
136 kfree(cmap->transp);
138 cmap->red = cmap->green = cmap->blue = cmap->transp = NULL;
169 if (from->transp && to->transp)
170 memcpy(to->transp+tooff, from->transp+fromoff, size);
196 if (from->transp && to->transp)
197 if (copy_to_user(to->transp+tooff, from->transp+fromoff, size))
216 u16 *red, *green, *blue, *transp;
222 transp = cmap->transp;
235 if (transp)
236 htransp = *transp++;
259 rc = fb_alloc_cmap(&umap, cmap->len, cmap->transp != NULL);
265 (cmap->transp && copy_from_user(umap.transp, cmap->transp, size))) {