Searched refs:cmaplen (Results 1 – 1 of 1) sorted by relevance
478 int cmaplen = 1 << sc->sc_p->p_bits_per_pixel; in ssdfb_ioctl() local492 .cmsize = cmaplen in ssdfb_ioctl()499 fbi->fbi_subtype.fbi_cmapinfo.cmap_entries = cmaplen; in ssdfb_ioctl()561 if (wc->index >= cmaplen || in ssdfb_ioctl()562 wc->count > cmaplen - wc->index) in ssdfb_ioctl()564 for(i = 0; i < cmaplen; i++) { in ssdfb_ioctl()565 cmap[i] = 255 * i / (cmaplen - 1); in ssdfb_ioctl()