Lines Matching refs:green
463 u8 green[64]; member
474 static int aty128fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
1075 depth = (var->green.length == 6) ? 16 : 15; in aty128_var_to_crtc()
1177 var->green.msb_right = 0; in aty128_pix_width_to_var()
1188 var->green.offset = 0; in aty128_pix_width_to_var()
1189 var->green.length = 8; in aty128_pix_width_to_var()
1196 var->green.offset = 5; in aty128_pix_width_to_var()
1197 var->green.length = 5; in aty128_pix_width_to_var()
1204 var->green.offset = 5; in aty128_pix_width_to_var()
1205 var->green.length = 6; in aty128_pix_width_to_var()
1212 var->green.offset = 8; in aty128_pix_width_to_var()
1213 var->green.length = 8; in aty128_pix_width_to_var()
1220 var->green.offset = 8; in aty128_pix_width_to_var()
1221 var->green.length = 8; in aty128_pix_width_to_var()
1664 static void aty128_st_pal(u_int regno, u_int red, u_int green, u_int blue, in aty128_st_pal() argument
1679 aty_st_le32(PALETTE_DATA, (red<<16)|(green<<8)|blue); in aty128_st_pal()
1686 aty_st_le32(PALETTE_DATA, (red<<16)|(green<<8)|blue); in aty128_st_pal()
2256 static int aty128fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in aty128fb_setcolreg() argument
2267 green >>= 8; in aty128fb_setcolreg()
2299 par->green[regno] = green; in aty128fb_setcolreg()
2303 aty128_st_pal(regno * 8, red, par->green[regno*2], in aty128fb_setcolreg()
2311 aty128_st_pal(regno, red, green, blue, par); in aty128fb_setcolreg()