Home
last modified time | relevance | path

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

/drivers/video/aty/
Dmach64_cursor.c124 u32 fg_idx, bg_idx, fg, bg; in atyfb_cursor() local
126 fg_idx = cursor->image.fg_color; in atyfb_cursor()
129 fg = ((info->cmap.red[fg_idx] & 0xff) << 24) | in atyfb_cursor()
130 ((info->cmap.green[fg_idx] & 0xff) << 16) | in atyfb_cursor()
131 ((info->cmap.blue[fg_idx] & 0xff) << 8) | 0xff; in atyfb_cursor()
/drivers/video/
Dpm2fb.c1299 u32 fg_idx = cursor->image.fg_color; in pm2vfb_cursor() local
1313 cmap.red[fg_idx] >> 8 ); in pm2vfb_cursor()
1315 cmap.green[fg_idx] >> 8 ); in pm2vfb_cursor()
1317 cmap.blue[fg_idx] >> 8 ); in pm2vfb_cursor()
1408 u32 fg_idx = cursor->image.fg_color; in pm2fb_cursor() local
1421 info->cmap.red[fg_idx] >> 8); in pm2fb_cursor()
1423 info->cmap.green[fg_idx] >> 8); in pm2fb_cursor()
1425 info->cmap.blue[fg_idx] >> 8); in pm2fb_cursor()
Dpm3fb.c665 u32 fg_idx = cursor->image.fg_color; in pm3fb_cursor() local
671 cmap.red[fg_idx] >> 8 ); in pm3fb_cursor()
673 cmap.green[fg_idx] >> 8 ); in pm3fb_cursor()
675 cmap.blue[fg_idx] >> 8 ); in pm3fb_cursor()
Dfsl-diu-fb.c1065 unsigned int fg_idx = cursor->image.fg_color; in fsl_diu_cursor() local
1086 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in fsl_diu_cursor()
1087 ((info->cmap.green[fg_idx] & 0xf8) << 2) | in fsl_diu_cursor()
1088 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | in fsl_diu_cursor()
Dtdfxfb.c1090 u32 fg_idx = cursor->image.fg_color; in tdfxfb_cursor() local
1093 fg_color = (((u32)cmap.red[fg_idx] & 0xff00) << 8) | in tdfxfb_cursor()
1094 (((u32)cmap.green[fg_idx] & 0xff00) << 0) | in tdfxfb_cursor()
1095 (((u32)cmap.blue[fg_idx] & 0xff00) >> 8); in tdfxfb_cursor()
Dimsttfb.c1218 int fg_idx = cursor->image.fg_color;
1249 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) |
1250 ((info->cmap.green[fg_idx] & 0xf8) << 2) |
1251 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | 1 << 15;
/drivers/video/nvidia/
Dnvidia.c571 u32 fg_idx = cursor->image.fg_color; in nvidiafb_cursor() local
600 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in nvidiafb_cursor()
601 ((info->cmap.green[fg_idx] & 0xf8) << 2) | in nvidiafb_cursor()
602 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | 1 << 15; in nvidiafb_cursor()
/drivers/video/riva/
Dfbdev.c1631 u32 fg_idx = cursor->image.fg_color; in rivafb_cursor() local
1661 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in rivafb_cursor()
1662 ((info->cmap.green[fg_idx] & 0xf8) << 2) | in rivafb_cursor()
1663 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | in rivafb_cursor()