Lines Matching refs:green
472 u8 green[64]; member
483 static int aty128fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
1084 depth = (var->green.length == 6) ? 16 : 15; in aty128_var_to_crtc()
1186 var->green.msb_right = 0; in aty128_pix_width_to_var()
1197 var->green.offset = 0; in aty128_pix_width_to_var()
1198 var->green.length = 8; in aty128_pix_width_to_var()
1205 var->green.offset = 5; in aty128_pix_width_to_var()
1206 var->green.length = 5; in aty128_pix_width_to_var()
1213 var->green.offset = 5; in aty128_pix_width_to_var()
1214 var->green.length = 6; in aty128_pix_width_to_var()
1221 var->green.offset = 8; in aty128_pix_width_to_var()
1222 var->green.length = 8; in aty128_pix_width_to_var()
1229 var->green.offset = 8; in aty128_pix_width_to_var()
1230 var->green.length = 8; in aty128_pix_width_to_var()
1673 static void aty128_st_pal(u_int regno, u_int red, u_int green, u_int blue, in aty128_st_pal() argument
1688 aty_st_le32(PALETTE_DATA, (red<<16)|(green<<8)|blue); in aty128_st_pal()
1695 aty_st_le32(PALETTE_DATA, (red<<16)|(green<<8)|blue); in aty128_st_pal()
2277 static int aty128fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in aty128fb_setcolreg() argument
2288 green >>= 8; in aty128fb_setcolreg()
2320 par->green[regno] = green; in aty128fb_setcolreg()
2324 aty128_st_pal(regno * 8, red, par->green[regno*2], in aty128fb_setcolreg()
2332 aty128_st_pal(regno, red, green, blue, par); in aty128fb_setcolreg()