Lines Matching refs:cmap
746 if (regno >= info->cmap.len || regno > 255)
1070 struct fb_cmap cmap = info->cmap;
1075 fg_color = (((u32)cmap.red[fg_idx] & 0xff00) << 8) |
1076 (((u32)cmap.green[fg_idx] & 0xff00) << 0) |
1077 (((u32)cmap.blue[fg_idx] & 0xff00) >> 8);
1078 bg_color = (((u32)cmap.red[bg_idx] & 0xff00) << 8) |
1079 (((u32)cmap.green[bg_idx] & 0xff00) << 0) |
1080 (((u32)cmap.blue[bg_idx] & 0xff00) >> 8);
1532 if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) {
1539 fb_dealloc_cmap(&info->cmap);
1626 fb_dealloc_cmap(&info->cmap);