Searched refs:fg_idx (Results 1 – 8 of 8) sorted by relevance
126 u32 fg_idx, bg_idx, fg, bg; in atyfb_cursor() local128 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()
1301 u32 fg_idx = cursor->image.fg_color; in pm2vfb_cursor() local1315 cmap.red[fg_idx] >> 8 ); in pm2vfb_cursor()1317 cmap.green[fg_idx] >> 8 ); in pm2vfb_cursor()1319 cmap.blue[fg_idx] >> 8 ); in pm2vfb_cursor()1410 u32 fg_idx = cursor->image.fg_color; in pm2fb_cursor() local1423 info->cmap.red[fg_idx] >> 8); in pm2fb_cursor()1425 info->cmap.green[fg_idx] >> 8); in pm2fb_cursor()1427 info->cmap.blue[fg_idx] >> 8); in pm2fb_cursor()
659 u32 fg_idx = cursor->image.fg_color; in pm3fb_cursor() local665 cmap.red[fg_idx] >> 8 ); in pm3fb_cursor()667 cmap.green[fg_idx] >> 8 ); in pm3fb_cursor()669 cmap.blue[fg_idx] >> 8 ); in pm3fb_cursor()
1070 unsigned int fg_idx = cursor->image.fg_color; in fsl_diu_cursor() local1083 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()
1216 int fg_idx = cursor->image.fg_color;1247 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) |1248 ((info->cmap.green[fg_idx] & 0xf8) << 2) |1249 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | 1 << 15;
1072 u32 fg_idx = cursor->image.fg_color; in tdfxfb_cursor() local1075 fg_color = (((u32)cmap.red[fg_idx] & 0xff00) << 8) | in tdfxfb_cursor()1076 (((u32)cmap.green[fg_idx] & 0xff00) << 0) | in tdfxfb_cursor()1077 (((u32)cmap.blue[fg_idx] & 0xff00) >> 8); in tdfxfb_cursor()
558 u32 fg_idx = cursor->image.fg_color; in nvidiafb_cursor() local587 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in nvidiafb_cursor()588 ((info->cmap.green[fg_idx] & 0xf8) << 2) | in nvidiafb_cursor()589 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | 1 << 15; in nvidiafb_cursor()
1604 u32 fg_idx = cursor->image.fg_color; in rivafb_cursor() local1634 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in rivafb_cursor()1635 ((info->cmap.green[fg_idx] & 0xf8) << 2) | in rivafb_cursor()1636 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | in rivafb_cursor()