Searched refs:bg_idx (Results 1 – 7 of 7) sorted by relevance
126 u32 fg_idx, bg_idx, fg, bg; in atyfb_cursor() local129 bg_idx = cursor->image.bg_color; in atyfb_cursor()135 bg = ((info->cmap.red[bg_idx] & 0xff) << 24) | in atyfb_cursor()136 ((info->cmap.green[bg_idx] & 0xff) << 16) | in atyfb_cursor()137 ((info->cmap.blue[bg_idx] & 0xff) << 8); in atyfb_cursor()
1302 u32 bg_idx = cursor->image.bg_color; in pm2vfb_cursor() local1308 cmap.red[bg_idx] >> 8 ); in pm2vfb_cursor()1310 cmap.green[bg_idx] >> 8 ); in pm2vfb_cursor()1312 cmap.blue[bg_idx] >> 8 ); in pm2vfb_cursor()1411 u32 bg_idx = cursor->image.bg_color; in pm2fb_cursor() local1416 info->cmap.red[bg_idx] >> 8); in pm2fb_cursor()1418 info->cmap.green[bg_idx] >> 8); in pm2fb_cursor()1420 info->cmap.blue[bg_idx] >> 8); in pm2fb_cursor()
660 u32 bg_idx = cursor->image.bg_color; in pm3fb_cursor() local672 cmap.red[bg_idx] >> 8 ); in pm3fb_cursor()674 cmap.green[bg_idx] >> 8 ); in pm3fb_cursor()676 cmap.blue[bg_idx] >> 8 ); in pm3fb_cursor()
1071 u32 bg_idx = cursor->image.bg_color; in tdfxfb_cursor() local1078 bg_color = (((u32)cmap.red[bg_idx] & 0xff00) << 8) | in tdfxfb_cursor()1079 (((u32)cmap.green[bg_idx] & 0xff00) << 0) | in tdfxfb_cursor()1080 (((u32)cmap.blue[bg_idx] & 0xff00) >> 8); in tdfxfb_cursor()
1069 unsigned int bg_idx = cursor->image.bg_color; in fsl_diu_cursor() local1078 bg = ((info->cmap.red[bg_idx] & 0xf8) << 7) | in fsl_diu_cursor()1079 ((info->cmap.green[bg_idx] & 0xf8) << 2) | in fsl_diu_cursor()1080 ((info->cmap.blue[bg_idx] & 0xf8) >> 3) | in fsl_diu_cursor()
557 u32 bg_idx = cursor->image.bg_color; in nvidiafb_cursor() local583 bg = ((info->cmap.red[bg_idx] & 0xf8) << 7) | in nvidiafb_cursor()584 ((info->cmap.green[bg_idx] & 0xf8) << 2) | in nvidiafb_cursor()585 ((info->cmap.blue[bg_idx] & 0xf8) >> 3) | 1 << 15; in nvidiafb_cursor()
1609 u32 bg_idx = cursor->image.bg_color; in rivafb_cursor() local1635 bg = ((info->cmap.red[bg_idx] & 0xf8) << 7) | in rivafb_cursor()1636 ((info->cmap.green[bg_idx] & 0xf8) << 2) | in rivafb_cursor()1637 ((info->cmap.blue[bg_idx] & 0xf8) >> 3) | in rivafb_cursor()