Searched refs:fg_idx (Results 1 – 8 of 8) sorted by relevance
125 u32 fg_idx, bg_idx, fg, bg; in atyfb_cursor() local127 fg_idx = cursor->image.fg_color; in atyfb_cursor()130 fg = ((info->cmap.red[fg_idx] & 0xff) << 24) | in atyfb_cursor()131 ((info->cmap.green[fg_idx] & 0xff) << 16) | in atyfb_cursor()132 ((info->cmap.blue[fg_idx] & 0xff) << 8) | 0xff; in atyfb_cursor()
1292 u32 fg_idx = cursor->image.fg_color; in pm2vfb_cursor() local1306 cmap.red[fg_idx] >> 8 ); in pm2vfb_cursor()1308 cmap.green[fg_idx] >> 8 ); in pm2vfb_cursor()1310 cmap.blue[fg_idx] >> 8 ); in pm2vfb_cursor()1401 u32 fg_idx = cursor->image.fg_color; in pm2fb_cursor() local1414 info->cmap.red[fg_idx] >> 8); in pm2fb_cursor()1416 info->cmap.green[fg_idx] >> 8); in pm2fb_cursor()1418 info->cmap.blue[fg_idx] >> 8); in pm2fb_cursor()
658 u32 fg_idx = cursor->image.fg_color; in pm3fb_cursor() local664 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()
1217 int fg_idx = cursor->image.fg_color;1248 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) |1249 ((info->cmap.green[fg_idx] & 0xf8) << 2) |1250 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | 1 << 15;
1071 u32 fg_idx = cursor->image.fg_color; in tdfxfb_cursor() local1074 fg_color = (((u32)cmap.red[fg_idx] & 0xff00) << 8) | in tdfxfb_cursor()1075 (((u32)cmap.green[fg_idx] & 0xff00) << 0) | in tdfxfb_cursor()1076 (((u32)cmap.blue[fg_idx] & 0xff00) >> 8); in tdfxfb_cursor()
1070 unsigned int fg_idx = cursor->image.fg_color; in fsl_diu_cursor() local1091 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in fsl_diu_cursor()1092 ((info->cmap.green[fg_idx] & 0xf8) << 2) | in fsl_diu_cursor()1093 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | in fsl_diu_cursor()
562 u32 fg_idx = cursor->image.fg_color; in nvidiafb_cursor() local591 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in nvidiafb_cursor()592 ((info->cmap.green[fg_idx] & 0xf8) << 2) | in nvidiafb_cursor()593 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | 1 << 15; in nvidiafb_cursor()
1611 u32 fg_idx = cursor->image.fg_color; in rivafb_cursor() local1641 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in rivafb_cursor()1642 ((info->cmap.green[fg_idx] & 0xf8) << 2) | in rivafb_cursor()1643 ((info->cmap.blue[fg_idx] & 0xf8) >> 3) | in rivafb_cursor()