Home
last modified time | relevance | path

Searched refs:bg_idx (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/video/fbdev/aty/
Dmach64_cursor.c126 u32 fg_idx, bg_idx, fg, bg; in atyfb_cursor() local
129 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()
/Linux-v6.1/drivers/video/fbdev/
Dpm2fb.c1302 u32 bg_idx = cursor->image.bg_color; in pm2vfb_cursor() local
1308 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() local
1416 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()
Dpm3fb.c660 u32 bg_idx = cursor->image.bg_color; in pm3fb_cursor() local
672 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()
Dtdfxfb.c1071 u32 bg_idx = cursor->image.bg_color; in tdfxfb_cursor() local
1078 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()
Dfsl-diu-fb.c1069 unsigned int bg_idx = cursor->image.bg_color; in fsl_diu_cursor() local
1078 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()
/Linux-v6.1/drivers/video/fbdev/nvidia/
Dnvidia.c557 u32 bg_idx = cursor->image.bg_color; in nvidiafb_cursor() local
583 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()
/Linux-v6.1/drivers/video/fbdev/riva/
Dfbdev.c1609 u32 bg_idx = cursor->image.bg_color; in rivafb_cursor() local
1635 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()