Home
last modified time | relevance | path

Searched refs:fg_idx (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/video/fbdev/aty/
Dmach64_cursor.c126 u32 fg_idx, bg_idx, fg, bg; in atyfb_cursor() local
128 fg_idx = cursor->image.fg_color; in atyfb_cursor()
131 fg = ((info->cmap.red[fg_idx] & 0xff) << 24) | in atyfb_cursor()
132 ((info->cmap.green[fg_idx] & 0xff) << 16) | in atyfb_cursor()
133 ((info->cmap.blue[fg_idx] & 0xff) << 8) | 0xff; in atyfb_cursor()
/Linux-v5.10/drivers/video/fbdev/
Dpm2fb.c1294 u32 fg_idx = cursor->image.fg_color; in pm2vfb_cursor() local
1308 cmap.red[fg_idx] >> 8 ); in pm2vfb_cursor()
1310 cmap.green[fg_idx] >> 8 ); in pm2vfb_cursor()
1312 cmap.blue[fg_idx] >> 8 ); in pm2vfb_cursor()
1403 u32 fg_idx = cursor->image.fg_color; in pm2fb_cursor() local
1416 info->cmap.red[fg_idx] >> 8); in pm2fb_cursor()
1418 info->cmap.green[fg_idx] >> 8); in pm2fb_cursor()
1420 info->cmap.blue[fg_idx] >> 8); in pm2fb_cursor()
Dpm3fb.c658 u32 fg_idx = cursor->image.fg_color; in pm3fb_cursor() local
664 cmap.red[fg_idx] >> 8 ); in pm3fb_cursor()
666 cmap.green[fg_idx] >> 8 ); in pm3fb_cursor()
668 cmap.blue[fg_idx] >> 8 ); in pm3fb_cursor()
Dimsttfb.c1215 int fg_idx = cursor->image.fg_color;
1246 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) |
1247 ((info->cmap.green[fg_idx] & 0xf8) << 2) |
1248 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | 1 << 15;
Dfsl-diu-fb.c1070 unsigned int fg_idx = cursor->image.fg_color; in fsl_diu_cursor() local
1083 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in fsl_diu_cursor()
1084 ((info->cmap.green[fg_idx] & 0xf8) << 2) | in fsl_diu_cursor()
1085 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | in fsl_diu_cursor()
Dtdfxfb.c1073 u32 fg_idx = cursor->image.fg_color; in tdfxfb_cursor() local
1076 fg_color = (((u32)cmap.red[fg_idx] & 0xff00) << 8) | in tdfxfb_cursor()
1077 (((u32)cmap.green[fg_idx] & 0xff00) << 0) | in tdfxfb_cursor()
1078 (((u32)cmap.blue[fg_idx] & 0xff00) >> 8); in tdfxfb_cursor()
/Linux-v5.10/drivers/video/fbdev/nvidia/
Dnvidia.c557 u32 fg_idx = cursor->image.fg_color; in nvidiafb_cursor() local
586 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in nvidiafb_cursor()
587 ((info->cmap.green[fg_idx] & 0xf8) << 2) | in nvidiafb_cursor()
588 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | 1 << 15; in nvidiafb_cursor()
/Linux-v5.10/drivers/video/fbdev/riva/
Dfbdev.c1607 u32 fg_idx = cursor->image.fg_color; in rivafb_cursor() local
1637 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in rivafb_cursor()
1638 ((info->cmap.green[fg_idx] & 0xf8) << 2) | in rivafb_cursor()
1639 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | in rivafb_cursor()