cmap
uint32_t cmap[NCMAP];
extern uint32_t cmap[NCMAP];
(void) generate_cons_palette(cmap, COLOR_FORMAT_RGB,
(cmap[i] & gfx_state.tg_fb.fb_mask_red) >>
(cmap[i] & gfx_state.tg_fb.fb_mask_green) >>
(cmap[i] & gfx_state.tg_fb.fb_mask_blue) >>
ffs(gfx_state.tg_fb.fb_mask_blue) - 1, cmap[i]);
attr = (cmap[bg & 0xf] << 4) | cmap[fg & 0xf];
(void) generate_cons_palette(cmap, format,
int drm_fb_helper_setcmap(struct fb_cmap *cmap, struct fb_info *info)
red = cmap->red;
green = cmap->green;
blue = cmap->blue;
transp = cmap->transp;
start = cmap->start;
for (j = 0; j < cmap->len; j++) {
int drm_fb_helper_setcmap(struct fb_cmap *cmap, struct fb_info *info);
for (cmap = 0; cmap < isp->isp_nchan; cmap++) {
struct isp_fc *fc = ISP_FC_PC(isp, cmap);
FCPARAM(isp, cmap)->isp_scratch = base;
FCPARAM(isp, cmap)->isp_scratch = NULL;
FCPARAM(isp, cmap)->isp_scdma = im.maddr;
int i, error, cmap;
cmap_lookup_hard(struct cmap *cm, wint_t ch)
cmap_cache(struct cmap *cm)
cmap_default(struct cmap *cm, wint_t def)
struct cmap *
struct cmap *cm;
cmap_add(struct cmap *cm, wint_t from, wint_t to)
struct cmap * cmap_alloc(void);
bool cmap_add(struct cmap *, wint_t, wint_t);
wint_t cmap_lookup_hard(struct cmap *, wint_t);
void cmap_cache(struct cmap *);
wint_t cmap_default(struct cmap *, wint_t);
cmap_lookup(struct cmap *cm, wint_t from)
cmap_min(struct cmap *cm)
cmap_max(struct cmap *cm)
struct cmap *map;