Lines Matching defs:bcmfb_palette
79 static struct argb bcmfb_palette[16] = {
934 addr[4*j+0] = bcmfb_palette[color].r;
935 addr[4*j+1] = bcmfb_palette[color].g;
936 addr[4*j+2] = bcmfb_palette[color].b;
937 addr[4*j+3] = bcmfb_palette[color].a;
940 addr[3*j] = bcmfb_palette[color].r;
941 addr[3*j+1] = bcmfb_palette[color].g;
942 addr[3*j+2] = bcmfb_palette[color].b;
945 rgb = (bcmfb_palette[color].r >> 3) << 11;
946 rgb |= (bcmfb_palette[color].g >> 2) << 5;
947 rgb |= (bcmfb_palette[color].b >> 3);