green              64 arch/arm/mach-sa1100/h3600.c 	.green	= { .offset = 7,  .length = 4, },
green              64 arch/m68k/include/asm/fbio.h         unsigned char   __user *green;
green             202 arch/m68k/include/asm/fbio.h  	char *	green;
green             212 arch/m68k/include/asm/fbio.h  	__u32	green;
green             309 arch/m68k/include/asm/fbio.h 	u32		green;
green             102 arch/powerpc/platforms/85xx/p1022_ds.c #define MAKE_AD(alpha, red, blue, green, size, c0, c1, c2, c3) \
green             104 arch/powerpc/platforms/85xx/p1022_ds.c 	(blue << AD_BLUE_C_SHIFT) | (green << AD_GREEN_C_SHIFT) | \
green             146 arch/powerpc/platforms/86xx/mpc8610_hpcd.c #define MAKE_AD(alpha, red, blue, green, size, c0, c1, c2, c3) \
green             148 arch/powerpc/platforms/86xx/mpc8610_hpcd.c 	(blue << AD_BLUE_C_SHIFT) | (green << AD_GREEN_C_SHIFT) | \
green              53 arch/sparc/include/asm/fbio.h 	u32		green;
green              64 arch/sparc/include/uapi/asm/fbio.h         unsigned char   __user *green;
green             199 arch/sparc/include/uapi/asm/fbio.h  	char *	green;
green             209 arch/sparc/include/uapi/asm/fbio.h  	__u32	green;
green              43 arch/x86/kernel/sysfb_simplefb.c 		    si->green_size == f->green.length &&
green              44 arch/x86/kernel/sysfb_simplefb.c 		    si->green_pos == f->green.offset &&
green             279 drivers/acpi/acpica/dbconvert.c 	ACPI_PLD_SET_GREEN(&dword, pld_info->green);
green             396 drivers/acpi/acpica/dbconvert.c 	acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Green", pld_info->green);
green             476 drivers/acpi/acpica/utxface.c 	pld_info->green = ACPI_PLD_GET_GREEN(&dword);
green              44 drivers/auxdisplay/cfag12864bfb.c       	.green = { 0, 1, 0 },
green              95 drivers/auxdisplay/ht16k33.c 	.green = { 0, 1, 0 },
green              43 drivers/firmware/google/framebuffer-coreboot.c 		    fb->green_mask_pos     == formats[i].green.offset &&
green              44 drivers/firmware/google/framebuffer-coreboot.c 		    fb->green_mask_size    == formats[i].green.length &&
green            2455 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c static int dce_v10_0_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green,
green            2534 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c static int dce_v11_0_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green,
green            2347 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c static int dce_v6_0_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green,
green            2356 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c static int dce_v8_0_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green,
green             105 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 				      u16 *green, u16 *blue, uint32_t size,
green             109 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c 		if ((lut[i].red != lut[i].green) || (lut[i].green != lut[i].blue))
green             135 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c 			g = drm_color_lut_extract(lut[i].green, 16);
green             139 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c 			gamma->entries.green[i] = dc_fixpt_from_int(g);
green             148 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c 		g = drm_color_lut_extract(lut[i].green, 16);
green             152 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c 		gamma->entries.green[i] = dc_fixpt_from_fraction(g, MAX_DRM_LUT_VALUE);
green             604 drivers/gpu/drm/amd/display/dc/dc.h 	struct fixed31_32 green[TRANSFER_FUNC_POINTS];
green             460 drivers/gpu/drm/amd/display/dc/dc_hw_types.h 	struct fixed31_32 green;
green             472 drivers/gpu/drm/amd/display/dc/dc_hw_types.h 		struct fixed31_32 green[GAMMA_MAX_ENTRIES];
green             204 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.c 					gamma->entries.green[i]));
green             385 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		if (!convert_to_custom_float_format(rgb->green, &fmt,
green             505 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			rgb_resulted[j].green = output_tf->tf_pts.green[i];
green             514 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 	rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index];
green             523 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 	y_g = rgb_resulted[0].green;
green             533 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 	y_g = rgb_resulted[hw_points - 1].green;
green             579 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		if (dc_fixpt_lt(rgb_plus_1->green, rgb->green))
green             580 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			rgb_plus_1->green = rgb->green;
green             585 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		rgb->delta_green = dc_fixpt_sub(rgb_plus_1->green, rgb->green);
green              77 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 			exp_region_start, params->corner_points[0].green.custom_float_x,
green              86 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 			field_region_linear_slope, params->corner_points[0].green.custom_float_slope);
green              97 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 			field_region_end, params->corner_points[1].green.custom_float_x);
green              99 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 			field_region_end_slope, params->corner_points[1].green.custom_float_slope,
green             100 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		field_region_end_base, params->corner_points[1].green.custom_float_y);
green             152 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	if (!convert_to_custom_float_format(corner_points[0].green.x, &fmt,
green             153 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 				&corner_points[0].green.custom_float_x)) {
green             168 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	if (!convert_to_custom_float_format(corner_points[0].green.offset, &fmt,
green             169 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 				&corner_points[0].green.custom_float_offset)) {
green             184 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	if (!convert_to_custom_float_format(corner_points[0].green.slope, &fmt,
green             185 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 				&corner_points[0].green.custom_float_slope)) {
green             203 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	if (!convert_to_custom_float_format(corner_points[1].green.x, &fmt,
green             204 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 				&corner_points[1].green.custom_float_x)) {
green             217 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		corner_points[1].green.custom_float_y =
green             218 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 				dc_fixpt_clamp_u0d14(corner_points[1].green.y);
green             227 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		if (!convert_to_custom_float_format(corner_points[1].green.y,
green             228 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 				&fmt, &corner_points[1].green.custom_float_y)) {
green             244 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	if (!convert_to_custom_float_format(corner_points[1].green.slope, &fmt,
green             245 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 				&corner_points[1].green.custom_float_slope)) {
green             268 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		if (!convert_to_custom_float_format(rgb->green, &fmt,
green             384 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 			rgb_resulted[j].green = output_tf->tf_pts.green[i];
green             393 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index];
green             397 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	rgb_resulted[hw_points].green = rgb_resulted[hw_points - 1].green;
green             403 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[0].green.x = corner_points[0].red.x;
green             408 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[1].green.x = corner_points[1].red.x;
green             412 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[0].green.y = rgb_resulted[0].green;
green             417 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[0].green.slope = dc_fixpt_div(corner_points[0].green.y,
green             418 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 			corner_points[0].green.x);
green             426 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[1].green.y = rgb_resulted[hw_points - 1].green;
green             429 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[1].green.slope = dc_fixpt_zero;
green             442 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		corner_points[1].green.slope = dc_fixpt_div(
green             443 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 			dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y),
green             444 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 			dc_fixpt_sub(end_value, corner_points[1].green.x));
green             472 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		rgb->delta_green = dc_fixpt_sub(rgb_plus_1->green, rgb->green);
green             480 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 			rgb->green_reg       = dc_fixpt_clamp_u0d14(rgb->green);
green             550 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 			rgb_resulted[j].green = output_tf->tf_pts.green[i];
green             559 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index];
green             563 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	rgb_resulted[hw_points].green = rgb_resulted[hw_points - 1].green;
green             568 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[0].green.x = corner_points[0].red.x;
green             572 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[1].green.x = corner_points[1].red.x;
green             576 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[0].green.y = rgb_resulted[0].green;
green             583 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[1].green.y = rgb_resulted[hw_points - 1].green;
green             586 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 	corner_points[1].green.slope = dc_fixpt_zero;
green             599 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		corner_points[1].green.slope = dc_fixpt_div(
green             600 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 			dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y),
green             601 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 			dc_fixpt_sub(end_value, corner_points[1].green.x));
green             629 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c 		rgb->delta_green = dc_fixpt_sub(rgb_plus_1->green, rgb->green);
green             811 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c 					gamma->entries.green[i]));
green            1456 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		DC_LOG_ALL_TF_CHANNELS("G\t%d\t%llu\n", i, tf->tf_pts.green[i].value);
green            1462 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		DC_LOG_ALL_TF_CHANNELS("G\t%d\t%llu\n", i, tf->tf_pts.green[i].value);
green             355 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 	uint32_t i, red, green, blue;
green             364 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		green = rgb[i].green_reg;
green             372 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		green_value = ((green_delta & 0x3ff) << 14) | (green & 0x3fff);
green             434 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		CM_SHAPER_RAMA_EXP_REGION_START_G, params->corner_points[0].green.custom_float_x,
green             445 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		CM_SHAPER_RAMA_EXP_REGION_END_G, params->corner_points[1].green.custom_float_x,
green             446 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		CM_SHAPER_RAMA_EXP_REGION_END_BASE_G, params->corner_points[1].green.custom_float_y);
green             584 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		CM_SHAPER_RAMB_EXP_REGION_START_G, params->corner_points[0].green.custom_float_x,
green             595 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		CM_SHAPER_RAMB_EXP_REGION_END_G, params->corner_points[1].green.custom_float_x,
green             596 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		CM_SHAPER_RAMB_EXP_REGION_END_BASE_G, params->corner_points[1].green.custom_float_y);
green             847 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 	uint32_t i, red, green, blue, red1, green1, blue1;
green             852 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		green = lut[i].green<<4;
green             855 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		green1 = lut[i+1].green<<4;
green             863 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 				CM_3DLUT_DATA0, green,
green             881 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 	uint32_t i, red, green, blue, value;
green             886 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		green = lut[i].green;
green             889 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		value = (red<<20) | (green<<10) | blue;
green              62 drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h 	struct curve_points green;
green              68 drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h 	struct fixed31_32 green;
green              87 drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h 	uint32_t green;
green            1088 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			dc_fixpt_lt(max_os, ramp->entries.green[i]) ||
green            1102 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			ramp->entries.green[i], scaler);
green            1151 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 		if (dc_fixpt_lt(ramp->entries.green[i], min))
green            1152 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			min = ramp->entries.green[i];
green            1160 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 		if (dc_fixpt_lt(max, ramp->entries.green[i]))
green            1161 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			max = ramp->entries.green[i];
green            1178 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 				ramp->entries.green[i], delta), offset);
green            1311 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 				regamma_y = &tf_pts->green[i];
green            1329 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 				lut1 = ramp->entries.green[index];
green            1330 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 				lut2 = ramp->entries.green[index_next];
green            1439 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 		tf_pts->green[i] = calculate_mapped_value(
green            1494 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 		tf_pts->green[i] = dc_fixpt_zero;
green            1503 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 				tf_point = &tf_pts->green[i];
green            1559 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 		tf_pts->green[i] = dc_fixpt_clamp(
green            1560 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			tf_pts->green[i], dc_fixpt_zero,
green            1622 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			tf_pts->green[i] = regamma->g;
green            1787 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 		output_tf->tf_pts.green[i] = dc_fixpt_zero;
green            1795 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 		output_tf->tf_pts.green[i] = translate_from_linear_space_ex(
green            2008 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			points->green[i]  = coordinates_x[i].x;
green            2030 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			points->green[i]  = rgb_regamma[i].g;
green            2057 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			points->green[i]  = rgb_regamma[i].g;
green            2080 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			points->green[i]  = rgb_regamma[i].g;
green            2103 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			points->green[i]  = coordinates_x[i].x;
green            2120 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			points->green[i]  = rgb_degamma[i].g;
green            2143 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			points->green[i]  = rgb_degamma[i].g;
green            2162 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			points->green[i]  = rgb_degamma[i].g;
green              38 drivers/gpu/drm/amd/display/modules/color/luts_1d.h 	uint32_t green;
green             120 drivers/gpu/drm/arm/hdlcd_crtc.c 	hdlcd_write(hdlcd, HDLCD_REG_GREEN_SELECT, format->green.offset |
green             121 drivers/gpu/drm/arm/hdlcd_crtc.c 		    ((format->green.length & 0xf) << 8));
green             135 drivers/gpu/drm/arm/malidp_crtc.c 		out_start = drm_color_lut_extract(lut[segments[i].start].green,
green             137 drivers/gpu/drm/arm/malidp_crtc.c 		out_end = drm_color_lut_extract(lut[segments[i].end].green, 12);
green             172 drivers/gpu/drm/arm/malidp_crtc.c 		if (!((lut[i].red == lut[i].green) &&
green             152 drivers/gpu/drm/armada/armada_crtc.c 			writel_relaxed(drm_color_lut_extract(lut[i].green, 8),
green              55 drivers/gpu/drm/ast/ast_mode.c 				     u8 index, u8 red, u8 green,
green              62 drivers/gpu/drm/ast/ast_mode.c 	ast_io_write8(ast, AST_IO_DAC_DATA, green);
green             645 drivers/gpu/drm/ast/ast_mode.c static int ast_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green,
green             431 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 			(lut->green & 0xff00) |
green            3444 drivers/gpu/drm/drm_atomic_helper.c 				       u16 *red, u16 *green, u16 *blue,
green            3473 drivers/gpu/drm/drm_atomic_helper.c 		blob_data[i].green = green[i];
green             272 drivers/gpu/drm/drm_color_mgmt.c 	if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) {
green             336 drivers/gpu/drm/drm_color_mgmt.c 	if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_base, size)) {
green             493 drivers/gpu/drm/drm_color_mgmt.c 			    entry[i].red != entry[i].green) {
green             501 drivers/gpu/drm/drm_color_mgmt.c 			    entry[i].green < entry[i - 1].green ||
green             931 drivers/gpu/drm/drm_fb_helper.c 		u16 green = cmap->green[i];
green             936 drivers/gpu/drm/drm_fb_helper.c 		green >>= 16 - info->var.green.length;
green             939 drivers/gpu/drm/drm_fb_helper.c 			(green << info->var.green.offset) |
green             975 drivers/gpu/drm/drm_fb_helper.c 		memcpy(g + cmap->start, cmap->green, cmap->len * sizeof(*g));
green            1012 drivers/gpu/drm/drm_fb_helper.c 			lut[i].green = g[i];
green            1017 drivers/gpu/drm/drm_fb_helper.c 			lut[i].green = g[i];
green            1024 drivers/gpu/drm/drm_fb_helper.c 		lut[cmap->start + i].green = cmap->green[i];
green            1092 drivers/gpu/drm/drm_fb_helper.c 		memcpy(g + cmap->start, cmap->green, cmap->len * sizeof(*g));
green            1227 drivers/gpu/drm/drm_fb_helper.c 	       var_1->green.offset == var_2->green.offset &&
green            1228 drivers/gpu/drm/drm_fb_helper.c 	       var_1->green.length == var_2->green.length &&
green            1229 drivers/gpu/drm/drm_fb_helper.c 	       var_1->green.msb_right == var_2->green.msb_right &&
green            1244 drivers/gpu/drm/drm_fb_helper.c 		var->green.offset = 0;
green            1247 drivers/gpu/drm/drm_fb_helper.c 		var->green.length = 8;
green            1254 drivers/gpu/drm/drm_fb_helper.c 		var->green.offset = 5;
green            1257 drivers/gpu/drm/drm_fb_helper.c 		var->green.length = 5;
green            1264 drivers/gpu/drm/drm_fb_helper.c 		var->green.offset = 5;
green            1267 drivers/gpu/drm/drm_fb_helper.c 		var->green.length = 6;
green            1273 drivers/gpu/drm/drm_fb_helper.c 		var->green.offset = 8;
green            1276 drivers/gpu/drm/drm_fb_helper.c 		var->green.length = 8;
green            1283 drivers/gpu/drm/drm_fb_helper.c 		var->green.offset = 8;
green            1286 drivers/gpu/drm/drm_fb_helper.c 		var->green.length = 8;
green            1339 drivers/gpu/drm/drm_fb_helper.c 	if (!var->red.offset     && !var->green.offset    &&
green            1341 drivers/gpu/drm/drm_fb_helper.c 	    !var->red.length     && !var->green.length    &&
green            1343 drivers/gpu/drm/drm_fb_helper.c 	    !var->red.msb_right  && !var->green.msb_right &&
green              39 drivers/gpu/drm/gma500/framebuffer.c static int psbfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green              55 drivers/gpu/drm/gma500/framebuffer.c 	green = CMAP_TOHW(green, info->var.green.length);
green              59 drivers/gpu/drm/gma500/framebuffer.c 	    (green << info->var.green.offset) |
green             174 drivers/gpu/drm/gma500/gma_display.c int gma_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue,
green              66 drivers/gpu/drm/gma500/gma_display.h extern int gma_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green,
green             368 drivers/gpu/drm/i915/display/intel_color.c 		(color->green & 0xff) << 8 |
green             376 drivers/gpu/drm/i915/display/intel_color.c 		(color->green >> 8) << 8 |
green             383 drivers/gpu/drm/i915/display/intel_color.c 		drm_color_lut_extract(color->green, 10) << 10 |
green             409 drivers/gpu/drm/i915/display/intel_color.c 				(drm_color_lut_extract(lut[i].green, 8) << 8) |
green             505 drivers/gpu/drm/i915/display/intel_color.c 	I915_WRITE(PIPEGCMAX(pipe, 1), lut[i].green);
green             710 drivers/gpu/drm/i915/display/intel_color.c 		I915_WRITE(PRE_CSC_GAMC_DATA(pipe), lut[i].green);
green             774 drivers/gpu/drm/i915/display/intel_color.c 	return (color->red >> 6) << 20 | (color->green >> 6) << 10 |
green             781 drivers/gpu/drm/i915/display/intel_color.c 	return (color->red & 0x3f) << 24 | (color->green & 0x3f) << 14 |
green             795 drivers/gpu/drm/i915/display/intel_color.c 	I915_WRITE(PREC_PAL_GC_MAX(pipe, 1), color->green);
green             907 drivers/gpu/drm/i915/display/intel_color.c 	return drm_color_lut_extract(color->green, 14) << 16 |
green             934 drivers/gpu/drm/i915/display/intel_color.c 	return drm_color_lut_extract(color->green, 10) << 16 |
green             160 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 				(((lut[i].green >> 6) & LUT_10BIT_MASK) << 10) +
green            1383 drivers/gpu/drm/mgag200/mgag200_mode.c static int mga_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green,
green             262 drivers/gpu/drm/nouveau/dispnv50/head507d.c 		writew(drm_color_lut_extract(in->green, 11) << 3, mem + 2);
green             221 drivers/gpu/drm/nouveau/dispnv50/head907d.c 		writew(drm_color_lut_extract(in->green, 14) + 0x6000, mem + 2);
green             109 drivers/gpu/drm/nouveau/dispnv50/headc57d.c 		u16 g = drm_color_lut_extract(in->green + 0, 16);
green             115 drivers/gpu/drm/nouveau/dispnv50/headc57d.c 			gi = (drm_color_lut_extract(in->green, 16) - g) / 4;
green             142 drivers/gpu/drm/nouveau/dispnv50/headc57d.c 		writew(drm_color_lut_extract(in->green, 16), mem + 2);
green              45 drivers/gpu/drm/nouveau/dispnv50/lut.c 				in[i].green =
green             144 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c 		u16 g = fixedU0_16_FP16(drm_color_lut_extract(in->green, 16));
green            3839 drivers/gpu/drm/omapdrm/dss/dispc.c 	{ .red = 0, .green = 0, .blue = 0, },
green            3840 drivers/gpu/drm/omapdrm/dss/dispc.c 	{ .red = U16_MAX, .green = U16_MAX, .blue = U16_MAX, },
green            3875 drivers/gpu/drm/omapdrm/dss/dispc.c 			g = (lut[i].green * (w - j) + lut[i+1].green * j) / w;
green             238 drivers/gpu/drm/radeon/radeon_display.c static int radeon_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green,
green             417 drivers/gpu/drm/stm/ltdc.c 		val = ((lut->red << 8) & 0xff0000) | (lut->green & 0xff00) |
green             244 drivers/gpu/drm/vc4/vc4_crtc.c 		vc4_crtc->lut_g[i] = drm_color_lut_extract(lut[i].green, 8);
green             338 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 		u8 green;
green            1050 drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h       uint32  green : 1;
green              72 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c static int vmw_fb_setcolreg(unsigned regno, unsigned red, unsigned green,
green              88 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 			      (green & 0xff00) |
green             120 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 		var->green.offset = 8;
green             123 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 		var->green.length = 8;
green             130 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 		var->green.offset = 8;
green             133 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 		var->green.length = 8;
green             716 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 	info->var.green.offset = 8;
green             719 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 	info->var.green.length = 8;
green             373 drivers/gpu/ipu-v3/ipu-cpmem.c 	go = rgb->bits_per_pixel - rgb->green.length - rgb->green.offset;
green             379 drivers/gpu/ipu-v3/ipu-cpmem.c 	ipu_ch_param_write_field(ch, IPU_FIELD_WID1, rgb->green.length - 1);
green             486 drivers/gpu/ipu-v3/ipu-cpmem.c 	.green	= { .offset =  8, .length = 8, },
green             494 drivers/gpu/ipu-v3/ipu-cpmem.c 	.green	= { .offset =  8, .length = 8, },
green             502 drivers/gpu/ipu-v3/ipu-cpmem.c 	.green	= { .offset = 16, .length = 8, },
green             510 drivers/gpu/ipu-v3/ipu-cpmem.c 	.green	= { .offset = 16, .length = 8, },
green             518 drivers/gpu/ipu-v3/ipu-cpmem.c 	.green	= { .offset =  8, .length = 8, },
green             526 drivers/gpu/ipu-v3/ipu-cpmem.c 	.green	= { .offset =  8, .length = 8, },
green             534 drivers/gpu/ipu-v3/ipu-cpmem.c 	.green	= { .offset =  5, .length = 6, },
green             542 drivers/gpu/ipu-v3/ipu-cpmem.c 	.green	= { .offset =  5, .length = 6, },
green             550 drivers/gpu/ipu-v3/ipu-cpmem.c 	.green	= { .offset =  5, .length = 5, },
green             558 drivers/gpu/ipu-v3/ipu-cpmem.c 	.green	= { .offset =  4, .length = 4, },
green             566 drivers/gpu/ipu-v3/ipu-cpmem.c 	.green	= { .offset =  5, .length = 5, },
green             574 drivers/gpu/ipu-v3/ipu-cpmem.c 	.green	= { .offset =  6, .length = 5, },
green             582 drivers/gpu/ipu-v3/ipu-cpmem.c 	.green	= { .offset =  6, .length = 5, },
green              91 drivers/hid/hid-led.c 	struct hidled_led	green;
green             180 drivers/hid/hid-led.c 	g = rgb->green.cdev.brightness;
green             207 drivers/hid/hid-led.c 	buf[2] = rgb->green.cdev.brightness;
green             236 drivers/hid/hid-led.c 	buf[3] = led->rgb->green.cdev.brightness;
green             283 drivers/hid/hid-led.c 	else if (led == &led->rgb->green)
green             348 drivers/hid/hid-led.c 	buf[4] = led->rgb->green.cdev.brightness;
green             440 drivers/hid/hid-led.c 	ret = hidled_init_led(&rgb->green, "green", rgb, minor);
green              72 drivers/hid/hid-picolcd_fb.c 	.green          = {
green             365 drivers/hid/hid-picolcd_fb.c 		var->green.length   = 8;
green             370 drivers/hid/hid-picolcd_fb.c 		var->green.length   = 1;
green              90 drivers/hid/hid-roccat-kone.h 	uint8_t green; /* range 0x00-0xff */
green              40 drivers/leds/leds-blinkm.c 	u8 green;		/* color green */
green             144 drivers/leds/leds-blinkm.c 		return scnprintf(buf, PAGE_SIZE, "%02X\n", data->green);
green             232 drivers/leds/leds-blinkm.c static DEVICE_ATTR(green, S_IRUGO | S_IWUSR, show_green, store_green);
green             362 drivers/leds/leds-blinkm.c 		data->green = data->args[1];
green             386 drivers/leds/leds-blinkm.c 		data->args[1] = data->green;
green             391 drivers/leds/leds-blinkm.c 		data->green = data->args[1];
green             524 drivers/media/pci/ivtv/ivtvfb.c 			switch (var->green.length) {
green             663 drivers/media/pci/ivtv/ivtvfb.c 		var->green.offset = 8;
green             664 drivers/media/pci/ivtv/ivtvfb.c 		var->green.length = 8;
green             670 drivers/media/pci/ivtv/ivtvfb.c 		switch (var->green.length) {
green             674 drivers/media/pci/ivtv/ivtvfb.c 				var->green.offset = 4;
green             675 drivers/media/pci/ivtv/ivtvfb.c 				var->green.length = 4;
green             684 drivers/media/pci/ivtv/ivtvfb.c 				var->green.offset = 5;
green             685 drivers/media/pci/ivtv/ivtvfb.c 				var->green.length = 5;
green             694 drivers/media/pci/ivtv/ivtvfb.c 				var->green.offset = 5;
green             695 drivers/media/pci/ivtv/ivtvfb.c 				var->green.length = 6;
green             857 drivers/media/pci/ivtv/ivtvfb.c static int ivtvfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             867 drivers/media/pci/ivtv/ivtvfb.c 	color = ((transp & 0xFF00) << 16) |((red & 0xFF00) << 8) | (green & 0xFF00) | ((blue & 0xFF00) >> 8);
green             879 drivers/media/pci/ivtv/ivtvfb.c 		switch (info->var.green.length) {
green             882 drivers/media/pci/ivtv/ivtvfb.c 					((green & 0xf000) >> 8) |
green             887 drivers/media/pci/ivtv/ivtvfb.c 					((green & 0xf800) >> 6) |
green             892 drivers/media/pci/ivtv/ivtvfb.c 					((green & 0xfc00) >> 5) |
green             349 drivers/media/platform/omap3isp/isppreview.c 		       (blkadj->green << ISPPRV_BLKADJOFF_G_SHIFT) |
green             567 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_writel(isp, gt->green[i], OMAP3_ISP_IOMEM_PREV,
green            1331 drivers/media/platform/omap3isp/isppreview.c 	memcpy(params->gamma.green, gamma_table, sizeof(params->gamma.green));
green            1339 drivers/media/platform/omap3isp/isppreview.c 	params->blkadj.green = FLR_BLKADJ_GREEN;
green              54 drivers/media/platform/vivid/vivid-osd.c 	if (dev->fb_defined.green.length == 6)
green             134 drivers/media/platform/vivid/vivid-osd.c 	if (var->green.length == 5) {
green             137 drivers/media/platform/vivid/vivid-osd.c 		var->green.offset = 5;
green             138 drivers/media/platform/vivid/vivid-osd.c 		var->green.length = 5;
green             146 drivers/media/platform/vivid/vivid-osd.c 		var->green.offset = 5;
green             147 drivers/media/platform/vivid/vivid-osd.c 		var->green.length = 6;
green             194 drivers/media/platform/vivid/vivid-osd.c static int vivid_fb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             204 drivers/media/platform/vivid/vivid-osd.c 		 (green & 0xFF00) | ((blue & 0xFF00) >> 8);
green             210 drivers/media/platform/vivid/vivid-osd.c 		switch (info->var.green.length) {
green             213 drivers/media/platform/vivid/vivid-osd.c 				((green & 0xfc00) >> 5) |
green             218 drivers/media/platform/vivid/vivid-osd.c 				((green & 0xf800) >> 6) |
green             300 drivers/media/platform/vivid/vivid-osd.c 	dev->fb_defined.green.length = 5;
green             993 drivers/media/platform/vivid/vivid-vid-out.c 	if (dev->fb_defined.green.length == 5)
green             275 drivers/media/usb/dvb-usb/technisat-usb2.c static int technisat_usb2_set_led_timer(struct dvb_usb_device *d, u8 red, u8 green)
green             289 drivers/media/usb/dvb-usb/technisat-usb2.c 		(red << 8) | green, 0,
green              78 drivers/net/arcnet/com20020-pci.c 	outb(!!value, priv->misc + ci->leds[card->index].green);
green             355 drivers/net/arcnet/com20020-pci.c 			.green = 0x0,
green             384 drivers/net/arcnet/com20020-pci.c 			.green = 0x0,
green             387 drivers/net/arcnet/com20020-pci.c 			.green = 0x2,
green             412 drivers/net/arcnet/com20020-pci.c 			.green = 0x0,
green              41 drivers/net/arcnet/com20020.h 	int green;
green             778 drivers/net/usb/r8152.c 		u32 green:1;
green            2903 drivers/net/usb/r8152.c 	if (tp->ups_info.green)
green            2989 drivers/net/usb/r8152.c 	tp->ups_info.green = enable;
green             250 drivers/platform/chrome/cros_ec_lightbar.c 			param->set_rgb.green = val[2];
green             186 drivers/platform/x86/alienware-wmi.c 	u8 green;
green             258 drivers/platform/x86/alienware-wmi.c 		 repackager.cp.red, repackager.cp.green, repackager.cp.blue);
green             329 drivers/platform/x86/alienware-wmi.c 		       target_zone->colors.green, target_zone->colors.blue);
green             148 drivers/staging/fbtft/fb_uc1611.c 	par->info->var.green.offset  = 0;
green             149 drivers/staging/fbtft/fb_uc1611.c 	par->info->var.green.length  = 8;
green             437 drivers/staging/fbtft/fbtft-core.c 			      unsigned int green, unsigned int blue,
green             445 drivers/staging/fbtft/fbtft-core.c 		__func__, regno, red, green, blue, transp);
green             453 drivers/staging/fbtft/fbtft-core.c 			val |= chan_to_field(green, &info->var.green);
green             690 drivers/staging/fbtft/fbtft-core.c 	info->var.green.offset =   5;
green             691 drivers/staging/fbtft/fbtft-core.c 	info->var.green.length =   6;
green             137 drivers/staging/sm750fb/sm750.c 		     ((info->cmap.green[fbcursor->image.fg_color] & 0xfc00) >> 5) |
green             141 drivers/staging/sm750fb/sm750.c 		     ((info->cmap.green[fbcursor->image.bg_color] & 0xfc00) >> 5) |
green             336 drivers/staging/sm750fb/sm750.c 		var->green.offset = 0;
green             337 drivers/staging/sm750fb/sm750.c 		var->green.length = 8;
green             346 drivers/staging/sm750fb/sm750.c 		var->green.offset = 5;
green             347 drivers/staging/sm750fb/sm750.c 		var->green.length = 6;
green             358 drivers/staging/sm750fb/sm750.c 		var->green.offset = 8;
green             359 drivers/staging/sm750fb/sm750.c 		var->green.length = 8;
green             531 drivers/staging/sm750fb/sm750.c 		var->green.offset = 0;
green             532 drivers/staging/sm750fb/sm750.c 		var->green.length = 8;
green             541 drivers/staging/sm750fb/sm750.c 		var->green.offset = 5;
green             542 drivers/staging/sm750fb/sm750.c 		var->green.length = 6;
green             553 drivers/staging/sm750fb/sm750.c 		var->green.offset = 8;
green             554 drivers/staging/sm750fb/sm750.c 		var->green.length = 8;
green             582 drivers/staging/sm750fb/sm750.c 				unsigned int green,
green             603 drivers/staging/sm750fb/sm750.c 		red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green             608 drivers/staging/sm750fb/sm750.c 		green >>= 8;
green             610 drivers/staging/sm750fb/sm750.c 		ret = hw_sm750_setColReg(crtc, regno, red, green, blue);
green             621 drivers/staging/sm750fb/sm750.c 			val |= chan_to_field(green, &var->green);
green             913 drivers/staging/sm750fb/sm750.c 		 info->cmap.red, info->cmap.green, info->cmap.blue,
green             924 drivers/staging/sm750fb/sm750.c 		 info->cmap.red, info->cmap.green, info->cmap.blue,
green             205 drivers/staging/sm750fb/sm750.h 		       ushort red, ushort green, ushort blue);
green             376 drivers/staging/sm750fb/sm750_hw.c 		       ushort red, ushort green, ushort blue)
green             381 drivers/staging/sm750fb/sm750_hw.c 	       (red << 16) | (green << 8) | blue);
green              60 drivers/video/fbdev/68328fb.c       	.green =	{ 0, 8, 0 },
green              93 drivers/video/fbdev/68328fb.c static int mc68x328fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             194 drivers/video/fbdev/68328fb.c 		var->green.offset = 0;
green             195 drivers/video/fbdev/68328fb.c 		var->green.length = 1;
green             204 drivers/video/fbdev/68328fb.c 		var->green.offset = 0;
green             205 drivers/video/fbdev/68328fb.c 		var->green.length = 8;
green             215 drivers/video/fbdev/68328fb.c 			var->green.offset = 5;
green             216 drivers/video/fbdev/68328fb.c 			var->green.length = 5;
green             224 drivers/video/fbdev/68328fb.c 			var->green.offset = 5;
green             225 drivers/video/fbdev/68328fb.c 			var->green.length = 6;
green             235 drivers/video/fbdev/68328fb.c 		var->green.offset = 8;
green             236 drivers/video/fbdev/68328fb.c 		var->green.length = 8;
green             245 drivers/video/fbdev/68328fb.c 		var->green.offset = 8;
green             246 drivers/video/fbdev/68328fb.c 		var->green.length = 8;
green             254 drivers/video/fbdev/68328fb.c 	var->green.msb_right = 0;
green             278 drivers/video/fbdev/68328fb.c static int mc68x328fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             290 drivers/video/fbdev/68328fb.c 		red = green = blue =
green             291 drivers/video/fbdev/68328fb.c 		    (red * 77 + green * 151 + blue * 28) >> 8;
green             320 drivers/video/fbdev/68328fb.c 		green = CNVT_TOHW(green, info->var.green.length);
green             326 drivers/video/fbdev/68328fb.c 		green = CNVT_TOHW(green, 8);
green             341 drivers/video/fbdev/68328fb.c 		    (green << info->var.green.offset) |
green             461 drivers/video/fbdev/68328fb.c 		fb_info.var.red.length = fb_info.var.green.length = fb_info.var.blue.length = 1;
green             462 drivers/video/fbdev/68328fb.c 		fb_info.var.red.offset = fb_info.var.green.offset = fb_info.var.blue.offset = 0;
green             266 drivers/video/fbdev/acornfb.c acornfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             278 drivers/video/fbdev/acornfb.c 		pseudo_val |= regno << info->var.green.offset;
green             286 drivers/video/fbdev/acornfb.c 	pal.vidc20.green = green >> 8;
green             298 drivers/video/fbdev/acornfb.c 			pal.vidc20.green = current_par.palette[(i >> 1) & 31].vidc20.green;
green             459 drivers/video/fbdev/acornfb.c 	var->green.msb_right = 0;
green             467 drivers/video/fbdev/acornfb.c 		var->green         = var->red;
green             477 drivers/video/fbdev/acornfb.c 		var->green.offset  = 5;
green             478 drivers/video/fbdev/acornfb.c 		var->green.length  = 5;
green             488 drivers/video/fbdev/acornfb.c 		var->green.offset  = 8;
green             489 drivers/video/fbdev/acornfb.c 		var->green.length  = 8;
green             719 drivers/video/fbdev/acornfb.c 	fb_info.var.green	   = fb_info.var.red;
green              20 drivers/video/fbdev/acornfb.h 	u_int green:8;
green              28 drivers/video/fbdev/acornfb.h 	u_int green:4;
green             158 drivers/video/fbdev/amba-clcd.c 	var->green.msb_right = 0;
green             175 drivers/video/fbdev/amba-clcd.c 		var->green.length	= var->bits_per_pixel;
green             176 drivers/video/fbdev/amba-clcd.c 		var->green.offset	= 0;
green             192 drivers/video/fbdev/amba-clcd.c 		if (var->green.length == 4 && caps & CLCD_CAP_444)
green             194 drivers/video/fbdev/amba-clcd.c 		if (var->green.length == 5 && caps & CLCD_CAP_5551)
green             196 drivers/video/fbdev/amba-clcd.c 		else if (var->green.length == 6 && caps & CLCD_CAP_565)
green             204 drivers/video/fbdev/amba-clcd.c 				var->green.length = 6;
green             207 drivers/video/fbdev/amba-clcd.c 				var->green.length = 5;
green             210 drivers/video/fbdev/amba-clcd.c 				var->green.length = 4;
green             215 drivers/video/fbdev/amba-clcd.c 		if (var->green.length >= 5) {
green             232 drivers/video/fbdev/amba-clcd.c 		var->green.length = 8;
green             261 drivers/video/fbdev/amba-clcd.c 			var->green.offset = var->blue.offset + var->blue.length;
green             262 drivers/video/fbdev/amba-clcd.c 			var->red.offset = var->green.offset + var->green.length;
green             265 drivers/video/fbdev/amba-clcd.c 			var->green.offset = var->red.offset + var->red.length;
green             266 drivers/video/fbdev/amba-clcd.c 			var->blue.offset = var->green.offset + var->green.length;
green             348 drivers/video/fbdev/amba-clcd.c clcdfb_setcolreg(unsigned int regno, unsigned int red, unsigned int green,
green             356 drivers/video/fbdev/amba-clcd.c 				  convert_bitfield(green, &fb->fb.var.green) |
green             364 drivers/video/fbdev/amba-clcd.c 		newval |= (green >> 6) & 0x03e0;
green            1036 drivers/video/fbdev/amifb.c #define rgb2hw8_high(red, green, blue) \
green            1037 drivers/video/fbdev/amifb.c 	(((red & 0xf0) << 4) | (green & 0xf0) | ((blue & 0xf0)>>4))
green            1038 drivers/video/fbdev/amifb.c #define rgb2hw8_low(red, green, blue) \
green            1039 drivers/video/fbdev/amifb.c 	(((red & 0x0f) << 8) | ((green & 0x0f) << 4) | (blue & 0x0f))
green            1040 drivers/video/fbdev/amifb.c #define rgb2hw4(red, green, blue) \
green            1041 drivers/video/fbdev/amifb.c 	(((red & 0xf0) << 4) | (green & 0xf0) | ((blue & 0xf0)>>4))
green            1042 drivers/video/fbdev/amifb.c #define rgb2hw2(red, green, blue) \
green            1043 drivers/video/fbdev/amifb.c 	(((red & 0xc0) << 4) | (green & 0xc0) | ((blue & 0xc0)>>4))
green            1534 drivers/video/fbdev/amifb.c 	var->blue = var->green = var->red;
green            1752 drivers/video/fbdev/amifb.c 	u_char red, green, blue;
green            1756 drivers/video/fbdev/amifb.c 		red = green = blue = 0;
green            1788 drivers/video/fbdev/amifb.c 		green = green0;
green            1801 drivers/video/fbdev/amifb.c 		custom.color[0] = rgb2hw8_high(red, green, blue);
green            1803 drivers/video/fbdev/amifb.c 		custom.color[0] = rgb2hw8_low(red, green, blue);
green            1813 drivers/video/fbdev/amifb.c 		color = rgb2hw2(red, green, blue);
green            1821 drivers/video/fbdev/amifb.c 		custom.color[0] = rgb2hw4(red, green, blue);
green            2447 drivers/video/fbdev/amifb.c static int amifb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green            2463 drivers/video/fbdev/amifb.c 	green >>= 8;
green            2467 drivers/video/fbdev/amifb.c 		green0 = green;
green            2485 drivers/video/fbdev/amifb.c 			custom.color[regno & 31] = rgb2hw8_high(red, green,
green            2489 drivers/video/fbdev/amifb.c 			custom.color[regno & 31] = rgb2hw8_low(red, green,
green            2501 drivers/video/fbdev/amifb.c 			color = rgb2hw2(red, green, blue);
green            2512 drivers/video/fbdev/amifb.c 			custom.color[regno] = rgb2hw4(red, green, blue);
green             802 drivers/video/fbdev/arkfb.c static int arkfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             820 drivers/video/fbdev/arkfb.c 		outb(green >> 10, VGA_PEL_D);
green             830 drivers/video/fbdev/arkfb.c 		outb(green >> 10, VGA_PEL_D);
green             837 drivers/video/fbdev/arkfb.c 		if (fb->var.green.length == 5)
green             839 drivers/video/fbdev/arkfb.c 				((green & 0xF800) >> 6) | ((blue & 0xF800) >> 11);
green             840 drivers/video/fbdev/arkfb.c 		else if (fb->var.green.length == 6)
green             842 drivers/video/fbdev/arkfb.c 				((green & 0xFC00) >> 5) | ((blue & 0xF800) >> 11);
green             852 drivers/video/fbdev/arkfb.c 			(green & 0xFF00) | ((blue & 0xFF00) >> 8);
green              95 drivers/video/fbdev/asiliantfb.c static int asiliantfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             245 drivers/video/fbdev/asiliantfb.c 		var->green.offset = 8;
green             247 drivers/video/fbdev/asiliantfb.c 		var->red.length = var->blue.length = var->green.length = 8;
green             251 drivers/video/fbdev/asiliantfb.c 				var->green.length = 6;
green             254 drivers/video/fbdev/asiliantfb.c 				var->green.length = 5;
green             259 drivers/video/fbdev/asiliantfb.c 		var->green.offset = 5;
green             263 drivers/video/fbdev/asiliantfb.c 		var->red.offset = var->green.offset = var->blue.offset = 0;
green             264 drivers/video/fbdev/asiliantfb.c 		var->red.length = var->green.length = var->blue.length = 8;
green             306 drivers/video/fbdev/asiliantfb.c static int asiliantfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             312 drivers/video/fbdev/asiliantfb.c 	green >>= 8;
green             319 drivers/video/fbdev/asiliantfb.c 	writeb(green, mmio_base + 0x791);
green             327 drivers/video/fbdev/asiliantfb.c 				((green & 0xf8) << 2) |
green             333 drivers/video/fbdev/asiliantfb.c 				((green & 0xfc) << 3) |
green             339 drivers/video/fbdev/asiliantfb.c 				(green << 8) |
green             493 drivers/video/fbdev/asiliantfb.c 	.green 		= { .length = 8 },
green             732 drivers/video/fbdev/atafb.c 	var->blue = var->green = var->red;
green             783 drivers/video/fbdev/atafb.c 			unsigned int green, unsigned int blue,
green             790 drivers/video/fbdev/atafb.c 	tt_palette[regno] = (((red >> 12) << 8) | ((green >> 12) << 4) |
green            1439 drivers/video/fbdev/atafb.c 		var->green.offset = 5;
green            1440 drivers/video/fbdev/atafb.c 		var->green.length = 6;
green            1441 drivers/video/fbdev/atafb.c 		var->green.msb_right = 0;
green            1452 drivers/video/fbdev/atafb.c 		var->blue = var->green = var->red;
green            1685 drivers/video/fbdev/atafb.c 			    unsigned int green, unsigned int blue,
green            1691 drivers/video/fbdev/atafb.c 			   ((green & 0xfc00) << 8) |
green            1696 drivers/video/fbdev/atafb.c 			(((green & 0xe000) >> 13) | ((green & 0x1000) >> 12) << 4) |
green            1699 drivers/video/fbdev/atafb.c 						       ((green & 0xfc00) >> 5) |
green            1918 drivers/video/fbdev/atafb.c 	var->blue = var->green = var->red;
green            1973 drivers/video/fbdev/atafb.c 			   unsigned int green, unsigned int blue,
green            1980 drivers/video/fbdev/atafb.c 	green >>= 12;
green            1984 drivers/video/fbdev/atafb.c 			(((green & 0xe) >> 1) | ((green & 1) << 3) << 4) |
green            1989 drivers/video/fbdev/atafb.c 			((green & 0xe) << 3) |
green            2178 drivers/video/fbdev/atafb.c 	var->blue = var->green = var->red;
green            2211 drivers/video/fbdev/atafb.c 			 unsigned int green, unsigned int blue,
green            2228 drivers/video/fbdev/atafb.c 		OUTB(0x3c9, green & colmask);
green            2236 drivers/video/fbdev/atafb.c 		OUTB((MV300_reg[regno] << 2) + 1, green);
green            2418 drivers/video/fbdev/atafb.c static int atafb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green            2422 drivers/video/fbdev/atafb.c 	green >>= 8;
green            2425 drivers/video/fbdev/atafb.c 	return info->fbops->fb_setcolreg(regno, red, green, blue, transp, info);
green            2679 drivers/video/fbdev/atafb.c 		cmap.green = black;
green             445 drivers/video/fbdev/atmel_lcdfb.c 	var->red.msb_right = var->green.msb_right = var->blue.msb_right = 0;
green             485 drivers/video/fbdev/atmel_lcdfb.c 		var->red.offset = var->green.offset = var->blue.offset = 0;
green             486 drivers/video/fbdev/atmel_lcdfb.c 		var->red.length = var->green.length = var->blue.length
green             492 drivers/video/fbdev/atmel_lcdfb.c 			var->green.length = 5;
green             494 drivers/video/fbdev/atmel_lcdfb.c 			var->green.length = 6;
green             498 drivers/video/fbdev/atmel_lcdfb.c 			var->red.offset = var->green.length + 5;
green             503 drivers/video/fbdev/atmel_lcdfb.c 			var->blue.offset = var->green.length + 5;
green             505 drivers/video/fbdev/atmel_lcdfb.c 		var->green.offset = 5;
green             522 drivers/video/fbdev/atmel_lcdfb.c 		var->green.offset = 8;
green             523 drivers/video/fbdev/atmel_lcdfb.c 		var->red.length = var->green.length = var->blue.length = 8;
green             724 drivers/video/fbdev/atmel_lcdfb.c 			     unsigned int green, unsigned int blue,
green             734 drivers/video/fbdev/atmel_lcdfb.c 		red = green = blue = (19595 * red + 38470 * green
green             743 drivers/video/fbdev/atmel_lcdfb.c 			val |= chan_to_field(green, &info->var.green);
green             756 drivers/video/fbdev/atmel_lcdfb.c 				val |= ((green >>  6) & 0x03e0);
green             773 drivers/video/fbdev/atmel_lcdfb.c 				val |= ((green >>  5) & 0x07e0);
green             463 drivers/video/fbdev/aty/aty128fb.c 	u8	green[64];
green             474 drivers/video/fbdev/aty/aty128fb.c static int aty128fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green            1070 drivers/video/fbdev/aty/aty128fb.c 		depth = (var->green.length == 6) ? 16 : 15;
green            1172 drivers/video/fbdev/aty/aty128fb.c 	var->green.msb_right = 0;
green            1183 drivers/video/fbdev/aty/aty128fb.c 		var->green.offset = 0;
green            1184 drivers/video/fbdev/aty/aty128fb.c 		var->green.length = 8;
green            1191 drivers/video/fbdev/aty/aty128fb.c 		var->green.offset = 5;
green            1192 drivers/video/fbdev/aty/aty128fb.c 		var->green.length = 5;
green            1199 drivers/video/fbdev/aty/aty128fb.c 		var->green.offset = 5;
green            1200 drivers/video/fbdev/aty/aty128fb.c 		var->green.length = 6;
green            1207 drivers/video/fbdev/aty/aty128fb.c 		var->green.offset = 8;
green            1208 drivers/video/fbdev/aty/aty128fb.c 		var->green.length = 8;
green            1215 drivers/video/fbdev/aty/aty128fb.c 		var->green.offset = 8;
green            1216 drivers/video/fbdev/aty/aty128fb.c 		var->green.length = 8;
green            1659 drivers/video/fbdev/aty/aty128fb.c static void aty128_st_pal(u_int regno, u_int red, u_int green, u_int blue,
green            1668 drivers/video/fbdev/aty/aty128fb.c 	aty_st_le32(PALETTE_DATA, (red<<16)|(green<<8)|blue);
green            2237 drivers/video/fbdev/aty/aty128fb.c static int aty128fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green            2248 drivers/video/fbdev/aty/aty128fb.c 	green >>= 8;
green            2280 drivers/video/fbdev/aty/aty128fb.c 		par->green[regno] = green;
green            2284 drivers/video/fbdev/aty/aty128fb.c 			aty128_st_pal(regno * 8, red, par->green[regno*2],
green            2292 drivers/video/fbdev/aty/aty128fb.c 	aty128_st_pal(regno, red, green, blue, par);
green             131 drivers/video/fbdev/aty/atyfb.h 	struct { u8 red, green, blue; } palette[256];
green             232 drivers/video/fbdev/aty/atyfb_base.c static int atyfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             820 drivers/video/fbdev/aty/atyfb_base.c 		bpp = (var->green.length == 5) ? 15 : 16;
green            1195 drivers/video/fbdev/aty/atyfb_base.c 		var->green.offset = 0;
green            1196 drivers/video/fbdev/aty/atyfb_base.c 		var->green.length = 8;
green            1206 drivers/video/fbdev/aty/atyfb_base.c 		var->green.offset = 5;
green            1207 drivers/video/fbdev/aty/atyfb_base.c 		var->green.length = 5;
green            1217 drivers/video/fbdev/aty/atyfb_base.c 		var->green.offset = 5;
green            1218 drivers/video/fbdev/aty/atyfb_base.c 		var->green.length = 6;
green            1228 drivers/video/fbdev/aty/atyfb_base.c 		var->green.offset = 8;
green            1229 drivers/video/fbdev/aty/atyfb_base.c 		var->green.length = 8;
green            1239 drivers/video/fbdev/aty/atyfb_base.c 		var->green.offset = 8;
green            1240 drivers/video/fbdev/aty/atyfb_base.c 		var->green.length = 8;
green            2818 drivers/video/fbdev/aty/atyfb_base.c static void aty_st_pal(u_int regno, u_int red, u_int green, u_int blue,
green            2823 drivers/video/fbdev/aty/atyfb_base.c 	aty_st_8(DAC_DATA, green, par);
green            2834 drivers/video/fbdev/aty/atyfb_base.c static int atyfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green            2843 drivers/video/fbdev/aty/atyfb_base.c 		depth = (info->var.green.length == 5) ? 15 : 16;
green            2854 drivers/video/fbdev/aty/atyfb_base.c 	green >>= 8;
green            2858 drivers/video/fbdev/aty/atyfb_base.c 	par->palette[regno].green = green;
green            2889 drivers/video/fbdev/aty/atyfb_base.c 					   par->palette[regno << 1].green,
green            2897 drivers/video/fbdev/aty/atyfb_base.c 				aty_st_pal(regno + i, red, green, blue, par);
green            2900 drivers/video/fbdev/aty/atyfb_base.c 	aty_st_pal(regno, red, green, blue, par);
green             132 drivers/video/fbdev/aty/mach64_cursor.c 		     ((info->cmap.green[fg_idx] & 0xff) << 16) |
green             136 drivers/video/fbdev/aty/mach64_cursor.c 		     ((info->cmap.green[bg_idx] & 0xff) << 16) |
green             868 drivers/video/fbdev/aty/radeon_base.c                         v.red.offset = v.green.offset = v.blue.offset = 0;
green             869 drivers/video/fbdev/aty/radeon_base.c                         v.red.length = v.green.length = v.blue.length = 8;
green             876 drivers/video/fbdev/aty/radeon_base.c 			v.green.offset = 5;
green             878 drivers/video/fbdev/aty/radeon_base.c 			v.red.length = v.green.length = v.blue.length = 5;
green             885 drivers/video/fbdev/aty/radeon_base.c                         v.green.offset = 5;
green             888 drivers/video/fbdev/aty/radeon_base.c                         v.green.length = 6;
green             896 drivers/video/fbdev/aty/radeon_base.c                         v.green.offset = 8;
green             898 drivers/video/fbdev/aty/radeon_base.c                         v.red.length = v.blue.length = v.green.length = 8;
green             905 drivers/video/fbdev/aty/radeon_base.c                         v.green.offset = 8;
green             907 drivers/video/fbdev/aty/radeon_base.c                         v.red.length = v.blue.length = v.green.length = 8;
green             946 drivers/video/fbdev/aty/radeon_base.c         v.red.msb_right = v.green.msb_right = v.blue.msb_right =
green            1168 drivers/video/fbdev/aty/radeon_base.c static int radeon_setcolreg (unsigned regno, unsigned red, unsigned green,
green            1180 drivers/video/fbdev/aty/radeon_base.c 	green >>= 8;
green            1183 drivers/video/fbdev/aty/radeon_base.c 	rinfo->palette[regno].green = green;
green            1207 drivers/video/fbdev/aty/radeon_base.c 	                        	(green << 8) |
green            1209 drivers/video/fbdev/aty/radeon_base.c 	                	green = rinfo->palette[regno<<1].green;
green            1216 drivers/video/fbdev/aty/radeon_base.c 			       (green << 8) | blue);
green            1240 drivers/video/fbdev/aty/radeon_base.c static int radeonfb_setcolreg (unsigned regno, unsigned red, unsigned green,
green            1263 drivers/video/fbdev/aty/radeon_base.c 	rc = radeon_setcolreg (regno, red, green, blue, transp, rinfo);
green            1274 drivers/video/fbdev/aty/radeon_base.c 	u16 *red, *green, *blue, *transp;
green            1294 drivers/video/fbdev/aty/radeon_base.c 	green = cmap->green;
green            1303 drivers/video/fbdev/aty/radeon_base.c 		hgreen = *green++;
green              15 drivers/video/fbdev/aty/radeon_monitor.c 	.green		= { .length = 8 },
green             313 drivers/video/fbdev/aty/radeonfb.h 	struct { u8 red, green, blue, pad; }
green             448 drivers/video/fbdev/aty/radeonfb.h 	return (var->green.length == 5) ? 15 : 16;
green             155 drivers/video/fbdev/au1100fb.c 			info->var.green.offset  = 0;
green             156 drivers/video/fbdev/au1100fb.c 			info->var.green.length  = info->var.bits_per_pixel;
green             157 drivers/video/fbdev/au1100fb.c 			info->var.green.msb_right = 0;
green             174 drivers/video/fbdev/au1100fb.c 			info->var.green = rgb_bitfields[index][1];
green             235 drivers/video/fbdev/au1100fb.c int au1100fb_fb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *fbi)
green             249 drivers/video/fbdev/au1100fb.c 		red = green = blue =
green             250 drivers/video/fbdev/au1100fb.c 			(19595 * red + 38470 * green + 7471 * blue) >> 16;
green             261 drivers/video/fbdev/au1100fb.c 		green >>= (16 - fbi->var.green.length);
green             265 drivers/video/fbdev/au1100fb.c 			(green << fbi->var.green.offset)|
green             271 drivers/video/fbdev/au1100fb.c 		value = (red & 0xF800)|((green >> 5) & 0x07E0)|((blue >> 11) & 0x001F);
green             277 drivers/video/fbdev/au1100fb.c 			((green >> 8) & 0x00F0) |
green             282 drivers/video/fbdev/au1100fb.c 		value = (green >> 12) & 0x000F;
green            1099 drivers/video/fbdev/au1200fb.c 			var->green  = rgb_bitfields[idx][1];
green            1112 drivers/video/fbdev/au1200fb.c 			var->green  = rgb_bitfields[idx][1];
green            1142 drivers/video/fbdev/au1200fb.c static int au1200fb_fb_setcolreg(unsigned regno, unsigned red, unsigned green,
green            1153 drivers/video/fbdev/au1200fb.c 		red = green = blue =
green            1154 drivers/video/fbdev/au1200fb.c 			(19595 * red + 38470 * green + 7471 * blue) >> 16;
green            1165 drivers/video/fbdev/au1200fb.c 		green >>= (16 - fbi->var.green.length);
green            1169 drivers/video/fbdev/au1200fb.c 			(green << fbi->var.green.offset)|
green            1175 drivers/video/fbdev/au1200fb.c 		value = (red & 0xF800)|((green >> 5) &
green            1185 drivers/video/fbdev/au1200fb.c 		value = (green >> 12) & 0x000F;
green             113 drivers/video/fbdev/broadsheetfb.c 	.green =	{ 0, 4, 0 },
green            1148 drivers/video/fbdev/broadsheetfb.c 	memcpy(info->cmap.green, info->cmap.red, sizeof(u16)*16);
green             299 drivers/video/fbdev/bw2.c 	info->var.red.length = info->var.green.length =
green             301 drivers/video/fbdev/bw2.c 	info->var.red.offset = info->var.green.offset =
green             163 drivers/video/fbdev/carminefb.c static int carmine_setcolreg(unsigned regno, unsigned red, unsigned green,
green             170 drivers/video/fbdev/carminefb.c 	green >>= 8;
green             175 drivers/video/fbdev/carminefb.c 		red << 0 | green << 8 | blue << 16);
green             199 drivers/video/fbdev/carminefb.c 	var->green.offset = 8;
green             204 drivers/video/fbdev/carminefb.c 	var->green.offset = 8;
green             209 drivers/video/fbdev/carminefb.c 	var->green.length = 8;
green             214 drivers/video/fbdev/carminefb.c 	var->green.msb_right = 0;
green             244 drivers/video/fbdev/cg14.c 			  unsigned red, unsigned green, unsigned blue,
green             256 drivers/video/fbdev/cg14.c 	green >>= 8;
green             258 drivers/video/fbdev/cg14.c 	val = (red | (green << 8) | (blue << 16));
green             483 drivers/video/fbdev/cg14.c 	info->var.green.length = 8;
green             139 drivers/video/fbdev/cg3.c 			 unsigned red, unsigned green, unsigned blue,
green             153 drivers/video/fbdev/cg3.c 	green >>= 8;
green             160 drivers/video/fbdev/cg3.c 	p8[1] = green;
green             371 drivers/video/fbdev/cg3.c 	info->var.green.length = 8;
green             485 drivers/video/fbdev/cg6.c 			 unsigned red, unsigned green, unsigned blue,
green             496 drivers/video/fbdev/cg6.c 	green >>= 8;
green             503 drivers/video/fbdev/cg6.c 	sbus_writel((u32)green << 24, &bt->color_map);
green             763 drivers/video/fbdev/cg6.c 	info->var.green.length = 8;
green              78 drivers/video/fbdev/chipsfb.c static int chipsfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             121 drivers/video/fbdev/chipsfb.c 		info->var.green.offset = 5;
green             123 drivers/video/fbdev/chipsfb.c 		info->var.red.length = info->var.green.length =
green             136 drivers/video/fbdev/chipsfb.c  		info->var.red.offset = info->var.green.offset =
green             138 drivers/video/fbdev/chipsfb.c 		info->var.red.length = info->var.green.length =
green             150 drivers/video/fbdev/chipsfb.c static int chipsfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             156 drivers/video/fbdev/chipsfb.c 	green >>= 8;
green             161 drivers/video/fbdev/chipsfb.c 	outb(green, 0x3c9);
green             318 drivers/video/fbdev/chipsfb.c 	.green = { .length = 8 },
green             390 drivers/video/fbdev/cirrusfb.c 		  unsigned char red, unsigned char green, unsigned char blue);
green             393 drivers/video/fbdev/cirrusfb.c 		  unsigned char *red, unsigned char *green,
green             542 drivers/video/fbdev/cirrusfb.c 		var->green = var->red;
green             549 drivers/video/fbdev/cirrusfb.c 		var->green = var->red;
green             555 drivers/video/fbdev/cirrusfb.c 		var->green.offset = 5;
green             558 drivers/video/fbdev/cirrusfb.c 		var->green.length = 6;
green             564 drivers/video/fbdev/cirrusfb.c 		var->green.offset = 8;
green             567 drivers/video/fbdev/cirrusfb.c 		var->green.length = 8;
green             605 drivers/video/fbdev/cirrusfb.c 	    var->green.msb_right =
green            1276 drivers/video/fbdev/cirrusfb.c static int cirrusfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green            1288 drivers/video/fbdev/cirrusfb.c 		green >>= (16 - info->var.green.length);
green            1294 drivers/video/fbdev/cirrusfb.c 		    (green << info->var.green.offset) |
green            1302 drivers/video/fbdev/cirrusfb.c 		WClut(cinfo, regno, red >> 10, green >> 10, blue >> 10);
green            2529 drivers/video/fbdev/cirrusfb.c 	    unsigned char green, unsigned char blue)
green            2543 drivers/video/fbdev/cirrusfb.c 		vga_w(cinfo->regbase, data, green);
green            2547 drivers/video/fbdev/cirrusfb.c 		vga_w(cinfo->regbase, data, green);
green            2555 drivers/video/fbdev/cirrusfb.c 	    unsigned char *green, unsigned char *blue)
green            2566 drivers/video/fbdev/cirrusfb.c 		*green = vga_r(cinfo->regbase, data);
green            2570 drivers/video/fbdev/cirrusfb.c 		*green = vga_r(cinfo->regbase, data);
green              44 drivers/video/fbdev/clps711x-fb.c static int clps711x_fb_setcolreg(u_int regno, u_int red, u_int green,
green              56 drivers/video/fbdev/clps711x-fb.c 	level = (((red * 77 + green * 151 + blue * 28) >> 20) << shift) & mask;
green              94 drivers/video/fbdev/clps711x-fb.c 	var->green		= var->red;
green              91 drivers/video/fbdev/controlfb.c 		&& !DIRTY_CMAP(red) && !DIRTY_CMAP(green) && !DIRTY_CMAP(blue));
green             126 drivers/video/fbdev/controlfb.c static int controlfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             343 drivers/video/fbdev/controlfb.c static int controlfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             354 drivers/video/fbdev/controlfb.c 	g = green >> 8;
green             974 drivers/video/fbdev/controlfb.c 		var->green.length = 8;
green             981 drivers/video/fbdev/controlfb.c 		var->green.offset = 5;
green             982 drivers/video/fbdev/controlfb.c 		var->green.length = 5;
green             989 drivers/video/fbdev/controlfb.c 		var->green.offset = 8;
green             990 drivers/video/fbdev/controlfb.c 		var->green.length = 8;
green              64 drivers/video/fbdev/core/fbcmap.c     .len=2, .red=red2, .green=green2, .blue=blue2
green              67 drivers/video/fbdev/core/fbcmap.c     .len=8, .red=red8, .green=green8, .blue=blue8
green              70 drivers/video/fbdev/core/fbcmap.c     .len=4, .red=red4, .green=green4, .blue=blue4
green              73 drivers/video/fbdev/core/fbcmap.c     .len=16, .red=red16, .green=green16, .blue=blue16
green             107 drivers/video/fbdev/core/fbcmap.c 		cmap->green = kmalloc(size, flags);
green             108 drivers/video/fbdev/core/fbcmap.c 		if (!cmap->green)
green             150 drivers/video/fbdev/core/fbcmap.c 	kfree(cmap->green);
green             154 drivers/video/fbdev/core/fbcmap.c 	cmap->red = cmap->green = cmap->blue = cmap->transp = NULL;
green             184 drivers/video/fbdev/core/fbcmap.c 	memcpy(to->green+tooff, from->green+fromoff, size);
green             210 drivers/video/fbdev/core/fbcmap.c 	if (copy_to_user(to->green+tooff, from->green+fromoff, size))
green             234 drivers/video/fbdev/core/fbcmap.c 	u16 *red, *green, *blue, *transp;
green             238 drivers/video/fbdev/core/fbcmap.c 	green = cmap->green;
green             251 drivers/video/fbdev/core/fbcmap.c 			hgreen = *green++;
green             281 drivers/video/fbdev/core/fbcmap.c 	    copy_from_user(umap.green, cmap->green, size) ||
green             935 drivers/video/fbdev/core/fbcon.c 	disp->green = var->green;
green             959 drivers/video/fbdev/core/fbcon.c 	var->green = disp->green;
green              48 drivers/video/fbdev/core/fbcon.h     struct fb_bitfield green;
green             114 drivers/video/fbdev/core/fbcon.h 	max_len = max(info->var.green.length, info->var.red.length);
green              96 drivers/video/fbdev/core/fbmem.c 		if (var->green.length == var->blue.length &&
green              97 drivers/video/fbdev/core/fbmem.c 		    var->green.length == var->red.length &&
green              98 drivers/video/fbdev/core/fbmem.c 		    var->green.offset == var->blue.offset &&
green              99 drivers/video/fbdev/core/fbmem.c 		    var->green.offset == var->red.offset)
green             100 drivers/video/fbdev/core/fbmem.c 			depth = var->green.length;
green             102 drivers/video/fbdev/core/fbmem.c 			depth = var->green.length + var->red.length +
green             206 drivers/video/fbdev/core/fbmem.c 	palette_cmap.green = palette_green;
green             219 drivers/video/fbdev/core/fbmem.c 			palette_cmap.green[j] = clut[1] << 8 | clut[1];
green             243 drivers/video/fbdev/core/fbmem.c 	greenmask = mask[info->var.green.length < 8 ? info->var.green.length : 8];
green             246 drivers/video/fbdev/core/fbmem.c 	greenshift = info->var.green.offset - (8 - info->var.green.length);
green             265 drivers/video/fbdev/core/fbmem.c 	greenshift = info->var.green.offset;
green             295 drivers/video/fbdev/core/fbmem.c 		fg = ~((u8) (0xfff << info->var.green.length));
green             630 drivers/video/fbdev/core/fbmem.c 		if (info->var.green.length < depth)
green             631 drivers/video/fbdev/core/fbmem.c 			depth = info->var.green.length;
green             991 drivers/video/fbdev/core/fbmem.c 		if (var->red.offset     || var->green.offset    ||
green             993 drivers/video/fbdev/core/fbmem.c 		    var->red.length     || var->green.length    ||
green             995 drivers/video/fbdev/core/fbmem.c 		    var->red.msb_right  || var->green.msb_right ||
green            1205 drivers/video/fbdev/core/fbmem.c 	compat_caddr_t	green;
green            1226 drivers/video/fbdev/core/fbmem.c 	    get_user(data, &cmap32->green) ||
green            1227 drivers/video/fbdev/core/fbmem.c 	    put_user(compat_ptr(data), &cmap->green) ||
green             611 drivers/video/fbdev/core/svgalib.c 		    (var->green.length   <= frm->green.length)   &&
green             633 drivers/video/fbdev/core/svgalib.c 		var->green          = frm[i].green;
green              74 drivers/video/fbdev/cyber2000fb.c 		u8 red, green, blue;
green             272 drivers/video/fbdev/cyber2000fb.c cyber2000fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             298 drivers/video/fbdev/cyber2000fb.c 		green >>= 8;
green             302 drivers/video/fbdev/cyber2000fb.c 		cfb->palette[regno].green = green;
green             307 drivers/video/fbdev/cyber2000fb.c 		cyber2000fb_writeb(green, 0x3c9, cfb);
green             323 drivers/video/fbdev/cyber2000fb.c 		green >>= 8;
green             326 drivers/video/fbdev/cyber2000fb.c 		if (var->green.length == 6 && regno < 64) {
green             327 drivers/video/fbdev/cyber2000fb.c 			cfb->palette[regno << 2].green = green;
green             336 drivers/video/fbdev/cyber2000fb.c 			cyber2000fb_writeb(green, 0x3c9, cfb);
green             340 drivers/video/fbdev/cyber2000fb.c 			green = cfb->palette[regno << 3].green;
green             345 drivers/video/fbdev/cyber2000fb.c 		if (var->green.length >= 5 && regno < 32) {
green             347 drivers/video/fbdev/cyber2000fb.c 			cfb->palette[regno << 3].green = green;
green             356 drivers/video/fbdev/cyber2000fb.c 			cyber2000fb_writeb(green, 0x3c9, cfb);
green             361 drivers/video/fbdev/cyber2000fb.c 		if (var->green.length == 4 && regno < 16) {
green             363 drivers/video/fbdev/cyber2000fb.c 			cfb->palette[regno << 4].green = green;
green             372 drivers/video/fbdev/cyber2000fb.c 			cyber2000fb_writeb(green, 0x3c9, cfb);
green             382 drivers/video/fbdev/cyber2000fb.c 			     regno << var->green.offset |
green             399 drivers/video/fbdev/cyber2000fb.c 		pseudo_val |= convert_bitfield(green, &var->green);
green             764 drivers/video/fbdev/cyber2000fb.c 	var->green.msb_right	= 0;
green             773 drivers/video/fbdev/cyber2000fb.c 		var->green.offset	= 0;
green             774 drivers/video/fbdev/cyber2000fb.c 		var->green.length	= 8;
green             780 drivers/video/fbdev/cyber2000fb.c 		switch (var->green.length) {
green             784 drivers/video/fbdev/cyber2000fb.c 			var->green.offset	= 5;
green             785 drivers/video/fbdev/cyber2000fb.c 			var->green.length	= 6;
green             794 drivers/video/fbdev/cyber2000fb.c 			var->green.offset	= 5;
green             795 drivers/video/fbdev/cyber2000fb.c 			var->green.length	= 5;
green             805 drivers/video/fbdev/cyber2000fb.c 			var->green.offset	= 4;
green             806 drivers/video/fbdev/cyber2000fb.c 			var->green.length	= 4;
green             816 drivers/video/fbdev/cyber2000fb.c 		var->green.offset	= 8;
green             817 drivers/video/fbdev/cyber2000fb.c 		var->green.length	= 8;
green             827 drivers/video/fbdev/cyber2000fb.c 		var->green.offset	= 8;
green             828 drivers/video/fbdev/cyber2000fb.c 		var->green.length	= 8;
green             879 drivers/video/fbdev/cyber2000fb.c 		switch (var->green.length) {
green            1048 drivers/video/fbdev/cyber2000fb.c 			cyber2000fb_writeb(cfb->palette[i].green, 0x3c9, cfb);
green             592 drivers/video/fbdev/da8xx-fb.c static int fb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             613 drivers/video/fbdev/da8xx-fb.c 		green = CNVT_TOHW(green, info->var.green.length);
green             626 drivers/video/fbdev/da8xx-fb.c 				green >>= 8;
green             630 drivers/video/fbdev/da8xx-fb.c 				pal |= green & 0x00f0;
green             640 drivers/video/fbdev/da8xx-fb.c 			green >>= 8;
green             644 drivers/video/fbdev/da8xx-fb.c 			pal |= (green & 0x00f0);
green             664 drivers/video/fbdev/da8xx-fb.c 			(green << info->var.green.offset) |
green             954 drivers/video/fbdev/da8xx-fb.c 		var->green.offset = 0;
green             955 drivers/video/fbdev/da8xx-fb.c 		var->green.length = 8;
green             965 drivers/video/fbdev/da8xx-fb.c 		var->green.offset = 0;
green             966 drivers/video/fbdev/da8xx-fb.c 		var->green.length = 4;
green             976 drivers/video/fbdev/da8xx-fb.c 		var->green.offset = 5;
green             977 drivers/video/fbdev/da8xx-fb.c 		var->green.length = 6;
green             987 drivers/video/fbdev/da8xx-fb.c 		var->green.offset = 8;
green             988 drivers/video/fbdev/da8xx-fb.c 		var->green.length = 8;
green             998 drivers/video/fbdev/da8xx-fb.c 		var->green.offset = 8;
green             999 drivers/video/fbdev/da8xx-fb.c 		var->green.length = 8;
green            1009 drivers/video/fbdev/da8xx-fb.c 	var->green.msb_right = 0;
green             242 drivers/video/fbdev/dnfb.c 	info->var.green = info->var.blue = info->var.red;
green              67 drivers/video/fbdev/efifb.c static int efifb_setcolreg(unsigned regno, unsigned red, unsigned green,
green              83 drivers/video/fbdev/efifb.c 		green >>= 16 - info->var.green.length;
green              87 drivers/video/fbdev/efifb.c 			(green << info->var.green.offset) |
green             518 drivers/video/fbdev/efifb.c 	efifb_defined.green.offset  = screen_info.green_pos;
green             519 drivers/video/fbdev/efifb.c 	efifb_defined.green.length  = screen_info.green_size;
green             173 drivers/video/fbdev/ep93xx-fb.c 		info->var.green.offset	= 0;
green             174 drivers/video/fbdev/ep93xx-fb.c 		info->var.green.length	= 8;
green             186 drivers/video/fbdev/ep93xx-fb.c 		info->var.green.offset	= 5;
green             187 drivers/video/fbdev/ep93xx-fb.c 		info->var.green.length	= 6;
green             199 drivers/video/fbdev/ep93xx-fb.c 		info->var.green.offset	= 8;
green             200 drivers/video/fbdev/ep93xx-fb.c 		info->var.green.length	= 8;
green             212 drivers/video/fbdev/ep93xx-fb.c 		info->var.green.offset	= 8;
green             213 drivers/video/fbdev/ep93xx-fb.c 		info->var.green.length	= 8;
green             350 drivers/video/fbdev/ep93xx-fb.c 			      unsigned int green, unsigned int blue,
green             361 drivers/video/fbdev/ep93xx-fb.c 		rgb = ((red & 0xff00) << 8) | (green & 0xff00) |
green             387 drivers/video/fbdev/ep93xx-fb.c 		green = ep93xxfb_convert_color(green, info->var.green.length);
green             393 drivers/video/fbdev/ep93xx-fb.c 			(green << info->var.green.offset) |
green              76 drivers/video/fbdev/fb-puv3.c 	.green =	{ 5,  6, 0 },
green             403 drivers/video/fbdev/fb-puv3.c 		var->green.offset = 0;
green             404 drivers/video/fbdev/fb-puv3.c 		var->green.length = 8;
green             414 drivers/video/fbdev/fb-puv3.c 			var->green.offset = 5;
green             415 drivers/video/fbdev/fb-puv3.c 			var->green.length = 5;
green             423 drivers/video/fbdev/fb-puv3.c 			var->green.offset = 5;
green             424 drivers/video/fbdev/fb-puv3.c 			var->green.length = 6;
green             434 drivers/video/fbdev/fb-puv3.c 		var->green.offset = 8;
green             435 drivers/video/fbdev/fb-puv3.c 		var->green.length = 8;
green             444 drivers/video/fbdev/fb-puv3.c 		var->green.offset = 8;
green             445 drivers/video/fbdev/fb-puv3.c 		var->green.length = 8;
green             453 drivers/video/fbdev/fb-puv3.c 	var->green.msb_right = 0;
green             554 drivers/video/fbdev/fb-puv3.c static int unifb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             563 drivers/video/fbdev/fb-puv3.c 		red = green = blue =
green             564 drivers/video/fbdev/fb-puv3.c 		    (red * 77 + green * 151 + blue * 28) >> 8;
green             572 drivers/video/fbdev/fb-puv3.c 		green = CNVT_TOHW(green, info->var.green.length);
green             578 drivers/video/fbdev/fb-puv3.c 		green = CNVT_TOHW(green, 8);
green             593 drivers/video/fbdev/fb-puv3.c 		    (green << info->var.green.offset) |
green             189 drivers/video/fbdev/ffb.c 	u32	green;
green             631 drivers/video/fbdev/ffb.c 	var->green.offset = 8;
green             632 drivers/video/fbdev/ffb.c 	var->green.length = 8;
green             650 drivers/video/fbdev/ffb.c 			 unsigned red, unsigned green, unsigned blue,
green             659 drivers/video/fbdev/ffb.c 	green >>= 8;
green             662 drivers/video/fbdev/ffb.c 	value = (blue << 16) | (green << 8) | red;
green             164 drivers/video/fbdev/fm2fb.c static int fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             195 drivers/video/fbdev/fm2fb.c static int fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             200 drivers/video/fbdev/fm2fb.c 		green >>= 8;
green             204 drivers/video/fbdev/fm2fb.c 			(green << 8) | blue;
green             723 drivers/video/fbdev/fsl-diu-fb.c 		var->green.length = 6;
green             724 drivers/video/fbdev/fsl-diu-fb.c 		var->green.offset = 5;
green             725 drivers/video/fbdev/fsl-diu-fb.c 		var->green.msb_right = 0;
green             740 drivers/video/fbdev/fsl-diu-fb.c 		var->green.length = 8;
green             741 drivers/video/fbdev/fsl-diu-fb.c 		var->green.offset = 8;
green             742 drivers/video/fbdev/fsl-diu-fb.c 		var->green.msb_right = 0;
green             757 drivers/video/fbdev/fsl-diu-fb.c 		var->green.length = 8;
green             758 drivers/video/fbdev/fsl-diu-fb.c 		var->green.offset = 8;
green             759 drivers/video/fbdev/fsl-diu-fb.c 		var->green.msb_right = 0;
green             949 drivers/video/fbdev/fsl-diu-fb.c #define MAKE_PF(alpha, red, green, blue, size, c0, c1, c2, c3) \
green             951 drivers/video/fbdev/fsl-diu-fb.c 	(blue << PF_BLUE_C_SHIFT) | (green << PF_GREEN_C_SHIFT) | \
green            1079 drivers/video/fbdev/fsl-diu-fb.c 		     ((info->cmap.green[bg_idx] & 0xf8) << 2) |
green            1084 drivers/video/fbdev/fsl-diu-fb.c 		     ((info->cmap.green[fg_idx] & 0xf8) << 2) |
green            1196 drivers/video/fbdev/fsl-diu-fb.c 			     unsigned int green, unsigned int blue,
green            1206 drivers/video/fbdev/fsl-diu-fb.c 		red = green = blue = (19595 * red + 38470 * green +
green            1219 drivers/video/fbdev/fsl-diu-fb.c 			green = CNVT_TOHW(green, info->var.green.length);
green            1224 drivers/video/fbdev/fsl-diu-fb.c 			    (green << info->var.green.offset) |
green              86 drivers/video/fbdev/g364fb.c       	.green 		= { 0, 8, 0 },
green             108 drivers/video/fbdev/g364fb.c static int g364fb_setcolreg(u_int regno, u_int red, u_int green,
green             175 drivers/video/fbdev/g364fb.c static int g364fb_setcolreg(u_int regno, u_int red, u_int green,
green             184 drivers/video/fbdev/g364fb.c 	green >>= 8;
green             187 drivers/video/fbdev/g364fb.c 	ptr[regno << 1] = (red << 16) | (green << 8) | blue;
green              97 drivers/video/fbdev/gbefb.c 	.green		= { 0, 8, 0 },
green             128 drivers/video/fbdev/gbefb.c 	.green		= { 0, 8, 0 },
green             850 drivers/video/fbdev/gbefb.c static int gbefb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             859 drivers/video/fbdev/gbefb.c 	green >>= 8;
green             863 drivers/video/fbdev/gbefb.c 		gbe_cmap[regno] = (red << 24) | (green << 16) | (blue << 8);
green             879 drivers/video/fbdev/gbefb.c 			green >>= 3;
green             883 drivers/video/fbdev/gbefb.c 				(green << info->var.green.offset) |
green             889 drivers/video/fbdev/gbefb.c 				(green << info->var.green.offset) |
green             953 drivers/video/fbdev/gbefb.c 		var->green.offset = 0;
green             954 drivers/video/fbdev/gbefb.c 		var->green.length = 8;
green             963 drivers/video/fbdev/gbefb.c 		var->green.offset = 5;
green             964 drivers/video/fbdev/gbefb.c 		var->green.length = 5;
green             973 drivers/video/fbdev/gbefb.c 		var->green.offset = 16;
green             974 drivers/video/fbdev/gbefb.c 		var->green.length = 8;
green             982 drivers/video/fbdev/gbefb.c 	var->green.msb_right = 0;
green             168 drivers/video/fbdev/geode/display_gx.c 		unsigned red, unsigned green, unsigned blue)
green             175 drivers/video/fbdev/geode/display_gx.c 	val |= (green)      & 0x00ff00;
green             193 drivers/video/fbdev/geode/display_gx1.c 				   unsigned red, unsigned green, unsigned blue)
green             200 drivers/video/fbdev/geode/display_gx1.c 	val |= (green >>  4) & 0x00fc0;
green             110 drivers/video/fbdev/geode/gx1fb_core.c 		var->green.offset =  5; var->green.length = 6;
green             115 drivers/video/fbdev/geode/gx1fb_core.c 		var->green.offset = 0; var->green.length = 8;
green             153 drivers/video/fbdev/geode/gx1fb_core.c static int gx1fb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             161 drivers/video/fbdev/geode/gx1fb_core.c 		red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green             173 drivers/video/fbdev/geode/gx1fb_core.c 		v |= chan_to_field(green, &info->var.green);
green             181 drivers/video/fbdev/geode/gx1fb_core.c 		par->dc_ops->set_palette_reg(info, regno, red, green, blue);
green              46 drivers/video/fbdev/geode/gxfb.h 		unsigned red, unsigned green, unsigned blue);
green             134 drivers/video/fbdev/geode/gxfb_core.c 		var->green.offset =  8; var->green.length = 8;
green             138 drivers/video/fbdev/geode/gxfb_core.c 		var->green.offset =  5; var->green.length = 6;
green             142 drivers/video/fbdev/geode/gxfb_core.c 		var->green.offset = 0; var->green.length = 8;
green             178 drivers/video/fbdev/geode/gxfb_core.c static int gxfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             184 drivers/video/fbdev/geode/gxfb_core.c 		red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green             196 drivers/video/fbdev/geode/gxfb_core.c 		v |= chan_to_field(green, &info->var.green);
green             204 drivers/video/fbdev/geode/gxfb_core.c 		gx_set_hw_palette_reg(info, regno, red, green, blue);
green             242 drivers/video/fbdev/geode/lxfb_core.c 		var->green.offset =  8; var->green.length = 8;
green             246 drivers/video/fbdev/geode/lxfb_core.c 		var->green.offset =  5; var->green.length = 6;
green             250 drivers/video/fbdev/geode/lxfb_core.c 		var->green.offset = 0; var->green.length = 8;
green             286 drivers/video/fbdev/geode/lxfb_core.c static int lxfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             292 drivers/video/fbdev/geode/lxfb_core.c 		red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green             304 drivers/video/fbdev/geode/lxfb_core.c 		v |= chan_to_field(green, &info->var.green);
green             312 drivers/video/fbdev/geode/lxfb_core.c 		lx_set_palette_reg(info, regno, red, green, blue);
green             506 drivers/video/fbdev/geode/lxfb_ops.c 			unsigned red, unsigned green, unsigned blue)
green             514 drivers/video/fbdev/geode/lxfb_ops.c 	val |= (green)      & 0x00ff00;
green              72 drivers/video/fbdev/goldfishfb.c goldfish_fb_setcolreg(unsigned int regno, unsigned int red, unsigned int green,
green              80 drivers/video/fbdev/goldfishfb.c 				  convert_bitfield(green, &fb->fb.var.green) |
green             235 drivers/video/fbdev/goldfishfb.c 	fb->fb.var.green.offset = 5;
green             236 drivers/video/fbdev/goldfishfb.c 	fb->fb.var.green.length = 6;
green             120 drivers/video/fbdev/grvga.c 		var->green = (struct fb_bitfield) {0, 8, 0};
green             126 drivers/video/fbdev/grvga.c 		var->green = (struct fb_bitfield) {5, 6, 0};
green             133 drivers/video/fbdev/grvga.c 		var->green = (struct fb_bitfield) {8, 8, 0};
green             188 drivers/video/fbdev/grvga.c static int grvga_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *info)
green             198 drivers/video/fbdev/grvga.c 		red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green             206 drivers/video/fbdev/grvga.c 	green  = CNVT_TOHW(green, info->var.green.length);
green             214 drivers/video/fbdev/grvga.c 		__raw_writel((regno << 24) | (red << 16) | (green << 8) | blue,
green             225 drivers/video/fbdev/grvga.c 			(green  << info->var.green.offset) |
green             307 drivers/video/fbdev/gxt4500.c 		if (var->green.length == 5)
green             330 drivers/video/fbdev/gxt4500.c 	var->green = eightbits;
green             337 drivers/video/fbdev/gxt4500.c 		var->green.length = 6;
green             342 drivers/video/fbdev/gxt4500.c 		var->green.length = 5;
green             352 drivers/video/fbdev/gxt4500.c 		var->green.offset = var->blue.length;
green             353 drivers/video/fbdev/gxt4500.c 		var->red.offset = var->green.offset + var->green.length;
green             513 drivers/video/fbdev/gxt4500.c 			     unsigned int green, unsigned int blue,
green             522 drivers/video/fbdev/gxt4500.c 		(green & 0xff00) | (blue >> 8);
green             116 drivers/video/fbdev/hgafb.c 	.green 		= {0, 1, 0},
green             399 drivers/video/fbdev/hgafb.c static int hgafb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             207 drivers/video/fbdev/hitfb.c static int hitfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             217 drivers/video/fbdev/hitfb.c 		fb_writew(green >> 10, HD64461_CPTWDR);
green             225 drivers/video/fbdev/hitfb.c 		    ((green & 0xfc00) >> 5) | ((blue & 0xf800) >> 11);
green             267 drivers/video/fbdev/hitfb.c 		var->green.offset = 0;
green             268 drivers/video/fbdev/hitfb.c 		var->green.length = 8;
green             277 drivers/video/fbdev/hitfb.c 		var->green.offset = 5;
green             278 drivers/video/fbdev/hitfb.c 		var->green.length = 6;
green             366 drivers/video/fbdev/hitfb.c 		hitfb_var.green.offset = 0;
green             367 drivers/video/fbdev/hitfb.c 		hitfb_var.green.length = 8;
green             376 drivers/video/fbdev/hitfb.c 		hitfb_var.green.offset = 5;
green             377 drivers/video/fbdev/hitfb.c 		hitfb_var.green.length = 6;
green              64 drivers/video/fbdev/hpfb.c 	.green		= {
green              76 drivers/video/fbdev/hpfb.c static int hpfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green              82 drivers/video/fbdev/hpfb.c 	unsigned char _green=green>>8;
green             575 drivers/video/fbdev/hyperv_fb.c static int hvfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             584 drivers/video/fbdev/hyperv_fb.c 		| chan_to_field(green, &info->var.green)
green             802 drivers/video/fbdev/hyperv_fb.c 		info->var.green = (struct fb_bitfield){5, 6, 0};
green             807 drivers/video/fbdev/hyperv_fb.c 		info->var.green = (struct fb_bitfield){8, 8, 0};
green             592 drivers/video/fbdev/i740fb.c 		par->pixelpipe_cfg1 = (var->green.length == 6) ?
green             662 drivers/video/fbdev/i740fb.c 		var->red.offset	= var->green.offset = var->blue.offset = 0;
green             663 drivers/video/fbdev/i740fb.c 		var->red.length	= var->green.length = var->blue.length = 8;
green             666 drivers/video/fbdev/i740fb.c 		switch (var->green.length) {
green             670 drivers/video/fbdev/i740fb.c 			var->green.offset = 5;
green             673 drivers/video/fbdev/i740fb.c 			var->green.length = 5;
green             678 drivers/video/fbdev/i740fb.c 			var->green.offset = 5;
green             686 drivers/video/fbdev/i740fb.c 		var->green.offset = 8;
green             688 drivers/video/fbdev/i740fb.c 		var->red.length	= var->green.length = var->blue.length = 8;
green             693 drivers/video/fbdev/i740fb.c 		var->green.offset = 8;
green             696 drivers/video/fbdev/i740fb.c 		var->red.length = var->green.length = var->blue.length = 8;
green             860 drivers/video/fbdev/i740fb.c static int i740fb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             867 drivers/video/fbdev/i740fb.c 		regno, red, green, blue, transp, info->var.bits_per_pixel);
green             875 drivers/video/fbdev/i740fb.c 		i740outb(info->par, VGA_PEL_D, green >> 8);
green             885 drivers/video/fbdev/i740fb.c 		g = (green >> (16 - info->var.green.length))
green             886 drivers/video/fbdev/i740fb.c 			<< info->var.green.offset;
green              90 drivers/video/fbdev/i810/i810_main.c static int i810fb_getcolreg  (u8 regno, u8 *red, u8 *green, u8 *blue,
green              92 drivers/video/fbdev/i810/i810_main.c static int i810fb_setcolreg  (unsigned regno, unsigned red, unsigned green, unsigned blue,
green             440 drivers/video/fbdev/i810/i810_main.c static void i810_write_dac(u8 regno, u8 red, u8 green, u8 blue,
green             445 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CLUT_DATA, mmio, green);
green             449 drivers/video/fbdev/i810/i810_main.c static void i810_read_dac(u8 regno, u8 *red, u8 *green, u8 *blue,
green             454 drivers/video/fbdev/i810/i810_main.c 	*green = i810_readb(CLUT_DATA, mmio);
green             823 drivers/video/fbdev/i810/i810_main.c 	u8 red, green, blue, trans, temp;
green             825 drivers/video/fbdev/i810/i810_main.c 	i810fb_getcolreg(bg, &red, &green, &blue, &trans, info);
green             830 drivers/video/fbdev/i810/i810_main.c 	i810_write_dac(4, red, green, blue, mmio);
green             834 drivers/video/fbdev/i810/i810_main.c 	i810fb_getcolreg(fg, &red, &green, &blue, &trans, info);
green             838 drivers/video/fbdev/i810/i810_main.c 	i810_write_dac(5, red, green, blue, mmio);
green             946 drivers/video/fbdev/i810/i810_main.c 		var->green.offset = 0;
green             947 drivers/video/fbdev/i810/i810_main.c 		var->green.length = 8;
green             954 drivers/video/fbdev/i810/i810_main.c 		var->green.length = (var->green.length == 5) ? 5 : 6;
green             957 drivers/video/fbdev/i810/i810_main.c 		var->transp.length = 6 - var->green.length;
green             959 drivers/video/fbdev/i810/i810_main.c 		var->green.offset = 5;
green             960 drivers/video/fbdev/i810/i810_main.c 		var->red.offset = 5 + var->green.length;
green             967 drivers/video/fbdev/i810/i810_main.c 		var->green.offset = 8;
green             968 drivers/video/fbdev/i810/i810_main.c 		var->green.length = 8;
green             976 drivers/video/fbdev/i810/i810_main.c 	var->green.msb_right = 0;
green            1154 drivers/video/fbdev/i810/i810_main.c 		if (var->green.length == 5)
green            1199 drivers/video/fbdev/i810/i810_main.c static int i810fb_getcolreg(u8 regno, u8 *red, u8 *green, u8 *blue, 
green            1207 drivers/video/fbdev/i810/i810_main.c 		if ((info->var.green.length == 5 && regno > 31) ||
green            1208 drivers/video/fbdev/i810/i810_main.c 		    (info->var.green.length == 6 && regno > 63))
green            1216 drivers/video/fbdev/i810/i810_main.c 	    info->var.green.length == 5) 
green            1217 drivers/video/fbdev/i810/i810_main.c 		i810_read_dac(regno * 8, red, green, blue, mmio);
green            1220 drivers/video/fbdev/i810/i810_main.c 		 info->var.green.length == 6) {
green            1224 drivers/video/fbdev/i810/i810_main.c 		i810_read_dac(regno * 4, &tmp, green, &tmp, mmio);
green            1227 drivers/video/fbdev/i810/i810_main.c 		i810_read_dac(regno, red, green, blue, mmio);
green            1281 drivers/video/fbdev/i810/i810_main.c static int i810fb_setcolreg(unsigned regno, unsigned red, unsigned green, 
green            1293 drivers/video/fbdev/i810/i810_main.c 		if ((info->var.green.length == 5 && regno > 31) ||
green            1294 drivers/video/fbdev/i810/i810_main.c 		    (info->var.green.length == 6 && regno > 63))
green            1299 drivers/video/fbdev/i810/i810_main.c 		red = green = blue = (19595 * red + 38470 * green +
green            1306 drivers/video/fbdev/i810/i810_main.c 	    info->var.green.length == 5) {
green            1309 drivers/video/fbdev/i810/i810_main.c 				       (u8) green, (u8) blue, mmio);
green            1311 drivers/video/fbdev/i810/i810_main.c 		 info->var.green.length == 6) {
green            1317 drivers/video/fbdev/i810/i810_main.c 					       (u8) red, (u8) green, 
green            1322 drivers/video/fbdev/i810/i810_main.c 			i810_write_dac((u8) (regno*4) + i, r, (u8) green, 
green            1325 drivers/video/fbdev/i810/i810_main.c 		i810_write_dac((u8) regno, (u8) red, (u8) green,
green            1335 drivers/video/fbdev/i810/i810_main.c 				if (info->var.green.length == 5) 
green            1344 drivers/video/fbdev/i810/i810_main.c 				if (info->var.green.length == 5) {
green            1348 drivers/video/fbdev/i810/i810_main.c 						((green & 0xf800) >> 6) |
green            1354 drivers/video/fbdev/i810/i810_main.c 						((green & 0xf800) >> 5) |
green            1368 drivers/video/fbdev/i810/i810_main.c 					(green & 0xff00) |
green             797 drivers/video/fbdev/imsttfb.c 			var->green.offset = 0;
green             798 drivers/video/fbdev/imsttfb.c 			var->green.length = 8;
green             805 drivers/video/fbdev/imsttfb.c 			if (var->green.length != 6)
green             808 drivers/video/fbdev/imsttfb.c 			var->green.offset = 5;
green             809 drivers/video/fbdev/imsttfb.c 			if (var->green.length != 6)
green             810 drivers/video/fbdev/imsttfb.c 				var->green.length = 5;
green             819 drivers/video/fbdev/imsttfb.c 			var->green.offset = 8;
green             820 drivers/video/fbdev/imsttfb.c 			var->green.length = 8;
green             829 drivers/video/fbdev/imsttfb.c 			var->green.offset = 8;
green             830 drivers/video/fbdev/imsttfb.c 			var->green.length = 8;
green             846 drivers/video/fbdev/imsttfb.c 	var->green.msb_right = 0;
green             866 drivers/video/fbdev/imsttfb.c 	if (info->var.green.length == 6)
green             876 drivers/video/fbdev/imsttfb.c imsttfb_setcolreg (u_int regno, u_int red, u_int green, u_int blue,
green             886 drivers/video/fbdev/imsttfb.c 	green >>= 8;
green             897 drivers/video/fbdev/imsttfb.c 	par->cmap_regs[PDATA] = green;	eieio();
green             904 drivers/video/fbdev/imsttfb.c 					(regno << (info->var.green.length ==
green            1247 drivers/video/fbdev/imsttfb.c                      ((info->cmap.green[fg_idx] & 0xf8) << 2) |
green            1440 drivers/video/fbdev/imsttfb.c 	if (info->var.green.length == 6)
green             132 drivers/video/fbdev/imxfb.c 	struct fb_bitfield	green;
green             222 drivers/video/fbdev/imxfb.c 	.green	= {.offset = 8, .length = 8,},
green             229 drivers/video/fbdev/imxfb.c 	.green	= {.offset = 5, .length = 6,},
green             236 drivers/video/fbdev/imxfb.c 	.green	= {.offset = 4, .length = 4,},
green             243 drivers/video/fbdev/imxfb.c 	.green	= {.offset = 0, .length = 8,},
green             258 drivers/video/fbdev/imxfb.c static int imxfb_setpalettereg(u_int regno, u_int red, u_int green, u_int blue,
green             267 drivers/video/fbdev/imxfb.c 		      (CNVT_TOHW(green,4) << 4) |
green             276 drivers/video/fbdev/imxfb.c static int imxfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             291 drivers/video/fbdev/imxfb.c 		green = 0xffff - green;
green             300 drivers/video/fbdev/imxfb.c 		red = green = blue = (19595 * red + 38470 * green +
green             313 drivers/video/fbdev/imxfb.c 			val |= chan_to_field(green, &info->var.green);
green             323 drivers/video/fbdev/imxfb.c 		ret = imxfb_setpalettereg(regno, red, green, blue, trans, info);
green             440 drivers/video/fbdev/imxfb.c 	var->green  = rgb->green;
green             445 drivers/video/fbdev/imxfb.c 		var->red.length, var->green.length, var->blue.length,
green             449 drivers/video/fbdev/imxfb.c 		var->red.offset, var->green.offset, var->blue.offset,
green             139 drivers/video/fbdev/intelfb/intelfbdrv.c static int intelfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             912 drivers/video/fbdev/intelfb/intelfbdrv.c 		var->bits_per_pixel, var->green.length);
green             916 drivers/video/fbdev/intelfb/intelfbdrv.c 		return (var->green.length == 6) ? 16 : 15;
green             993 drivers/video/fbdev/intelfb/intelfbdrv.c 		var->green.offset = screen_info.green_pos;
green             994 drivers/video/fbdev/intelfb/intelfbdrv.c 		var->green.length = screen_info.green_size;
green            1001 drivers/video/fbdev/intelfb/intelfbdrv.c 		var->green.length = 8;
green            1235 drivers/video/fbdev/intelfb/intelfbdrv.c 			v.green.length = 6;
green            1248 drivers/video/fbdev/intelfb/intelfbdrv.c 		      memcmp(&info->var.green, &var->green,
green            1249 drivers/video/fbdev/intelfb/intelfbdrv.c 			     sizeof(var->green)) ||
green            1266 drivers/video/fbdev/intelfb/intelfbdrv.c 		v.red.offset = v.green.offset = v.blue.offset = 0;
green            1267 drivers/video/fbdev/intelfb/intelfbdrv.c 		v.red.length = v.green.length = v.blue.length = 8;
green            1272 drivers/video/fbdev/intelfb/intelfbdrv.c 		v.green.offset = 5;
green            1274 drivers/video/fbdev/intelfb/intelfbdrv.c 		v.red.length = v.green.length = v.blue.length = 5;
green            1279 drivers/video/fbdev/intelfb/intelfbdrv.c 		v.green.offset = 5;
green            1282 drivers/video/fbdev/intelfb/intelfbdrv.c 		v.green.length = 6;
green            1288 drivers/video/fbdev/intelfb/intelfbdrv.c 		v.green.offset = 8;
green            1290 drivers/video/fbdev/intelfb/intelfbdrv.c 		v.red.length = v.green.length = v.blue.length = 8;
green            1295 drivers/video/fbdev/intelfb/intelfbdrv.c 		v.green.offset = 8;
green            1297 drivers/video/fbdev/intelfb/intelfbdrv.c 		v.red.length = v.green.length = v.blue.length = 8;
green            1308 drivers/video/fbdev/intelfb/intelfbdrv.c 	v.red.msb_right = v.green.msb_right = v.blue.msb_right =
green            1377 drivers/video/fbdev/intelfb/intelfbdrv.c static int intelfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green            1392 drivers/video/fbdev/intelfb/intelfbdrv.c 		green >>= 8;
green            1395 drivers/video/fbdev/intelfb/intelfbdrv.c 		intelfbhw_setcolreg(dinfo, regno, red, green, blue,
green            1403 drivers/video/fbdev/intelfb/intelfbdrv.c 				((green & 0xf800) >>  6) |
green            1408 drivers/video/fbdev/intelfb/intelfbdrv.c 				((green & 0xfc00) >>  5) |
green            1413 drivers/video/fbdev/intelfb/intelfbdrv.c 				(green & 0xff00) |
green             500 drivers/video/fbdev/intelfb/intelfbhw.c 			 unsigned red, unsigned green, unsigned blue,
green             508 drivers/video/fbdev/intelfb/intelfbhw.c 		regno, red, green, blue);
green             513 drivers/video/fbdev/intelfb/intelfbhw.c 	       (green << PALETTE_8_GREEN_SHIFT) |
green             572 drivers/video/fbdev/intelfb/intelfbhw.h 				unsigned red, unsigned green, unsigned blue,
green              55 drivers/video/fbdev/kyro/fbdev.c 	.green		= {  5, 6, 0 },
green             406 drivers/video/fbdev/kyro/fbdev.c 		var->green.offset = 5;
green             407 drivers/video/fbdev/kyro/fbdev.c 		var->green.length = 6;
green             413 drivers/video/fbdev/kyro/fbdev.c 		var->green.offset = 8;
green             417 drivers/video/fbdev/kyro/fbdev.c 		var->green.length = 8;
green             526 drivers/video/fbdev/kyro/fbdev.c static int kyrofb_setcolreg(u_int regno, u_int red, u_int green,
green             539 drivers/video/fbdev/kyro/fbdev.c 			    ((green & 0xfc00) >> 5) |
green             543 drivers/video/fbdev/kyro/fbdev.c 			red >>= 8; green >>= 8; blue >>= 8; transp >>= 8;
green             545 drivers/video/fbdev/kyro/fbdev.c 			    (transp << 24) | (red << 16) | (green << 8) | blue;
green             273 drivers/video/fbdev/leo.c 			 unsigned red, unsigned green, unsigned blue,
green             286 drivers/video/fbdev/leo.c 	green >>= 8;
green             289 drivers/video/fbdev/leo.c 	par->clut_data[regno] = red | (green << 8) | (blue << 16);
green             525 drivers/video/fbdev/leo.c 	var->green.offset = 8;
green             526 drivers/video/fbdev/leo.c 	var->green.length = 8;
green              53 drivers/video/fbdev/macfb.c 			       unsigned int green, unsigned int blue,
green             145 drivers/video/fbdev/macfb.c 			   unsigned int green, unsigned int blue,
green             169 drivers/video/fbdev/macfb.c 			nubus_writeb(info->cmap.green[i] >> 8,
green             180 drivers/video/fbdev/macfb.c 	nubus_writeb(green, &dafb_cmap_regs->lut);
green             191 drivers/video/fbdev/macfb.c 				unsigned int green, unsigned int blue,
green             212 drivers/video/fbdev/macfb.c 	nubus_writeb(green, &v8_brazil_cmap_regs->lut);
green             222 drivers/video/fbdev/macfb.c 			  unsigned int green, unsigned int blue,
green             246 drivers/video/fbdev/macfb.c 	nubus_writeb(green, &rbv_cmap_regs->lut);
green             256 drivers/video/fbdev/macfb.c 			  unsigned int green, unsigned int blue,
green             269 drivers/video/fbdev/macfb.c 	nubus_writeb(green, &cmap_regs->lut);
green             279 drivers/video/fbdev/macfb.c 			   unsigned int green, unsigned int blue,
green             287 drivers/video/fbdev/macfb.c 	green = ~green;
green             297 drivers/video/fbdev/macfb.c 	nubus_writeb(green, &cmap_regs->lut);
green             307 drivers/video/fbdev/macfb.c 			  unsigned int green, unsigned int blue,
green             319 drivers/video/fbdev/macfb.c 	nubus_writeb(green, &cmap_regs->lut);
green             337 drivers/video/fbdev/macfb.c 			    unsigned int green, unsigned int blue,
green             369 drivers/video/fbdev/macfb.c 		nubus_writeb(green, &civic_cmap_regs->lut);
green             398 drivers/video/fbdev/macfb.c 		nubus_writeb(green, &civic_cmap_regs->lut);
green             415 drivers/video/fbdev/macfb.c 			  unsigned int green, unsigned int blue,
green             425 drivers/video/fbdev/macfb.c 	nubus_writeb(green, &csc_cmap_regs->clut_data);
green             432 drivers/video/fbdev/macfb.c static int macfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             455 drivers/video/fbdev/macfb.c 				macfb_setpalette(regno, red >> 8, green >> 8,
green             468 drivers/video/fbdev/macfb.c 					((green & 0xf800) >>  6) |
green             475 drivers/video/fbdev/macfb.c 					((green & 0xfc00) >>  5) |
green             486 drivers/video/fbdev/macfb.c 			green >>= 8;
green             490 drivers/video/fbdev/macfb.c 				(green << fb_info->var.green.offset) |
green             600 drivers/video/fbdev/macfb.c 		macfb_defined.green.length = macfb_defined.bits_per_pixel;
green             609 drivers/video/fbdev/macfb.c 		macfb_defined.green.length = macfb_defined.bits_per_pixel;
green             619 drivers/video/fbdev/macfb.c 		macfb_defined.green.offset = 5;
green             620 drivers/video/fbdev/macfb.c 		macfb_defined.green.length = 5;
green             634 drivers/video/fbdev/macfb.c 		macfb_defined.green.offset = 8;
green             635 drivers/video/fbdev/macfb.c 		macfb_defined.green.length = 8;
green             240 drivers/video/fbdev/macmodes.c 	    var->green.offset = 0;
green             241 drivers/video/fbdev/macmodes.c 	    var->green.length = 8;
green             250 drivers/video/fbdev/macmodes.c 	    var->green.offset = 5;
green             251 drivers/video/fbdev/macmodes.c 	    var->green.length = 5;
green             260 drivers/video/fbdev/macmodes.c 	    var->green.offset = 8;
green             261 drivers/video/fbdev/macmodes.c 	    var->green.length = 8;
green             362 drivers/video/fbdev/matrox/matroxfb_DAC1064.c 			if (minfo->fbcon.var.green.length == 5)
green             401 drivers/video/fbdev/matrox/matroxfb_DAC1064.c 		if (minfo->fbcon.var.green.length == 5) {	/* 0..31, 128..159 */
green             392 drivers/video/fbdev/matrox/matroxfb_Ti3026.c 			hw->DACreg[POS3026_XTRUECOLORCTRL] = (minfo->fbcon.var.green.length == 5) ? (TVP3026_XTRUECOLORCTRL_DIRECTCOLOR | TVP3026_XTRUECOLORCTRL_ORGB_1555) : (TVP3026_XTRUECOLORCTRL_DIRECTCOLOR | TVP3026_XTRUECOLORCTRL_RGB_565);
green             148 drivers/video/fbdev/matrox/matroxfb_accel.c 		case 16:	if (minfo->fbcon.var.green.length == 5)
green             163 drivers/video/fbdev/matrox/matroxfb_base.c 		 && (info->fbcon.var.green.length == minfo->fbcon.var.green.length)
green             538 drivers/video/fbdev/matrox/matroxfb_base.c 		  green,
green             616 drivers/video/fbdev/matrox/matroxfb_base.c 	if (bpp == 16 && var->green.length == 5) {
green             625 drivers/video/fbdev/matrox/matroxfb_base.c 	SETCLR(green);
green             634 drivers/video/fbdev/matrox/matroxfb_base.c 			var->transp.length, var->red.length, var->green.length, var->blue.length,
green             635 drivers/video/fbdev/matrox/matroxfb_base.c 			var->transp.offset, var->red.offset, var->green.offset, var->blue.offset);
green             643 drivers/video/fbdev/matrox/matroxfb_base.c static int matroxfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             663 drivers/video/fbdev/matrox/matroxfb_base.c 		red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green             667 drivers/video/fbdev/matrox/matroxfb_base.c 	green = CNVT_TOHW(green, minfo->fbcon.var.green.length);
green             676 drivers/video/fbdev/matrox/matroxfb_base.c 		mga_outb(M_DAC_VAL, green);
green             685 drivers/video/fbdev/matrox/matroxfb_base.c 				(green << minfo->fbcon.var.green.offset) |
green             697 drivers/video/fbdev/matrox/matroxfb_base.c 			(green << minfo->fbcon.var.green.offset) |
green            1228 drivers/video/fbdev/matrox/matroxfb_base.c static struct { struct fb_bitfield red, green, blue, transp; int bits_per_pixel; } colors[] = {
green            1787 drivers/video/fbdev/matrox/matroxfb_base.c 	vesafb_defined.green = colors[depth-1].green;
green              31 drivers/video/fbdev/matrox/matroxfb_crtc2.c static int matroxfb_dh_setcolreg(unsigned regno, unsigned red, unsigned green,
green              40 drivers/video/fbdev/matrox/matroxfb_crtc2.c 		red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green              43 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	green = CNVT_TOHW(green, m2info->fbcon.var.green.length);
green              48 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	      (green << m2info->fbcon.var.green.offset) |
green             228 drivers/video/fbdev/matrox/matroxfb_crtc2.c 		if (var->green.length == 5) {
green             231 drivers/video/fbdev/matrox/matroxfb_crtc2.c 			var->green.offset = 5;
green             232 drivers/video/fbdev/matrox/matroxfb_crtc2.c 			var->green.length = 5;
green             241 drivers/video/fbdev/matrox/matroxfb_crtc2.c 			var->green.offset = 5;
green             242 drivers/video/fbdev/matrox/matroxfb_crtc2.c 			var->green.length = 6;
green             251 drivers/video/fbdev/matrox/matroxfb_crtc2.c 			var->green.offset = 8;
green             252 drivers/video/fbdev/matrox/matroxfb_crtc2.c 			var->green.length = 8;
green              88 drivers/video/fbdev/maxinefb.c static int maxinefb_setcolreg(unsigned regno, unsigned red, unsigned green,
green              98 drivers/video/fbdev/maxinefb.c 	green >>= 8;    /* wide, but the harware colormap */
green             101 drivers/video/fbdev/maxinefb.c 	hw_colorvalue = (blue << 16) + (green << 8) + (red);
green              78 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 			       unsigned red, unsigned green, unsigned blue,
green              88 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 			val |= chan_to_field(green, &info->var.green);
green              96 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 			val |= (green >> 8) << 8;
green             164 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 		var->green.length	= var->bits_per_pixel;
green             167 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 		var->green.offset	= 0;
green             173 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 		var->green.length	= 5;
green             176 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 		var->green.offset	= 5;
green             184 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 		var->green.length	= 8;
green             188 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 		var->green.offset	= 8;
green              89 drivers/video/fbdev/mbx/mbxfb.c 	.green = {5, 6, 0},
green             165 drivers/video/fbdev/mbx/mbxfb.c static int mbxfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             173 drivers/video/fbdev/mbx/mbxfb.c 		val = (red & 0xf800) | ((green & 0xfc00) >> 5) |
green             204 drivers/video/fbdev/mbx/mbxfb.c 		var->green.length = (var->green.length == 5) ? 5 : 6;
green             207 drivers/video/fbdev/mbx/mbxfb.c 		var->transp.length = 6 - var->green.length;
green             209 drivers/video/fbdev/mbx/mbxfb.c 		var->green.offset = 5;
green             210 drivers/video/fbdev/mbx/mbxfb.c 		var->red.offset = 5 + var->green.length;
green             217 drivers/video/fbdev/mbx/mbxfb.c 		var->green.offset = 8;
green             218 drivers/video/fbdev/mbx/mbxfb.c 		var->green.length = 8;
green             226 drivers/video/fbdev/mbx/mbxfb.c 	var->green.msb_right = 0;
green             256 drivers/video/fbdev/mbx/mbxfb.c 			if (info->var.green.length == 5)
green             759 drivers/video/fbdev/mbx/mbxfb.c 		if (fbi->var.green.length == 5)
green             122 drivers/video/fbdev/metronomefb.c 	.green =	{ 0, 0, 0 },
green             717 drivers/video/fbdev/metronomefb.c 	memcpy(info->cmap.green, info->cmap.red, sizeof(u16)*8);
green              26 drivers/video/fbdev/mmp/fb/mmpfb.c 			var->green.length == 4 && var->blue.length == 4) {
green              27 drivers/video/fbdev/mmp/fb/mmpfb.c 		if (var->green.offset >= var->blue.offset)
green              37 drivers/video/fbdev/mmp/fb/mmpfb.c 			var->green.length == 2 && var->blue.length == 2) {
green              38 drivers/video/fbdev/mmp/fb/mmpfb.c 		if (var->green.offset >= var->blue.offset)
green              48 drivers/video/fbdev/mmp/fb/mmpfb.c 			var->green.length == 16 && var->blue.length == 16) {
green              51 drivers/video/fbdev/mmp/fb/mmpfb.c 		else if (var->green.offset >= var->blue.offset)
green              61 drivers/video/fbdev/mmp/fb/mmpfb.c 			var->green.length <= 6 && var->blue.length <= 5) {
green              74 drivers/video/fbdev/mmp/fb/mmpfb.c 			var->green.length <= 8 && var->blue.length <= 8) {
green             106 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 5;   var->green.length = 6;
green             113 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 5;	 var->green.length = 6;
green             120 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 8;   var->green.length = 8;
green             127 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 8;	 var->green.length = 8;
green             134 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 8;   var->green.length = 8;
green             141 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 8;	 var->green.length = 8;
green             148 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 8;   var->green.length = 8;
green             155 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 8;	 var->green.length = 8;
green             162 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 2;   var->green.length = 2;
green             169 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 0;	 var->green.length = 2;
green             176 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 4;   var->green.length = 4;
green             183 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 0;	 var->green.length = 4;
green             190 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 4;   var->green.length = 16;
green             197 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 0;	 var->green.length = 16;
green             204 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 4;	 var->green.length = 16;
green             211 drivers/video/fbdev/mmp/fb/mmpfb.c 		var->green.offset = 0;   var->green.length = 8;
green             304 drivers/video/fbdev/mmp/fb/mmpfb.c static u32 to_rgb(u16 red, u16 green, u16 blue)
green             307 drivers/video/fbdev/mmp/fb/mmpfb.c 	green >>= 8;
green             310 drivers/video/fbdev/mmp/fb/mmpfb.c 	return (red << 16) | (green << 8) | blue;
green             314 drivers/video/fbdev/mmp/fb/mmpfb.c 		unsigned int green, unsigned int blue,
green             322 drivers/video/fbdev/mmp/fb/mmpfb.c 		val |= chan_to_field(green, &info->var.green);
green             328 drivers/video/fbdev/mmp/fb/mmpfb.c 		val = to_rgb(red, green, blue);
green             273 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define	 CFG_HWC_COLOR1_G(green)		((green)<<8)
green             948 drivers/video/fbdev/mx3fb.c 		var->green.length = 6;
green             949 drivers/video/fbdev/mx3fb.c 		var->green.offset = 5;
green             950 drivers/video/fbdev/mx3fb.c 		var->green.msb_right = 0;
green             965 drivers/video/fbdev/mx3fb.c 		var->green.length = 8;
green             966 drivers/video/fbdev/mx3fb.c 		var->green.offset = 8;
green             967 drivers/video/fbdev/mx3fb.c 		var->green.msb_right = 0;
green             982 drivers/video/fbdev/mx3fb.c 		var->green.length = 8;
green             983 drivers/video/fbdev/mx3fb.c 		var->green.offset = 8;
green             984 drivers/video/fbdev/mx3fb.c 		var->green.msb_right = 0;
green            1026 drivers/video/fbdev/mx3fb.c 			   unsigned int green, unsigned int blue,
green            1041 drivers/video/fbdev/mx3fb.c 		red = green = blue = (19595 * red + 38470 * green +
green            1053 drivers/video/fbdev/mx3fb.c 			val |= chan_to_field(green, &fbi->var.green);
green             635 drivers/video/fbdev/neofb.c 	var->green.msb_right = 0;
green             645 drivers/video/fbdev/neofb.c 		var->green.offset = 0;
green             646 drivers/video/fbdev/neofb.c 		var->green.length = 8;
green             654 drivers/video/fbdev/neofb.c 		var->green.offset = 5;
green             655 drivers/video/fbdev/neofb.c 		var->green.length = 6;
green             663 drivers/video/fbdev/neofb.c 		var->green.offset = 8;
green             664 drivers/video/fbdev/neofb.c 		var->green.length = 8;
green             675 drivers/video/fbdev/neofb.c 		var->green.offset = 8;
green             676 drivers/video/fbdev/neofb.c 		var->green.length = 8;
green            1206 drivers/video/fbdev/neofb.c static int neofb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green            1216 drivers/video/fbdev/neofb.c 		outb(green >> 10, 0x3c9);
green            1222 drivers/video/fbdev/neofb.c 				((red & 0xf800)) | ((green & 0xfc00) >> 5) |
green            1227 drivers/video/fbdev/neofb.c 				((red & 0xff00) << 8) | ((green & 0xff00)) |
green            1234 drivers/video/fbdev/neofb.c 				((green & 0xff00)) | ((blue & 0xff00) >> 8);
green              98 drivers/video/fbdev/nvidia/nvidia.c 	.green = {0, 8, 0},
green             147 drivers/video/fbdev/nvidia/nvidia.c 			      u8 regnum, u8 red, u8 green, u8 blue)
green             152 drivers/video/fbdev/nvidia/nvidia.c 	NVWriteDacData(par, green);
green             157 drivers/video/fbdev/nvidia/nvidia.c 			     u8 regnum, u8 * red, u8 * green, u8 * blue)
green             162 drivers/video/fbdev/nvidia/nvidia.c 	*green = NVReadDacData(par);
green             588 drivers/video/fbdev/nvidia/nvidia.c 			    ((info->cmap.green[bg_idx] & 0xf8) << 2) |
green             592 drivers/video/fbdev/nvidia/nvidia.c 			    ((info->cmap.green[fg_idx] & 0xf8) << 2) |
green             697 drivers/video/fbdev/nvidia/nvidia.c static int nvidiafb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             705 drivers/video/fbdev/nvidia/nvidia.c 	if (regno >= (1 << info->var.green.length))
green             710 drivers/video/fbdev/nvidia/nvidia.c 		red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green             716 drivers/video/fbdev/nvidia/nvidia.c 		    (regno << info->var.green.offset) |
green             723 drivers/video/fbdev/nvidia/nvidia.c 		nvidia_write_clut(par, regno, red >> 8, green >> 8, blue >> 8);
green             726 drivers/video/fbdev/nvidia/nvidia.c 		if (info->var.green.length == 5) {
green             729 drivers/video/fbdev/nvidia/nvidia.c 						  green >> 8, blue >> 8);
green             737 drivers/video/fbdev/nvidia/nvidia.c 							  red >> 8, green >> 8,
green             746 drivers/video/fbdev/nvidia/nvidia.c 						  green >> 8, b);
green             750 drivers/video/fbdev/nvidia/nvidia.c 		nvidia_write_clut(par, regno, red >> 8, green >> 8, blue >> 8);
green             786 drivers/video/fbdev/nvidia/nvidia.c 		var->green.offset = 0;
green             787 drivers/video/fbdev/nvidia/nvidia.c 		var->green.length = 8;
green             794 drivers/video/fbdev/nvidia/nvidia.c 		var->green.length = (var->green.length < 6) ? 5 : 6;
green             797 drivers/video/fbdev/nvidia/nvidia.c 		var->transp.length = 6 - var->green.length;
green             799 drivers/video/fbdev/nvidia/nvidia.c 		var->green.offset = 5;
green             800 drivers/video/fbdev/nvidia/nvidia.c 		var->red.offset = 5 + var->green.length;
green             806 drivers/video/fbdev/nvidia/nvidia.c 		var->green.offset = 8;
green             807 drivers/video/fbdev/nvidia/nvidia.c 		var->green.length = 8;
green             816 drivers/video/fbdev/nvidia/nvidia.c 	var->green.msb_right = 0;
green             174 drivers/video/fbdev/ocfb.c static int ocfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             188 drivers/video/fbdev/ocfb.c 		red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green             192 drivers/video/fbdev/ocfb.c 	green >>= (16 - info->var.green.length);
green             198 drivers/video/fbdev/ocfb.c 		color = (red << 16) | (green << 8) | blue;
green             203 drivers/video/fbdev/ocfb.c 			(green << info->var.green.offset) |
green             245 drivers/video/fbdev/ocfb.c 		var->green.offset = 0;
green             246 drivers/video/fbdev/ocfb.c 		var->green.length = 8;
green             256 drivers/video/fbdev/ocfb.c 		var->green.offset = 5;
green             257 drivers/video/fbdev/ocfb.c 		var->green.length = 6;
green             267 drivers/video/fbdev/ocfb.c 		var->green.offset = 8;
green             268 drivers/video/fbdev/ocfb.c 		var->green.length = 8;
green             278 drivers/video/fbdev/ocfb.c 		var->green.offset = 8;
green             279 drivers/video/fbdev/ocfb.c 		var->green.length = 8;
green              96 drivers/video/fbdev/offb.c static int offb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             104 drivers/video/fbdev/offb.c 		u32 cg = green >> (16 - info->var.green.length);
green             112 drivers/video/fbdev/offb.c 			(cg << info->var.green.offset) |
green             127 drivers/video/fbdev/offb.c 	green >>= 8;
green             137 drivers/video/fbdev/offb.c 		writeb(green, par->cmap_data);
green             149 drivers/video/fbdev/offb.c 			 (red << 16 | green << 8 | blue));
green             157 drivers/video/fbdev/offb.c 		out_le32(par->cmap_adr + 0xb4, (red << 16 | green << 8 | blue));
green             162 drivers/video/fbdev/offb.c 		out_le32(par->cmap_adr + 0xb4, (red << 16 | green << 8 | blue));
green             166 drivers/video/fbdev/offb.c 			 (red << 16 | green << 8 | blue));
green             172 drivers/video/fbdev/offb.c 		writel(((red) << 22) | ((green) << 12) | ((blue) << 2),
green             176 drivers/video/fbdev/offb.c 		writel(((red) << 22) | ((green) << 12) | ((blue) << 2),
green             453 drivers/video/fbdev/offb.c 		var->green.offset = 0;
green             454 drivers/video/fbdev/offb.c 		var->green.length = 8;
green             464 drivers/video/fbdev/offb.c 		var->green.offset = 5;
green             465 drivers/video/fbdev/offb.c 		var->green.length = 5;
green             475 drivers/video/fbdev/offb.c 		var->green.offset = 5;
green             476 drivers/video/fbdev/offb.c 		var->green.length = 6;
green             486 drivers/video/fbdev/offb.c 		var->green.offset = 8;
green             487 drivers/video/fbdev/offb.c 		var->green.length = 8;
green             494 drivers/video/fbdev/offb.c 	var->red.msb_right = var->green.msb_right = var->blue.msb_right =
green             246 drivers/video/fbdev/omap/lcd_mipid.c 	u8 red, green, blue;
green             250 drivers/video/fbdev/omap/lcd_mipid.c 	mipid_read(md, MIPID_CMD_READ_GREEN, &green, 1);
green             256 drivers/video/fbdev/omap/lcd_mipid.c 		pixel = ((red >> 1) << 11) | (green << 5) | (blue >> 1);
green             260 drivers/video/fbdev/omap/lcd_mipid.c 		pixel = ((red >> 3) << 11) | ((green >> 2) << 5) |
green             411 drivers/video/fbdev/omap/lcdc.c static int omap_lcdc_setcolreg(u_int regno, u16 red, u16 green, u16 blue,
green             422 drivers/video/fbdev/omap/lcdc.c 	palette[regno] |= ((red >> 12) << 8) | ((green >> 12) << 4 ) |
green             175 drivers/video/fbdev/omap/omapfb.h 	int		(*setcolreg)	  (u_int regno, u16 red, u16 green,
green             239 drivers/video/fbdev/omap/omapfb_main.c static int _setcolreg(struct fb_info *info, u_int regno, u_int red, u_int green,
green             258 drivers/video/fbdev/omap/omapfb_main.c 			r = fbdev->ctrl->setcolreg(regno, red, green, blue,
green             270 drivers/video/fbdev/omap/omapfb_main.c 			      ((green >> (16 - var->green.length)) <<
green             271 drivers/video/fbdev/omap/omapfb_main.c 					var->green.offset) |
green             282 drivers/video/fbdev/omap/omapfb_main.c static int omapfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             285 drivers/video/fbdev/omap/omapfb_main.c 	return _setcolreg(info, regno, red, green, blue, transp, 1);
green             291 drivers/video/fbdev/omap/omapfb_main.c 	u16 *red, *green, *blue, *transp;
green             295 drivers/video/fbdev/omap/omapfb_main.c 	green   = cmap->green;
green             303 drivers/video/fbdev/omap/omapfb_main.c 		r = _setcolreg(info, index++, *red++, *green++, *blue++, trans,
green             553 drivers/video/fbdev/omap/omapfb_main.c 		var->green.offset = 4; var->green.length = 4;
green             554 drivers/video/fbdev/omap/omapfb_main.c 						var->green.msb_right = 0;
green             560 drivers/video/fbdev/omap/omapfb_main.c 		var->green.offset = 5;  var->green.length = 6;
green             561 drivers/video/fbdev/omap/omapfb_main.c 						var->green.msb_right = 0;
green             552 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c 	mode->green = var.green;
green             217 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		.green	= { .length = 4, .offset = 4, .msb_right = 0 },
green             224 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		.green	= { .length = 6, .offset = 5, .msb_right = 0 },
green             231 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		.green	= { .length = 8, .offset = 8, .msb_right = 0 },
green             238 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		.green	= { .length = 8, .offset = 8, .msb_right = 0 },
green             245 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		.green	= { .length = 8, .offset = 8, .msb_right = 0 },
green             252 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		.green	= { .length = 8, .offset = 16, .msb_right = 0 },
green             259 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		.green	= { .length = 8, .offset = 16, .msb_right = 0 },
green             278 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 			var->green.length == 0)
green             283 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		cmp_component(&var->green, &color->green) &&
green             294 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	var->green = color->green;
green            1131 drivers/video/fbdev/omap2/omapfb/omapfb-main.c static int _setcolreg(struct fb_info *fbi, u_int regno, u_int red, u_int green,
green            1171 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 				((green >> (16 - var->green.length)) <<
green            1172 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 				 var->green.offset) |
green            1183 drivers/video/fbdev/omap2/omapfb/omapfb-main.c static int omapfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green            1188 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	return _setcolreg(info, regno, red, green, blue, transp, 1);
green            1194 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	u16 *red, *green, *blue, *transp;
green            1200 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	green   = cmap->green;
green            1208 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		r = _setcolreg(info, index++, *red++, *green++, *blue++, trans,
green             105 drivers/video/fbdev/omap2/omapfb/omapfb.h 	struct fb_bitfield green;
green             150 drivers/video/fbdev/p9100.c 			   unsigned red, unsigned green, unsigned blue,
green             161 drivers/video/fbdev/p9100.c 	green >>= 8;
green             168 drivers/video/fbdev/p9100.c 	sbus_writel((green << 16), &regs->ramdac_palette_data);
green             275 drivers/video/fbdev/p9100.c 	info->var.green.length = 8;
green              52 drivers/video/fbdev/platinumfb.c 		__u8 red, green, blue;
green              77 drivers/video/fbdev/platinumfb.c static int platinumfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             182 drivers/video/fbdev/platinumfb.c static int platinumfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             192 drivers/video/fbdev/platinumfb.c 	green >>= 8;
green             196 drivers/video/fbdev/platinumfb.c 	pinfo->palette[regno].green = green;
green             201 drivers/video/fbdev/platinumfb.c 	out_8(&cmap_regs->lut, green);		/* a time...			*/
green             125 drivers/video/fbdev/pm2fb.c 	.green =		{0, 8, 0},
green             630 drivers/video/fbdev/pm2fb.c 		var->green.length = 8;
green             636 drivers/video/fbdev/pm2fb.c 		var->green.offset = 5;
green             637 drivers/video/fbdev/pm2fb.c 		var->green.length = 6;
green             645 drivers/video/fbdev/pm2fb.c 		var->green.offset = 8;
green             648 drivers/video/fbdev/pm2fb.c 		var->green.length = 8;
green             659 drivers/video/fbdev/pm2fb.c 		var->green.offset = 8;
green             661 drivers/video/fbdev/pm2fb.c 		var->green.length = 8;
green             866 drivers/video/fbdev/pm2fb.c static int pm2fb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             881 drivers/video/fbdev/pm2fb.c 		red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green             911 drivers/video/fbdev/pm2fb.c 		green = CNVT_TOHW(green, info->var.green.length);
green             919 drivers/video/fbdev/pm2fb.c 		green = CNVT_TOHW(green, 8);
green             934 drivers/video/fbdev/pm2fb.c 			(green << info->var.green.offset) |
green             949 drivers/video/fbdev/pm2fb.c 		set_color(par, regno, red, green, blue);
green            1303 drivers/video/fbdev/pm2fb.c 			     cmap.green[bg_idx] >> 8 );
green            1310 drivers/video/fbdev/pm2fb.c 			     cmap.green[fg_idx] >> 8 );
green            1411 drivers/video/fbdev/pm2fb.c 			info->cmap.green[bg_idx] >> 8);
green            1418 drivers/video/fbdev/pm2fb.c 			info->cmap.green[fg_idx] >> 8);
green             176 drivers/video/fbdev/pm3fb.c 		return var->red.length + var->green.length
green             666 drivers/video/fbdev/pm3fb.c 				  cmap.green[fg_idx] >> 8 );
green             673 drivers/video/fbdev/pm3fb.c 				  cmap.green[bg_idx] >> 8 );
green             914 drivers/video/fbdev/pm3fb.c 	unsigned bpp = var->red.length + var->green.length
green             923 drivers/video/fbdev/pm3fb.c 			var->green.length = 8;
green             926 drivers/video/fbdev/pm3fb.c 			var->green.offset = 0;
green             934 drivers/video/fbdev/pm3fb.c 			var->green.length = 6;
green             939 drivers/video/fbdev/pm3fb.c 			var->green.length = 8;
green             952 drivers/video/fbdev/pm3fb.c 		var->green.offset = var->blue.length;
green             953 drivers/video/fbdev/pm3fb.c 		var->red.offset = var->green.offset + var->green.length;
green            1068 drivers/video/fbdev/pm3fb.c static int pm3fb_setcolreg(unsigned regno, unsigned red, unsigned green,
green            1080 drivers/video/fbdev/pm3fb.c 	   red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green            1107 drivers/video/fbdev/pm3fb.c 	green = CNVT_TOHW(green, info->var.green.length);
green            1120 drivers/video/fbdev/pm3fb.c 			(green << info->var.green.offset) |
green            1134 drivers/video/fbdev/pm3fb.c 		pm3fb_set_color(par, regno, red, green, blue);
green              78 drivers/video/fbdev/pmag-aa-fb.c 	.green.length	= 1,
green              53 drivers/video/fbdev/pmag-ba-fb.c 	.green.length	= 8,
green              95 drivers/video/fbdev/pmag-ba-fb.c 			      unsigned int green, unsigned int blue,
green             104 drivers/video/fbdev/pmag-ba-fb.c 	green >>= 8;	/* wide, but the hardware colormap */
green             113 drivers/video/fbdev/pmag-ba-fb.c 	dac_write(par, BT459_CMAP, green);
green              50 drivers/video/fbdev/pmagb-b-fb.c 	.green.length	= 8,
green              99 drivers/video/fbdev/pmagb-b-fb.c 			      unsigned int green, unsigned int blue,
green             108 drivers/video/fbdev/pmagb-b-fb.c 	green >>= 8;	/* wide, but the hardware colormap */
green             117 drivers/video/fbdev/pmagb-b-fb.c 	dac_write(par, BT459_CMAP, green);
green             556 drivers/video/fbdev/ps3fb.c 	    var->red.offset > 16 || var->green.offset > 8 ||
green             558 drivers/video/fbdev/ps3fb.c 	    var->red.length > 8 || var->green.length > 8 ||
green             560 drivers/video/fbdev/ps3fb.c 	    var->red.msb_right || var->green.msb_right ||
green             568 drivers/video/fbdev/ps3fb.c 	var->green.offset = 8;
green             572 drivers/video/fbdev/ps3fb.c 	var->green.length = 8;
green             576 drivers/video/fbdev/ps3fb.c 	var->green.msb_right = 0;
green             676 drivers/video/fbdev/ps3fb.c 			   unsigned int green, unsigned int blue,
green             683 drivers/video/fbdev/ps3fb.c 	green >>= 8;
green             688 drivers/video/fbdev/ps3fb.c 					       green << 8 | blue;
green             165 drivers/video/fbdev/pvr2fb.c 	.green =	{  5, 6, 0 },
green             260 drivers/video/fbdev/pvr2fb.c 		var->green.offset = 5;   var->green.length = 6;
green             266 drivers/video/fbdev/pvr2fb.c 		var->green.offset = 8;   var->green.length = 8;
green             273 drivers/video/fbdev/pvr2fb.c 		var->green.offset = 8;   var->green.length = 8;
green             281 drivers/video/fbdev/pvr2fb.c 			    unsigned int green, unsigned int blue,
green             298 drivers/video/fbdev/pvr2fb.c 		      ((green & 0xfc00) >> 5) |
green             304 drivers/video/fbdev/pvr2fb.c 		red >>= 8; green >>= 8; blue >>= 8;
green             305 drivers/video/fbdev/pvr2fb.c 		tmp = (red << 16) | (green << 8) | blue;
green             308 drivers/video/fbdev/pvr2fb.c 		red >>= 8; green >>= 8; blue >>= 8;
green             309 drivers/video/fbdev/pvr2fb.c 		tmp = (transp << 24) | (red << 16) | (green << 8) | blue;
green              49 drivers/video/fbdev/pxa168fb.c 	    var->green.length <= 6 && var->blue.length <= 5) {
green              57 drivers/video/fbdev/pxa168fb.c 		if (var->transp.length == 1 && var->green.length <= 5) {
green              71 drivers/video/fbdev/pxa168fb.c 	    var->green.length <= 8 && var->blue.length <= 8) {
green             103 drivers/video/fbdev/pxa168fb.c 		var->green.offset = 5;   var->green.length = 6;
green             110 drivers/video/fbdev/pxa168fb.c 		var->green.offset = 5;   var->green.length = 6;
green             117 drivers/video/fbdev/pxa168fb.c 		var->green.offset = 5;   var->green.length = 5;
green             124 drivers/video/fbdev/pxa168fb.c 		var->green.offset = 5;   var->green.length = 5;
green             131 drivers/video/fbdev/pxa168fb.c 		var->green.offset = 8;   var->green.length = 8;
green             138 drivers/video/fbdev/pxa168fb.c 		var->green.offset = 8;   var->green.length = 8;
green             145 drivers/video/fbdev/pxa168fb.c 		var->green.offset = 8;   var->green.length = 8;
green             152 drivers/video/fbdev/pxa168fb.c 		var->green.offset = 8;   var->green.length = 8;
green             159 drivers/video/fbdev/pxa168fb.c 		var->green.offset = 0;   var->green.length = 8;
green             479 drivers/video/fbdev/pxa168fb.c static u32 to_rgb(u16 red, u16 green, u16 blue)
green             482 drivers/video/fbdev/pxa168fb.c 	green >>= 8;
green             485 drivers/video/fbdev/pxa168fb.c 	return (red << 16) | (green << 8) | blue;
green             489 drivers/video/fbdev/pxa168fb.c pxa168fb_setcolreg(unsigned int regno, unsigned int red, unsigned int green,
green             496 drivers/video/fbdev/pxa168fb.c 		red = green = blue = (19595 * red + 38470 * green +
green             501 drivers/video/fbdev/pxa168fb.c 		val |= chan_to_field(green, &info->var.green);
green             507 drivers/video/fbdev/pxa168fb.c 		val = to_rgb(red, green, blue);
green             100 drivers/video/fbdev/pxa168fb.h #define     CFG_HWC_COLOR1_G(green)		((green) << 8)
green             142 drivers/video/fbdev/pxafb.c pxafb_setpalettereg(u_int regno, u_int red, u_int green, u_int blue,
green             159 drivers/video/fbdev/pxafb.c 		val |= ((green >>  5) & 0x07e0);
green             165 drivers/video/fbdev/pxafb.c 		val |= ((green >> 0) & 0x0000fc00);
green             171 drivers/video/fbdev/pxafb.c 		val |= ((green >> 0) & 0x0000fc00);
green             177 drivers/video/fbdev/pxafb.c 		val |= ((green >> 0) & 0x0000ff00);
green             187 drivers/video/fbdev/pxafb.c pxafb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             202 drivers/video/fbdev/pxafb.c 		green = 0xffff - green;
green             211 drivers/video/fbdev/pxafb.c 		red = green = blue = (19595 * red + 38470 * green +
green             224 drivers/video/fbdev/pxafb.c 			val |= chan_to_field(green, &fbi->fb.var.green);
green             234 drivers/video/fbdev/pxafb.c 		ret = pxafb_setpalettereg(regno, red, green, blue, trans, info);
green             244 drivers/video/fbdev/pxafb.c 	return var->red.length + var->green.length +
green             314 drivers/video/fbdev/pxafb.c 	(v)->green.length  = (g); (v)->green.offset = (b);	\
green             329 drivers/video/fbdev/pxafb.c 		var->green.offset  = 0; var->green.length  = 8;
green              46 drivers/video/fbdev/q40fb.c 	.green		= {11, 5, 0},
green              54 drivers/video/fbdev/q40fb.c static int q40fb_setcolreg(unsigned regno, unsigned red, unsigned green,
green              67 drivers/video/fbdev/q40fb.c     green>>=11;
green              72 drivers/video/fbdev/q40fb.c 					       ((green & 31) << 11) |
green             227 drivers/video/fbdev/riva/fbdev.c 	.green		= {0, 8, 0},
green             543 drivers/video/fbdev/riva/fbdev.c 		       unsigned char green, unsigned char blue)
green             547 drivers/video/fbdev/riva/fbdev.c 	VGA_WR08(chip->PDIO, 0x3c9, green);
green             567 drivers/video/fbdev/riva/fbdev.c 		       unsigned char *green, unsigned char *blue)
green             572 drivers/video/fbdev/riva/fbdev.c 	*green = VGA_RD08(chip->PDIO, 0x3c9);
green             686 drivers/video/fbdev/riva/fbdev.c 	if (bpp == 16 && info->var.green.length == 5)
green            1008 drivers/video/fbdev/riva/fbdev.c 	switch (var->green.length) {
green            1093 drivers/video/fbdev/riva/fbdev.c 		var->red.offset = var->green.offset = var->blue.offset = 0;
green            1094 drivers/video/fbdev/riva/fbdev.c 		var->red.length = var->green.length = var->blue.length = 8;
green            1099 drivers/video/fbdev/riva/fbdev.c 		var->green.length = 5;
green            1105 drivers/video/fbdev/riva/fbdev.c 			var->green.length = 5;
green            1106 drivers/video/fbdev/riva/fbdev.c 		if (var->green.length == 5) {
green            1109 drivers/video/fbdev/riva/fbdev.c 			var->green.offset = 5;
green            1112 drivers/video/fbdev/riva/fbdev.c 			var->green.length = 5;
green            1117 drivers/video/fbdev/riva/fbdev.c 			var->green.offset = 5;
green            1120 drivers/video/fbdev/riva/fbdev.c 			var->green.length = 6;
green            1127 drivers/video/fbdev/riva/fbdev.c 		var->red.length = var->green.length = var->blue.length = 8;
green            1130 drivers/video/fbdev/riva/fbdev.c 		var->green.offset = 8;
green            1181 drivers/video/fbdev/riva/fbdev.c 	    var->green.msb_right =
green            1299 drivers/video/fbdev/riva/fbdev.c static int rivafb_setcolreg(unsigned regno, unsigned red, unsigned green,
green            1312 drivers/video/fbdev/riva/fbdev.c 		red = green = blue =
green            1313 drivers/video/fbdev/riva/fbdev.c 		    (red * 77 + green * 151 + blue * 28) >> 8;
green            1319 drivers/video/fbdev/riva/fbdev.c 			(regno << info->var.green.offset) |
green            1329 drivers/video/fbdev/riva/fbdev.c 					((green & 0xf800) >> 6) |
green            1334 drivers/video/fbdev/riva/fbdev.c 					((green & 0xff00)) |
green            1344 drivers/video/fbdev/riva/fbdev.c 		riva_wclut(chip, regno, red >> 8, green >> 8, blue >> 8);
green            1347 drivers/video/fbdev/riva/fbdev.c 		if (info->var.green.length == 5) {
green            1350 drivers/video/fbdev/riva/fbdev.c 					   green >> 8, blue >> 8);
green            1358 drivers/video/fbdev/riva/fbdev.c 						   red >> 8, green >> 8,
green            1365 drivers/video/fbdev/riva/fbdev.c 					   green >> 8, b);
green            1369 drivers/video/fbdev/riva/fbdev.c 		riva_wclut(chip, regno, red >> 8, green >> 8, blue >> 8);
green            1519 drivers/video/fbdev/riva/fbdev.c 		if (info->var.green.length == 6)
green            1637 drivers/video/fbdev/riva/fbdev.c 				((info->cmap.green[bg_idx] & 0xf8) << 2) |
green            1642 drivers/video/fbdev/riva/fbdev.c 				((info->cmap.green[fg_idx] & 0xf8) << 2) |
green             164 drivers/video/fbdev/s1d13xxxfb.c 	info->var.green.length = 4;
green             177 drivers/video/fbdev/s1d13xxxfb.c 	info->var.green.length = 6;
green             178 drivers/video/fbdev/s1d13xxxfb.c 	info->var.green.offset = 5;
green             264 drivers/video/fbdev/s1d13xxxfb.c s1d13xxxfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             274 drivers/video/fbdev/s1d13xxxfb.c 		    regno, red, green, blue, transp);
green             277 drivers/video/fbdev/s1d13xxxfb.c 		red = green = blue = (19595*red + 38470*green + 7471*blue) >> 16;
green             287 drivers/video/fbdev/s1d13xxxfb.c 			pseudo_val |= (green >> 10) << info->var.green.offset;
green             299 drivers/video/fbdev/s1d13xxxfb.c 			s1d13xxxfb_writereg(s1dfb, S1DREG_LKUP_DATA, green);
green             668 drivers/video/fbdev/s1d13xxxfb.c 			var->red.offset = var->green.offset = var->blue.offset = 0;
green             669 drivers/video/fbdev/s1d13xxxfb.c 			var->red.length = var->green.length = var->blue.length = 8;
green             268 drivers/video/fbdev/s3c-fb.c 			var->green.offset	= 2;
green             271 drivers/video/fbdev/s3c-fb.c 			var->green.length	= 3;
green             278 drivers/video/fbdev/s3c-fb.c 			var->green	= var->red;
green             293 drivers/video/fbdev/s3c-fb.c 		var->green.offset	= 6;
green             296 drivers/video/fbdev/s3c-fb.c 		var->green.length	= 6;
green             303 drivers/video/fbdev/s3c-fb.c 		var->green.offset	= 5;
green             306 drivers/video/fbdev/s3c-fb.c 		var->green.length	= 6;
green             321 drivers/video/fbdev/s3c-fb.c 		var->green.offset	= 8;
green             322 drivers/video/fbdev/s3c-fb.c 		var->green.length	= 8;
green             740 drivers/video/fbdev/s3c-fb.c 			    unsigned red, unsigned green, unsigned blue,
green             748 drivers/video/fbdev/s3c-fb.c 		__func__, win->index, regno, red, green, blue);
green             760 drivers/video/fbdev/s3c-fb.c 			val |= chan_to_field(green, &info->var.green);
green             770 drivers/video/fbdev/s3c-fb.c 			val |= chan_to_field(green, &win->palette.g);
green             185 drivers/video/fbdev/s3c2410fb.c 		var->green	= var->red;
green             193 drivers/video/fbdev/s3c2410fb.c 			var->green.length	= 3;
green             194 drivers/video/fbdev/s3c2410fb.c 			var->green.offset	= 2;
green             200 drivers/video/fbdev/s3c2410fb.c 			var->green		= var->red;
green             208 drivers/video/fbdev/s3c2410fb.c 		var->green.length	= 4;
green             209 drivers/video/fbdev/s3c2410fb.c 		var->green.offset	= 4;
green             219 drivers/video/fbdev/s3c2410fb.c 			var->green.offset	= 5;
green             222 drivers/video/fbdev/s3c2410fb.c 			var->green.length	= 6;
green             227 drivers/video/fbdev/s3c2410fb.c 			var->green.offset	= 6;
green             230 drivers/video/fbdev/s3c2410fb.c 			var->green.length	= 5;
green             238 drivers/video/fbdev/s3c2410fb.c 		var->green.length	= 8;
green             239 drivers/video/fbdev/s3c2410fb.c 		var->green.offset	= 8;
green             487 drivers/video/fbdev/s3c2410fb.c 			       unsigned red, unsigned green, unsigned blue,
green             505 drivers/video/fbdev/s3c2410fb.c 			val |= chan_to_field(green, &info->var.green);
green             517 drivers/video/fbdev/s3c2410fb.c 			val |= (green >>  5) & 0x07e0;
green             915 drivers/video/fbdev/s3fb.c static int s3fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             933 drivers/video/fbdev/s3fb.c 		outb(green >> 10, VGA_PEL_D);
green             943 drivers/video/fbdev/s3fb.c 		outb(green >> 10, VGA_PEL_D);
green             950 drivers/video/fbdev/s3fb.c 		if (fb->var.green.length == 5)
green             952 drivers/video/fbdev/s3fb.c 				((green & 0xF800) >> 6) | ((blue & 0xF800) >> 11);
green             953 drivers/video/fbdev/s3fb.c 		else if (fb->var.green.length == 6)
green             955 drivers/video/fbdev/s3fb.c 				((green & 0xFC00) >> 5) | ((blue & 0xF800) >> 11);
green             964 drivers/video/fbdev/s3fb.c 			(green & 0xFF00) | ((blue & 0xFF00) >> 8);
green             198 drivers/video/fbdev/sa1100fb.c 	.green	= { .offset = 0,  .length = 4, },
green             205 drivers/video/fbdev/sa1100fb.c 	.green	= { .offset = 0,  .length = 8, },
green             212 drivers/video/fbdev/sa1100fb.c 	.green	= { .offset = 5,  .length = 6, },
green             269 drivers/video/fbdev/sa1100fb.c sa1100fb_setpalettereg(u_int regno, u_int red, u_int green, u_int blue,
green             278 drivers/video/fbdev/sa1100fb.c 		val |= ((green >> 8) & 0x0f0);
green             291 drivers/video/fbdev/sa1100fb.c sa1100fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             307 drivers/video/fbdev/sa1100fb.c 		green = 0xffff - green;
green             316 drivers/video/fbdev/sa1100fb.c 		red = green = blue = (19595 * red + 38470 * green +
green             327 drivers/video/fbdev/sa1100fb.c 			val |= chan_to_field(green, &fbi->fb.var.green);
green             337 drivers/video/fbdev/sa1100fb.c 		ret = sa1100fb_setpalettereg(regno, red, green, blue, trans, info);
green             405 drivers/video/fbdev/sa1100fb.c 	var->green  = fbi->rgb[rgbidx]->green;
green             410 drivers/video/fbdev/sa1100fb.c 		var->red.length, var->green.length, var->blue.length,
green             414 drivers/video/fbdev/sa1100fb.c 		var->red.offset, var->green.offset, var->blue.offset,
green             241 drivers/video/fbdev/savage/savagefb.h 		u16 red, green, blue, transp;
green             876 drivers/video/fbdev/savage/savagefb_driver.c 		var->red.offset = var->green.offset =
green             878 drivers/video/fbdev/savage/savagefb_driver.c 		var->red.length = var->green.length =
green             884 drivers/video/fbdev/savage/savagefb_driver.c 		var->green.offset = 5;
green             885 drivers/video/fbdev/savage/savagefb_driver.c 		var->green.length = 6;
green             894 drivers/video/fbdev/savage/savagefb_driver.c 		var->green.offset = 8;
green             895 drivers/video/fbdev/savage/savagefb_driver.c 		var->green.length = 8;
green            1202 drivers/video/fbdev/savage/savagefb_driver.c 			      unsigned        green,
green            1213 drivers/video/fbdev/savage/savagefb_driver.c 	par->palette[regno].green  = green;
green            1222 drivers/video/fbdev/savage/savagefb_driver.c 		vga_out8(0x3c9, green >> 10, par);
green            1230 drivers/video/fbdev/savage/savagefb_driver.c 				((green & 0xfc00) >>  5) |
green            1238 drivers/video/fbdev/savage/savagefb_driver.c 				((green  & 0xff00)      ) |
green            1246 drivers/video/fbdev/savage/savagefb_driver.c 				((green  & 0xff00)      ) |
green             120 drivers/video/fbdev/sbuslib.c 		u16 red, green, blue;
green             130 drivers/video/fbdev/sbuslib.c 		    get_user(ugreen, &c->green) ||
green             136 drivers/video/fbdev/sbuslib.c 		cmap.green = &green;
green             148 drivers/video/fbdev/sbuslib.c 			green = green8 << 8;
green             165 drivers/video/fbdev/sbuslib.c 		u8 red, green, blue;
green             170 drivers/video/fbdev/sbuslib.c 		    get_user(ugreen, &c->green) ||
green             179 drivers/video/fbdev/sbuslib.c 			green = cmap->green[index + i] >> 8;
green             182 drivers/video/fbdev/sbuslib.c 			    put_user(green, &ugreen[i]) ||
green             205 drivers/video/fbdev/sbuslib.c 	ret |= get_user(addr, &argp->green);
green             206 drivers/video/fbdev/sbuslib.c 	ret |= put_user(compat_ptr(addr), &p->green);
green             230 drivers/video/fbdev/sbuslib.c 	ret |= get_user(addr, &argp->cmap.green);
green             231 drivers/video/fbdev/sbuslib.c 	ret |= put_user(compat_ptr(addr), &p->cmap.green);
green              98 drivers/video/fbdev/sh7760fb.c 	u_int red, u_int green, u_int blue,
green             109 drivers/video/fbdev/sh7760fb.c 	green >>= 16 - info->var.green.length;
green             114 drivers/video/fbdev/sh7760fb.c 		(green << info->var.green.offset) |
green             500 drivers/video/fbdev/sh7760fb.c 	info->var.green.offset = 5;
green             501 drivers/video/fbdev/sh7760fb.c 	info->var.green.length = 6;
green             502 drivers/video/fbdev/sh7760fb.c 	info->var.green.msb_right = 0;
green            1145 drivers/video/fbdev/sh_mobile_lcdcfb.c 			var->green.offset = 5;
green            1146 drivers/video/fbdev/sh_mobile_lcdcfb.c 			var->green.length = 6;
green            1155 drivers/video/fbdev/sh_mobile_lcdcfb.c 			var->green.offset = 8;
green            1156 drivers/video/fbdev/sh_mobile_lcdcfb.c 			var->green.length = 8;
green            1165 drivers/video/fbdev/sh_mobile_lcdcfb.c 			var->green.offset = 8;
green            1166 drivers/video/fbdev/sh_mobile_lcdcfb.c 			var->green.length = 8;
green            1175 drivers/video/fbdev/sh_mobile_lcdcfb.c 		var->green.msb_right = 0;
green            1628 drivers/video/fbdev/sh_mobile_lcdcfb.c 				    u_int red, u_int green, u_int blue,
green            1639 drivers/video/fbdev/sh_mobile_lcdcfb.c 	green >>= 16 - info->var.green.length;
green            1644 drivers/video/fbdev/sh_mobile_lcdcfb.c 	  (green << info->var.green.offset) |
green              44 drivers/video/fbdev/simplefb.c static int simplefb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green              49 drivers/video/fbdev/simplefb.c 	u32 cg = green >> (16 - info->var.green.length);
green              57 drivers/video/fbdev/simplefb.c 		(cg << info->var.green.offset) |
green             447 drivers/video/fbdev/simplefb.c 	info->var.green = params.format->green;
green              79 drivers/video/fbdev/sis/sis_main.c static int	sisfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green            1165 drivers/video/fbdev/sis/sis_main.c 		var->red.offset = var->green.offset = var->blue.offset = 0;
green            1166 drivers/video/fbdev/sis/sis_main.c 		var->red.length = var->green.length = var->blue.length = 8;
green            1171 drivers/video/fbdev/sis/sis_main.c 		var->green.offset = 5;
green            1172 drivers/video/fbdev/sis/sis_main.c 		var->green.length = 6;
green            1181 drivers/video/fbdev/sis/sis_main.c 		var->green.offset = 8;
green            1182 drivers/video/fbdev/sis/sis_main.c 		var->green.length = 8;
green            1405 drivers/video/fbdev/sis/sis_main.c sisfb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue,
green            1417 drivers/video/fbdev/sis/sis_main.c 		SiS_SetRegByte(SISDACD, (green >> 10));
green            1422 drivers/video/fbdev/sis/sis_main.c 			SiS_SetRegByte(SISDAC2D, (green >> 8));
green            1432 drivers/video/fbdev/sis/sis_main.c 				((green & 0xfc00) >> 5) |
green            1440 drivers/video/fbdev/sis/sis_main.c 		green >>= 8;
green            1443 drivers/video/fbdev/sis/sis_main.c 				(red << 16) | (green << 8) | (blue);
green            1643 drivers/video/fbdev/sis/sis_main.c 		var->green.msb_right =
green              28 drivers/video/fbdev/sis/sis_main.h 	.green           = {0, 8, 0},
green             284 drivers/video/fbdev/skeletonfb.c static int xxxfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             297 drivers/video/fbdev/skeletonfb.c        red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green             364 drivers/video/fbdev/skeletonfb.c     green = CNVT_TOHW(green, info->var.green.length);
green             378 drivers/video/fbdev/skeletonfb.c 	    write_{red|green|blue|transp}_to_clut();
green             403 drivers/video/fbdev/skeletonfb.c 		    (green << info->var.green.offset) |
green             343 drivers/video/fbdev/sm501fb.c 		var->green.length	= var->bits_per_pixel;
green             344 drivers/video/fbdev/sm501fb.c 		var->green.offset	= 0;
green             355 drivers/video/fbdev/sm501fb.c 			var->green.offset	= 5;
green             359 drivers/video/fbdev/sm501fb.c 			var->green.offset	= 5;
green             365 drivers/video/fbdev/sm501fb.c 		var->green.length	= 6;
green             374 drivers/video/fbdev/sm501fb.c 			var->green.offset	= 16;
green             379 drivers/video/fbdev/sm501fb.c 			var->green.offset	= 8;
green             384 drivers/video/fbdev/sm501fb.c 		var->green.length	= 8;
green             912 drivers/video/fbdev/sm501fb.c 			     unsigned red, unsigned green, unsigned blue,
green             933 drivers/video/fbdev/sm501fb.c 			val |= chan_to_field(green, &info->var.green);
green             943 drivers/video/fbdev/sm501fb.c 			val |= (green >> 8) << 8;
green            1096 drivers/video/fbdev/sm501fb.c 			((info->cmap.green[bg_col] & 0xFC) << 3) |
green            1100 drivers/video/fbdev/sm501fb.c 			((info->cmap.green[fg_col] & 0xFC) << 3) |
green              66 drivers/video/fbdev/sm712fb.c 	.green          = {8, 8, 0},
green             860 drivers/video/fbdev/sm712fb.c static void sm712_setpalette(int regno, unsigned int red, unsigned int green,
green             868 drivers/video/fbdev/sm712fb.c 	smtc_mmiowb(green >> 10, dac_val);
green             972 drivers/video/fbdev/sm712fb.c 			  unsigned int green, unsigned int blue,
green             995 drivers/video/fbdev/sm712fb.c 			val |= chan_to_field(green, &sfb->fb->var.green);
green             997 drivers/video/fbdev/sm712fb.c 			pal[regno] = pal_rgb(red, green, blue, val);
green            1002 drivers/video/fbdev/sm712fb.c 			val |= chan_to_field(green, &sfb->fb->var.green);
green            1010 drivers/video/fbdev/sm712fb.c 		sm712_setpalette(regno, red, green, blue, info);
green            1303 drivers/video/fbdev/sm712fb.c 		sfb->fb->var.green.length = 8;
green            1306 drivers/video/fbdev/sm712fb.c 		sfb->fb->var.green.offset = 8;
green            1313 drivers/video/fbdev/sm712fb.c 		sfb->fb->var.green.length = 8;
green            1316 drivers/video/fbdev/sm712fb.c 		sfb->fb->var.green.offset = 8;
green            1323 drivers/video/fbdev/sm712fb.c 		sfb->fb->var.green.length = 3;
green            1326 drivers/video/fbdev/sm712fb.c 		sfb->fb->var.green.offset = 2;
green            1334 drivers/video/fbdev/sm712fb.c 		sfb->fb->var.green.length = 6;
green            1337 drivers/video/fbdev/sm712fb.c 		sfb->fb->var.green.offset = 5;
green            1035 drivers/video/fbdev/smscufx.c ufx_ops_setcolreg(unsigned regno, unsigned red, unsigned green,
green            1048 drivers/video/fbdev/smscufx.c 			    ((green & 0xf800) >> 6) | ((blue & 0xf800) >> 11);
green            1053 drivers/video/fbdev/smscufx.c 			    ((green & 0xfc00) >> 5) | ((blue & 0xf800) >> 11);
green            1209 drivers/video/fbdev/smscufx.c 	const struct fb_bitfield green = { 5, 6, 0 };
green            1214 drivers/video/fbdev/smscufx.c 	var->green = green;
green             108 drivers/video/fbdev/ssd1307fb.c 	.green = { .length = 1 },
green             458 drivers/video/fbdev/sstfb.c 		var->green.length  = 6;
green             463 drivers/video/fbdev/sstfb.c 		var->green.offset  = 5;
green             667 drivers/video/fbdev/sstfb.c static int sstfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             675 drivers/video/fbdev/sstfb.c 	            regno, red, green, blue, transp);
green             680 drivers/video/fbdev/sstfb.c 	green  >>= (16 - info->var.green.length);
green             684 drivers/video/fbdev/sstfb.c 	    | (green << info->var.green.offset)
green             925 drivers/video/fbdev/stifb.c stifb_setcolreg(u_int regno, u_int red, u_int green,
green             935 drivers/video/fbdev/stifb.c 	green >>= 8;
green             945 drivers/video/fbdev/stifb.c 			 (green * 151) +
green             949 drivers/video/fbdev/stifb.c 			 (green << 8) |
green             958 drivers/video/fbdev/stifb.c 				regno << var->green.offset |
green            1268 drivers/video/fbdev/stifb.c 		var->red.length = var->green.length = var->blue.length = 1;
green            1273 drivers/video/fbdev/stifb.c 		var->red.length = var->green.length = var->blue.length = 8;
green            1278 drivers/video/fbdev/stifb.c 		var->red.length = var->green.length = var->blue.length = var->transp.length = 8;
green            1280 drivers/video/fbdev/stifb.c 		var->green.offset = 8;
green              45 drivers/video/fbdev/sunxvr1000.c 			 unsigned red, unsigned green, unsigned blue,
green              52 drivers/video/fbdev/sunxvr1000.c 		green >>= 8;
green              55 drivers/video/fbdev/sunxvr1000.c 		value = (blue << 16) | (green << 8) | red;
green             100 drivers/video/fbdev/sunxvr1000.c 	var->green.offset = 8;
green             101 drivers/video/fbdev/sunxvr1000.c 	var->green.length = 8;
green              49 drivers/video/fbdev/sunxvr2500.c 			 unsigned red, unsigned green, unsigned blue,
green              56 drivers/video/fbdev/sunxvr2500.c 		green >>= 8;
green              59 drivers/video/fbdev/sunxvr2500.c 		value = (blue << 24) | (green << 16) | (red << 8);
green             104 drivers/video/fbdev/sunxvr2500.c 	var->green.offset = 16;
green             105 drivers/video/fbdev/sunxvr2500.c 	var->green.length = 8;
green             112 drivers/video/fbdev/sunxvr500.c 			 unsigned red, unsigned green, unsigned blue,
green             124 drivers/video/fbdev/sunxvr500.c 	green_8 = green >> 8;
green             134 drivers/video/fbdev/sunxvr500.c 	green_10 = green >> 6;
green             227 drivers/video/fbdev/sunxvr500.c 	var->green.offset = 16;
green             228 drivers/video/fbdev/sunxvr500.c 	var->green.length = 8;
green             171 drivers/video/fbdev/tcx.c 			 unsigned red, unsigned green, unsigned blue,
green             182 drivers/video/fbdev/tcx.c 	green >>= 8;
green             189 drivers/video/fbdev/tcx.c 	sbus_writel(green << 24, &bt->color_map);
green             387 drivers/video/fbdev/tcx.c 	info->var.green.length = 8;
green             103 drivers/video/fbdev/tdfxfb.c 	.green =	{0, 8, 0},
green             512 drivers/video/fbdev/tdfxfb.c 		var->green = var->red;
green             518 drivers/video/fbdev/tdfxfb.c 		var->green.offset = 5;
green             519 drivers/video/fbdev/tdfxfb.c 		var->green.length = 6;
green             529 drivers/video/fbdev/tdfxfb.c 		var->green.offset = 8;
green             531 drivers/video/fbdev/tdfxfb.c 		var->red.length = var->green.length = var->blue.length = 8;
green             740 drivers/video/fbdev/tdfxfb.c static int tdfxfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             753 drivers/video/fbdev/tdfxfb.c 		blue = (red * 77 + green * 151 + blue * 28) >> 8;
green             754 drivers/video/fbdev/tdfxfb.c 		green = blue;
green             761 drivers/video/fbdev/tdfxfb.c 			 (((u32)green & 0xff00) << 0) |
green             770 drivers/video/fbdev/tdfxfb.c 				(CNVT_TOHW(green, info->var.green.length) <<
green             771 drivers/video/fbdev/tdfxfb.c 				 info->var.green.offset) |
green            1077 drivers/video/fbdev/tdfxfb.c 			   (((u32)cmap.green[fg_idx] & 0xff00) << 0) |
green            1080 drivers/video/fbdev/tdfxfb.c 			   (((u32)cmap.green[bg_idx] & 0xff00) << 0) |
green             176 drivers/video/fbdev/tgafb.c 	var->red.length = var->green.length = var->blue.length = 8;
green             179 drivers/video/fbdev/tgafb.c 		var->green.offset = 8;
green             515 drivers/video/fbdev/tgafb.c tgafb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue,
green             525 drivers/video/fbdev/tgafb.c 	green >>= 8;
green             532 drivers/video/fbdev/tgafb.c 		TGA_WRITE_REG(par, green|(BT485_DATA_PAL<<8),TGA_RAMDAC_REG);
green             538 drivers/video/fbdev/tgafb.c 		TGA_WRITE_REG(par, green, TGA_RAMDAC_REG);
green             548 drivers/video/fbdev/tgafb.c 		TGA_WRITE_REG(par, green, TGA_RAMDAC_REG);
green            1369 drivers/video/fbdev/tgafb.c 		info->var.green.length = 8;
green            1372 drivers/video/fbdev/tgafb.c 		info->var.green.offset = 8;
green             592 drivers/video/fbdev/tmiofb.c 	var->green.offset = 5;
green             593 drivers/video/fbdev/tmiofb.c 	var->green.length = 6;
green             623 drivers/video/fbdev/tmiofb.c static int tmiofb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             632 drivers/video/fbdev/tmiofb.c 			((green & 0xfc00) >>  5) |
green            1052 drivers/video/fbdev/tridentfb.c 		var->green = var->red;
green            1057 drivers/video/fbdev/tridentfb.c 		var->green.offset = 5;
green            1060 drivers/video/fbdev/tridentfb.c 		var->green.length = 6;
green            1065 drivers/video/fbdev/tridentfb.c 		var->green.offset = 8;
green            1068 drivers/video/fbdev/tridentfb.c 		var->green.length = 8;
green            1362 drivers/video/fbdev/tridentfb.c static int tridentfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green            1377 drivers/video/fbdev/tridentfb.c 		t_outb(par, green >> 10, VGA_PEL_D);
green            1384 drivers/video/fbdev/tridentfb.c 			col = (red & 0xF800) | ((green & 0xFC00) >> 5) |
green            1392 drivers/video/fbdev/tridentfb.c 				((green & 0xFF00))		|
green             926 drivers/video/fbdev/udlfb.c dlfb_ops_setcolreg(unsigned regno, unsigned red, unsigned green,
green             939 drivers/video/fbdev/udlfb.c 			    ((green & 0xf800) >> 6) | ((blue & 0xf800) >> 11);
green             944 drivers/video/fbdev/udlfb.c 			    ((green & 0xfc00) >> 5) | ((blue & 0xf800) >> 11);
green            1063 drivers/video/fbdev/udlfb.c 	const struct fb_bitfield green = { 5, 6, 0 };
green            1068 drivers/video/fbdev/udlfb.c 	var->green = green;
green             296 drivers/video/fbdev/uvesafb.c 		var->green.offset  = mode->green_off;
green             297 drivers/video/fbdev/uvesafb.c 		var->green.length  = mode->green_len;
green             304 drivers/video/fbdev/uvesafb.c 		var->green.offset  = 0;
green             309 drivers/video/fbdev/uvesafb.c 		var->green.length  = 8;
green             946 drivers/video/fbdev/uvesafb.c 			outb_p(entries[i].green, dac_val);
green             987 drivers/video/fbdev/uvesafb.c static int uvesafb_setcolreg(unsigned regno, unsigned red, unsigned green,
green            1000 drivers/video/fbdev/uvesafb.c 		entry.green = green >> shift;
green            1012 drivers/video/fbdev/uvesafb.c 						((green & 0xf800) >>  6) |
green            1018 drivers/video/fbdev/uvesafb.c 						((green & 0xfc00) >>  5) |
green            1026 drivers/video/fbdev/uvesafb.c 			green >>= 8;
green            1030 drivers/video/fbdev/uvesafb.c 				(green << info->var.green.offset) |
green            1056 drivers/video/fbdev/uvesafb.c 			entries[i].green = cmap->green[i] >> shift;
green            1070 drivers/video/fbdev/uvesafb.c 						cmap->green[i], cmap->blue[i],
green            1223 drivers/video/fbdev/uvesafb.c 		depth = info->var.red.length + info->var.green.length +
green            1369 drivers/video/fbdev/uvesafb.c 	int depth = var->red.length + var->green.length + var->blue.length;
green             103 drivers/video/fbdev/valkyriefb.c static int valkyriefb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             219 drivers/video/fbdev/valkyriefb.c static int valkyriefb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             230 drivers/video/fbdev/valkyriefb.c 	green >>= 8;
green             238 drivers/video/fbdev/valkyriefb.c 	out_8(&cmap_regs->lut, green);
green             409 drivers/video/fbdev/vermilion/vermilion.c 		var->green.offset = 5;
green             410 drivers/video/fbdev/vermilion/vermilion.c 		var->green.length = 5;
green             419 drivers/video/fbdev/vermilion/vermilion.c 		var->green.offset = 8;
green             420 drivers/video/fbdev/vermilion/vermilion.c 		var->green.length = 8;
green             430 drivers/video/fbdev/vermilion/vermilion.c 	var->blue.msb_right = var->green.msb_right =
green             649 drivers/video/fbdev/vermilion/vermilion.c 		    var->green.offset != 5 ||
green             650 drivers/video/fbdev/vermilion/vermilion.c 		    var->green.length != 5 ||
green             660 drivers/video/fbdev/vermilion/vermilion.c 		    var->green.offset != 8 ||
green             661 drivers/video/fbdev/vermilion/vermilion.c 		    var->green.length != 8 ||
green             950 drivers/video/fbdev/vermilion/vermilion.c static int vmlfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             959 drivers/video/fbdev/vermilion/vermilion.c 		red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green             967 drivers/video/fbdev/vermilion/vermilion.c 	green = VML_TOHW(green, info->var.green.length);
green             971 drivers/video/fbdev/vermilion/vermilion.c 	    (green << info->var.green.offset) |
green              86 drivers/video/fbdev/vesafb.c static int vesa_setpalette(int regno, unsigned red, unsigned green,
green              98 drivers/video/fbdev/vesafb.c 		outb_p(green >> shift, dac_val);
green             108 drivers/video/fbdev/vesafb.c 		struct { u_char blue, green, red, pad; } entry;
green             111 drivers/video/fbdev/vesafb.c 		entry.green = green >> shift;
green             130 drivers/video/fbdev/vesafb.c static int vesafb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             147 drivers/video/fbdev/vesafb.c 		err = vesa_setpalette(regno,red,green,blue);
green             155 drivers/video/fbdev/vesafb.c 					((green & 0xf800) >>  6) |
green             161 drivers/video/fbdev/vesafb.c 					((green & 0xfc00) >>  5) |
green             168 drivers/video/fbdev/vesafb.c 			green >>= 8;
green             172 drivers/video/fbdev/vesafb.c 				(green << info->var.green.offset) |
green             380 drivers/video/fbdev/vesafb.c 	vesafb_defined.green.offset  = screen_info.green_pos;
green             381 drivers/video/fbdev/vesafb.c 	vesafb_defined.green.length  = screen_info.green_size;
green             388 drivers/video/fbdev/vesafb.c 		depth = vesafb_defined.green.length;
green             390 drivers/video/fbdev/vesafb.c 		vesafb_defined.green.length =
green              74 drivers/video/fbdev/vfb.c static int vfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             179 drivers/video/fbdev/vfb.c 		var->green.offset = 0;
green             180 drivers/video/fbdev/vfb.c 		var->green.length = 8;
green             190 drivers/video/fbdev/vfb.c 			var->green.offset = 5;
green             191 drivers/video/fbdev/vfb.c 			var->green.length = 5;
green             199 drivers/video/fbdev/vfb.c 			var->green.offset = 5;
green             200 drivers/video/fbdev/vfb.c 			var->green.length = 6;
green             210 drivers/video/fbdev/vfb.c 		var->green.offset = 8;
green             211 drivers/video/fbdev/vfb.c 		var->green.length = 8;
green             220 drivers/video/fbdev/vfb.c 		var->green.offset = 8;
green             221 drivers/video/fbdev/vfb.c 		var->green.length = 8;
green             229 drivers/video/fbdev/vfb.c 	var->green.msb_right = 0;
green             268 drivers/video/fbdev/vfb.c static int vfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             280 drivers/video/fbdev/vfb.c 		red = green = blue =
green             281 drivers/video/fbdev/vfb.c 		    (red * 77 + green * 151 + blue * 28) >> 8;
green             313 drivers/video/fbdev/vfb.c 		green = CNVT_TOHW(green, info->var.green.length);
green             319 drivers/video/fbdev/vfb.c 		green = CNVT_TOHW(green, 8);
green             334 drivers/video/fbdev/vfb.c 		    (green << info->var.green.offset) |
green             505 drivers/video/fbdev/vga16fb.c 	var->red.offset = var->green.offset = var->blue.offset = 
green             507 drivers/video/fbdev/vga16fb.c 	var->red.length = var->green.length = var->blue.length =
green             636 drivers/video/fbdev/vga16fb.c static void ega16_setpalette(int regno, unsigned red, unsigned green, unsigned blue)
green             643 drivers/video/fbdev/vga16fb.c 	val = map[red>>14] | ((map[green>>14]) << 1) | ((map[blue>>14]) << 2);
green             650 drivers/video/fbdev/vga16fb.c static void vga16_setpalette(int regno, unsigned red, unsigned green, unsigned blue)
green             654 drivers/video/fbdev/vga16fb.c 	outb(green >> 10, VGA_PEL_D);
green             658 drivers/video/fbdev/vga16fb.c static int vga16fb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             679 drivers/video/fbdev/vga16fb.c 		red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8;
green             682 drivers/video/fbdev/vga16fb.c 		vga16_setpalette(regno,red,green,blue);
green             684 drivers/video/fbdev/vga16fb.c 		ega16_setpalette(regno,red,green,blue);
green            1342 drivers/video/fbdev/vga16fb.c 	vga16fb_defined.green.length = i;
green             657 drivers/video/fbdev/via/hw.c static void set_color_register(u8 index, u8 red, u8 green, u8 blue)
green             662 drivers/video/fbdev/via/hw.c 	outb(green, 0x3C9);
green             666 drivers/video/fbdev/via/hw.c void viafb_set_primary_color_register(u8 index, u8 red, u8 green, u8 blue)
green             669 drivers/video/fbdev/via/hw.c 	set_color_register(index, red, green, blue);
green             672 drivers/video/fbdev/via/hw.c void viafb_set_secondary_color_register(u8 index, u8 red, u8 green, u8 blue)
green             675 drivers/video/fbdev/via/hw.c 	set_color_register(index, red, green, blue);
green            1672 drivers/video/fbdev/via/hw.c 				      palLUT_table[i].green,
green            1684 drivers/video/fbdev/via/hw.c 				      palLUT_table[i].green,
green             487 drivers/video/fbdev/via/hw.h 	u8 green;
green             658 drivers/video/fbdev/via/hw.h void viafb_set_primary_color_register(u8 index, u8 red, u8 green, u8 blue);
green             659 drivers/video/fbdev/via/hw.h void viafb_set_secondary_color_register(u8 index, u8 red, u8 green, u8 blue);
green              78 drivers/video/fbdev/via/viafbdev.c 	var->green.msb_right = 0;
green              88 drivers/video/fbdev/via/viafbdev.c 		var->green.offset = 0;
green              91 drivers/video/fbdev/via/viafbdev.c 		var->green.length = 8;
green              97 drivers/video/fbdev/via/viafbdev.c 		var->green.offset = 5;
green             100 drivers/video/fbdev/via/viafbdev.c 		var->green.length = 5;
green             106 drivers/video/fbdev/via/viafbdev.c 		var->green.offset = 5;
green             109 drivers/video/fbdev/via/viafbdev.c 		var->green.length = 6;
green             115 drivers/video/fbdev/via/viafbdev.c 		var->green.offset = 8;
green             118 drivers/video/fbdev/via/viafbdev.c 		var->green.length = 8;
green             124 drivers/video/fbdev/via/viafbdev.c 		var->green.offset = 10;
green             127 drivers/video/fbdev/via/viafbdev.c 		var->green.length = 10;
green             296 drivers/video/fbdev/via/viafbdev.c static int viafb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             308 drivers/video/fbdev/via/viafbdev.c 				green >> 8, blue >> 8);
green             312 drivers/video/fbdev/via/viafbdev.c 				green >> 8, blue >> 8);
green             321 drivers/video/fbdev/via/viafbdev.c 		g = (green >> (16 - info->var.green.length))
green             322 drivers/video/fbdev/via/viafbdev.c 			<< info->var.green.offset;
green             818 drivers/video/fbdev/via/viafbdev.c 				((info->cmap.green[fg_color] & 0xFFC0) << 4) |
green             822 drivers/video/fbdev/via/viafbdev.c 				((info->cmap.green[bg_color] & 0xFFC0) << 4) |
green             827 drivers/video/fbdev/via/viafbdev.c 				(info->cmap.green[fg_color] & 0xFF00) |
green             831 drivers/video/fbdev/via/viafbdev.c 				(info->cmap.green[bg_color] & 0xFF00) |
green              55 drivers/video/fbdev/vt8500lcdfb.c 		info->var.green.offset  = 0;
green              56 drivers/video/fbdev/vt8500lcdfb.c 		info->var.green.length  = info->var.bits_per_pixel;
green              57 drivers/video/fbdev/vt8500lcdfb.c 		info->var.green.msb_right = 0;
green              81 drivers/video/fbdev/vt8500lcdfb.c 			info->var.green.offset = 5;
green              82 drivers/video/fbdev/vt8500lcdfb.c 			info->var.green.length = 6;
green              83 drivers/video/fbdev/vt8500lcdfb.c 			info->var.green.msb_right = 0;
green              93 drivers/video/fbdev/vt8500lcdfb.c 			info->var.green.offset = info->var.bits_per_pixel / 3;
green              94 drivers/video/fbdev/vt8500lcdfb.c 			info->var.green.length = info->var.bits_per_pixel / 3;
green              95 drivers/video/fbdev/vt8500lcdfb.c 			info->var.green.msb_right = 0;
green             139 drivers/video/fbdev/vt8500lcdfb.c static int vt8500lcd_setcolreg(unsigned regno, unsigned red, unsigned green,
green             149 drivers/video/fbdev/vt8500lcdfb.c 		red = green = blue =
green             150 drivers/video/fbdev/vt8500lcdfb.c 			(19595 * red + 38470 * green + 7471 * blue) >> 16;
green             158 drivers/video/fbdev/vt8500lcdfb.c 			val |= chan_to_field(green, &fbi->fb.var.green);
green             169 drivers/video/fbdev/vt8500lcdfb.c 		      | ((green >> 5) & 0x7e0)
green             518 drivers/video/fbdev/vt8623fb.c static int vt8623fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             530 drivers/video/fbdev/vt8623fb.c 		outb(green >> 10, VGA_PEL_D);
green             540 drivers/video/fbdev/vt8623fb.c 		outb(green >> 10, VGA_PEL_D);
green             547 drivers/video/fbdev/vt8623fb.c 		if (fb->var.green.length == 5)
green             549 drivers/video/fbdev/vt8623fb.c 				((green & 0xF800) >> 6) | ((blue & 0xF800) >> 11);
green             550 drivers/video/fbdev/vt8623fb.c 		else if (fb->var.green.length == 6)
green             552 drivers/video/fbdev/vt8623fb.c 				((green & 0xFC00) >> 5) | ((blue & 0xF800) >> 11);
green             563 drivers/video/fbdev/vt8623fb.c 			(green & 0xFF00) | ((blue & 0xFF00) >> 8);
green             202 drivers/video/fbdev/w100fb.c static int w100fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green             213 drivers/video/fbdev/w100fb.c 		red = green = blue = (19595 * red + 38470 * green + 7471 * blue) >> 16;
green             222 drivers/video/fbdev/w100fb.c 		val = (red & 0xf800) | ((green & 0xfc00) >> 5) | ((blue & 0xf800) >> 11);
green             497 drivers/video/fbdev/w100fb.c 	var->green.offset = 5;
green             498 drivers/video/fbdev/w100fb.c 	var->green.length = 6;
green             121 drivers/video/fbdev/wm8505fb.c 		info->var.green.offset = 8;
green             122 drivers/video/fbdev/wm8505fb.c 		info->var.green.length = 8;
green             123 drivers/video/fbdev/wm8505fb.c 		info->var.green.msb_right = 0;
green             133 drivers/video/fbdev/wm8505fb.c 		info->var.green.offset = 5;
green             134 drivers/video/fbdev/wm8505fb.c 		info->var.green.length = 6;
green             135 drivers/video/fbdev/wm8505fb.c 		info->var.green.msb_right = 0;
green             192 drivers/video/fbdev/wm8505fb.c static int wm8505fb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             202 drivers/video/fbdev/wm8505fb.c 		red = green = blue =
green             203 drivers/video/fbdev/wm8505fb.c 			(19595 * red + 38470 * green + 7471 * blue) >> 16;
green             211 drivers/video/fbdev/wm8505fb.c 			val |= chan_to_field(green, &fbi->fb.var.green);
green             214 drivers/video/fbdev/xen-fbfront.c static int xenfb_setcolreg(unsigned regno, unsigned red, unsigned green,
green             225 drivers/video/fbdev/xen-fbfront.c 	green = CNVT_TOHW(green, info->var.green.length);
green             231 drivers/video/fbdev/xen-fbfront.c 	    (green << info->var.green.offset) |
green             441 drivers/video/fbdev/xen-fbfront.c 	fb_info->var.green = (struct fb_bitfield){8, 8, 0};
green             124 drivers/video/fbdev/xilinxfb.c 	.green =	{ GREEN_SHIFT, 8, 0 },
green             198 drivers/video/fbdev/xilinxfb.c xilinx_fb_setcolreg(unsigned int regno, unsigned int red, unsigned int green,
green             210 drivers/video/fbdev/xilinxfb.c 		blue = (red * 77 + green * 151 + blue * 28 + 127) >> 8;
green             211 drivers/video/fbdev/xilinxfb.c 		green = blue;
green             212 drivers/video/fbdev/xilinxfb.c 		red = green;
green             219 drivers/video/fbdev/xilinxfb.c 	green >>= 8;
green             221 drivers/video/fbdev/xilinxfb.c 	palette[regno] = (red << RED_SHIFT) | (green << GREEN_SHIFT) |
green              81 include/acpi/acbuffer.h 	u8 green;
green             148 include/drm/drm_atomic_helper.h 				       u16 *red, u16 *green, u16 *blue,
green             226 include/linux/amba/clcd.h 		    var->green.length == 5)
green             228 include/linux/amba/clcd.h 		else if (var->green.length == 6)
green              97 include/linux/fb.h 	__u16 __user *green;
green             250 include/linux/fb.h 	int (*fb_setcolreg)(unsigned regno, unsigned red, unsigned green,
green            1968 include/linux/platform_data/cros_ec_commands.h 			uint8_t led, red, green, blue;
green            2024 include/linux/platform_data/cros_ec_commands.h 			uint8_t red, green, blue;
green              40 include/linux/platform_data/simplefb.h 	struct fb_bitfield green;
green              28 include/linux/svga.h 	struct fb_bitfield green;
green             620 include/uapi/drm/drm_mode.h 	__u64 green;
green             638 include/uapi/drm/drm_mode.h 	__u16 green;
green             342 include/uapi/drm/radeon_drm.h 	unsigned int green;
green             253 include/uapi/linux/fb.h 	struct fb_bitfield green;	/* else only length is significant */
green             285 include/uapi/linux/fb.h 	__u16 *green;
green             546 include/uapi/linux/omap3isp.h 	__u8 green;
green             619 include/uapi/linux/omap3isp.h 	__u32 green[OMAP3ISP_PREV_GAMMA_TBL_SIZE];
green             195 include/uapi/linux/omapfb.h 	struct fb_bitfield green;
green             238 include/video/imx-ipu-v3.h 	struct fb_bitfield      green;
green             442 include/video/newport.h 				       unsigned char green,
green             447 include/video/newport.h 		(green << 16) |
green              25 include/video/sa1100fb.h 	struct fb_bitfield	green;
green             102 include/video/uvesafb.h 	u_char blue, green, red, pad;
green              44 samples/vfio-mdev/mdpy-fb.c 	.green.offset	= 8,
green              48 samples/vfio-mdev/mdpy-fb.c 	.green.length	= 8,
green              58 samples/vfio-mdev/mdpy-fb.c static int mdpy_fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
green              63 samples/vfio-mdev/mdpy-fb.c 	u32 cg = green >> (16 - info->var.green.length);
green              71 samples/vfio-mdev/mdpy-fb.c 		(cg << info->var.green.offset) |
green              47 scripts/pnmtologo.c     unsigned char green;
green             179 scripts/pnmtologo.c 		    logo_data[i][j].red = logo_data[i][j].green =
green             188 scripts/pnmtologo.c 		    logo_data[i][j].red = logo_data[i][j].green =
green             198 scripts/pnmtologo.c 		    logo_data[i][j].green = get_number255(fp, maxval);
green             210 scripts/pnmtologo.c     return c.red == 0 && c.green == 0 && c.blue == 0;
green             215 scripts/pnmtologo.c     return c.red == 255 && c.green == 255 && c.blue == 255;
green             220 scripts/pnmtologo.c     return c.red == c.green && c.red == c.blue;
green             225 scripts/pnmtologo.c     return c1.red == c2.red && c1.green == c2.green && c1.blue == c2.blue;
green             389 scripts/pnmtologo.c 	write_hex(logo_clut[i].green);