rgb 82 arch/arm/mach-sa1100/h3600.c .rgb[RGB_16] = &h3600_rgb_16, rgb 388 arch/powerpc/include/asm/ps3av.h u8 rgb; rgb 2747 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (i64b == 0 && output.grph.rgb.independent_64b_blks != 0) rgb 144 drivers/gpu/drm/amd/display/dc/dc.h struct dc_dcc_setting rgb; rgb 1144 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c const struct pwl_result_data *rgb = params->rgb_resulted; rgb 1189 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c REG_WRITE(REGAMMA_LUT_DATA, rgb->red_reg); rgb 1190 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c REG_WRITE(REGAMMA_LUT_DATA, rgb->green_reg); rgb 1191 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c REG_WRITE(REGAMMA_LUT_DATA, rgb->blue_reg); rgb 1192 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c REG_WRITE(REGAMMA_LUT_DATA, rgb->delta_red_reg); rgb 1193 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c REG_WRITE(REGAMMA_LUT_DATA, rgb->delta_green_reg); rgb 1194 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c REG_WRITE(REGAMMA_LUT_DATA, rgb->delta_blue_reg); rgb 1196 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c ++rgb; rgb 328 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c struct pwl_result_data *rgb = rgb_resulted; rgb 379 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (!convert_to_custom_float_format(rgb->red, &fmt, rgb 380 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c &rgb->red_reg)) { rgb 385 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (!convert_to_custom_float_format(rgb->green, &fmt, rgb 386 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c &rgb->green_reg)) { rgb 391 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (!convert_to_custom_float_format(rgb->blue, &fmt, rgb 392 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c &rgb->blue_reg)) { rgb 397 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (!convert_to_custom_float_format(rgb->delta_red, &fmt, rgb 398 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c &rgb->delta_red_reg)) { rgb 403 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (!convert_to_custom_float_format(rgb->delta_green, &fmt, rgb 404 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c &rgb->delta_green_reg)) { rgb 409 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (!convert_to_custom_float_format(rgb->delta_blue, &fmt, rgb 410 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c &rgb->delta_blue_reg)) { rgb 415 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c ++rgb; rgb 432 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c struct pwl_result_data *rgb; rgb 571 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c rgb = rgb_resulted; rgb 577 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (dc_fixpt_lt(rgb_plus_1->red, rgb->red)) rgb 578 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c rgb_plus_1->red = rgb->red; rgb 579 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (dc_fixpt_lt(rgb_plus_1->green, rgb->green)) rgb 580 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c rgb_plus_1->green = rgb->green; rgb 581 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (dc_fixpt_lt(rgb_plus_1->blue, rgb->blue)) rgb 582 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c rgb_plus_1->blue = rgb->blue; rgb 584 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c rgb->delta_red = dc_fixpt_sub(rgb_plus_1->red, rgb->red); rgb 585 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c rgb->delta_green = dc_fixpt_sub(rgb_plus_1->green, rgb->green); rgb 586 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c rgb->delta_blue = dc_fixpt_sub(rgb_plus_1->blue, rgb->blue); rgb 589 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c ++rgb; rgb 474 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma_v.c const struct pwl_result_data *rgb = rgb 478 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma_v.c dm_write_reg(xfm_dce->base.ctx, addr, rgb->red_reg); rgb 479 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma_v.c dm_write_reg(xfm_dce->base.ctx, addr, rgb->green_reg); rgb 480 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma_v.c dm_write_reg(xfm_dce->base.ctx, addr, rgb->blue_reg); rgb 483 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma_v.c rgb->delta_red_reg); rgb 485 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma_v.c rgb->delta_green_reg); rgb 487 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma_v.c rgb->delta_blue_reg); rgb 489 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma_v.c ++rgb; rgb 136 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c struct pwl_result_data *rgb = rgb_resulted; rgb 262 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c if (!convert_to_custom_float_format(rgb->red, &fmt, rgb 263 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c &rgb->red_reg)) { rgb 268 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c if (!convert_to_custom_float_format(rgb->green, &fmt, rgb 269 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c &rgb->green_reg)) { rgb 274 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c if (!convert_to_custom_float_format(rgb->blue, &fmt, rgb 275 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c &rgb->blue_reg)) { rgb 280 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c if (!convert_to_custom_float_format(rgb->delta_red, &fmt, rgb 281 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c &rgb->delta_red_reg)) { rgb 286 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c if (!convert_to_custom_float_format(rgb->delta_green, &fmt, rgb 287 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c &rgb->delta_green_reg)) { rgb 292 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c if (!convert_to_custom_float_format(rgb->delta_blue, &fmt, rgb 293 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c &rgb->delta_blue_reg)) { rgb 298 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c ++rgb; rgb 317 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c struct pwl_result_data *rgb; rgb 466 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb = rgb_resulted; rgb 471 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb->delta_red = dc_fixpt_sub(rgb_plus_1->red, rgb->red); rgb 472 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb->delta_green = dc_fixpt_sub(rgb_plus_1->green, rgb->green); rgb 473 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb->delta_blue = dc_fixpt_sub(rgb_plus_1->blue, rgb->blue); rgb 476 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb->delta_red_reg = dc_fixpt_clamp_u0d10(rgb->delta_red); rgb 477 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb->delta_green_reg = dc_fixpt_clamp_u0d10(rgb->delta_green); rgb 478 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb->delta_blue_reg = dc_fixpt_clamp_u0d10(rgb->delta_blue); rgb 479 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb->red_reg = dc_fixpt_clamp_u0d14(rgb->red); rgb 480 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb->green_reg = dc_fixpt_clamp_u0d14(rgb->green); rgb 481 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb->blue_reg = dc_fixpt_clamp_u0d14(rgb->blue); rgb 485 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c ++rgb; rgb 504 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c struct pwl_result_data *rgb; rgb 623 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb = rgb_resulted; rgb 628 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb->delta_red = dc_fixpt_sub(rgb_plus_1->red, rgb->red); rgb 629 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb->delta_green = dc_fixpt_sub(rgb_plus_1->green, rgb->green); rgb 630 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c rgb->delta_blue = dc_fixpt_sub(rgb_plus_1->blue, rgb->blue); rgb 633 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c ++rgb; rgb 1409 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h const struct pwl_result_data *rgb, rgb 1448 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h const struct pwl_result_data *rgb, rgb 349 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c const struct pwl_result_data *rgb, rgb 356 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c REG_SET(CM_RGAM_LUT_DATA, 0, CM_RGAM_LUT_DATA, rgb[i].red_reg); rgb 357 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c REG_SET(CM_RGAM_LUT_DATA, 0, CM_RGAM_LUT_DATA, rgb[i].green_reg); rgb 358 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c REG_SET(CM_RGAM_LUT_DATA, 0, CM_RGAM_LUT_DATA, rgb[i].blue_reg); rgb 360 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c REG_SET(CM_RGAM_LUT_DATA, 0, CM_RGAM_LUT_DATA, rgb[i].delta_red_reg); rgb 361 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c REG_SET(CM_RGAM_LUT_DATA, 0, CM_RGAM_LUT_DATA, rgb[i].delta_green_reg); rgb 362 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c REG_SET(CM_RGAM_LUT_DATA, 0, CM_RGAM_LUT_DATA, rgb[i].delta_blue_reg); rgb 671 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c const struct pwl_result_data *rgb, rgb 686 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].red_reg); rgb 687 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].green_reg); rgb 688 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].blue_reg); rgb 691 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c CM_DGAM_LUT_DATA, rgb[i].delta_red_reg); rgb 693 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c CM_DGAM_LUT_DATA, rgb[i].delta_green_reg); rgb 695 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c CM_DGAM_LUT_DATA, rgb[i].delta_blue_reg); rgb 919 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c output->grph.rgb.max_uncompressed_blk_size = 256; rgb 920 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c output->grph.rgb.max_compressed_blk_size = 256; rgb 921 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c output->grph.rgb.independent_64b_blks = false; rgb 924 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c output->grph.rgb.max_uncompressed_blk_size = 128; rgb 925 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c output->grph.rgb.max_compressed_blk_size = 128; rgb 926 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c output->grph.rgb.independent_64b_blks = false; rgb 929 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c output->grph.rgb.max_uncompressed_blk_size = 256; rgb 930 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c output->grph.rgb.max_compressed_blk_size = 64; rgb 931 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c output->grph.rgb.independent_64b_blks = true; rgb 87 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c const struct pwl_result_data *rgb, rgb 101 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].red_reg); rgb 102 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].green_reg); rgb 103 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].blue_reg); rgb 106 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c CM_DGAM_LUT_DATA, rgb[i].delta_red_reg); rgb 108 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c CM_DGAM_LUT_DATA, rgb[i].delta_green_reg); rgb 110 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c CM_DGAM_LUT_DATA, rgb[i].delta_blue_reg); rgb 184 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c const struct pwl_result_data *rgb, rgb 191 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c REG_SET(CM_BLNDGAM_LUT_DATA, 0, CM_BLNDGAM_LUT_DATA, rgb[i].red_reg); rgb 192 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c REG_SET(CM_BLNDGAM_LUT_DATA, 0, CM_BLNDGAM_LUT_DATA, rgb[i].green_reg); rgb 193 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c REG_SET(CM_BLNDGAM_LUT_DATA, 0, CM_BLNDGAM_LUT_DATA, rgb[i].blue_reg); rgb 196 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c CM_BLNDGAM_LUT_DATA, rgb[i].delta_red_reg); rgb 198 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c CM_BLNDGAM_LUT_DATA, rgb[i].delta_green_reg); rgb 200 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c CM_BLNDGAM_LUT_DATA, rgb[i].delta_blue_reg); rgb 352 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c const struct pwl_result_data *rgb, rgb 363 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c red = rgb[i].red_reg; rgb 364 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c green = rgb[i].green_reg; rgb 365 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c blue = rgb[i].blue_reg; rgb 367 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c red_delta = rgb[i].delta_red_reg; rgb 368 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c green_delta = rgb[i].delta_green_reg; rgb 369 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c blue_delta = rgb[i].delta_blue_reg; rgb 282 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c output->grph.rgb.max_uncompressed_blk_size = 256; rgb 283 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c output->grph.rgb.max_compressed_blk_size = 256; rgb 284 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c output->grph.rgb.independent_64b_blks = false; rgb 287 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c output->grph.rgb.max_uncompressed_blk_size = 128; rgb 288 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c output->grph.rgb.max_compressed_blk_size = 128; rgb 289 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c output->grph.rgb.independent_64b_blks = false; rgb 292 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c output->grph.rgb.max_uncompressed_blk_size = 256; rgb 293 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c output->grph.rgb.max_compressed_blk_size = 64; rgb 294 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c output->grph.rgb.independent_64b_blks = true; rgb 342 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c const struct pwl_result_data *rgb, rgb 349 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c REG_SET(MPCC_OGAM_LUT_DATA[mpcc_id], 0, MPCC_OGAM_LUT_DATA, rgb[i].red_reg); rgb 350 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c REG_SET(MPCC_OGAM_LUT_DATA[mpcc_id], 0, MPCC_OGAM_LUT_DATA, rgb[i].green_reg); rgb 351 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c REG_SET(MPCC_OGAM_LUT_DATA[mpcc_id], 0, MPCC_OGAM_LUT_DATA, rgb[i].blue_reg); rgb 354 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c MPCC_OGAM_LUT_DATA, rgb[i].delta_red_reg); rgb 356 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c MPCC_OGAM_LUT_DATA, rgb[i].delta_green_reg); rgb 358 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c MPCC_OGAM_LUT_DATA, rgb[i].delta_blue_reg); rgb 153 drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h const struct pwl_result_data *rgb, rgb 218 drivers/gpu/drm/amd/display/dc/inc/hw/transform.h const struct pwl_result_data *rgb, rgb 626 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct pwl_float_data *rgb, rgb 658 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb[point->right_index].r, rgb 659 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb[point->left_index].r)), rgb 660 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb[point->left_index].r); rgb 666 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb[point->right_index].g, rgb 667 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb[point->left_index].g)), rgb 668 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb[point->left_index].g); rgb 674 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb[point->right_index].b, rgb 675 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb[point->left_index].b)), rgb 676 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb[point->left_index].b); rgb 695 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct pwl_float_data_ex *rgb = rgb_regamma; rgb 711 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb += start_index; rgb 731 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = output; rgb 732 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = output; rgb 733 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = output; rgb 736 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ++rgb; rgb 776 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct pwl_float_data_ex *rgb = rgb_regamma; rgb 791 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = translate_from_linear_space_ex( rgb 793 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = rgb->r; rgb 794 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = rgb->r; rgb 796 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ++rgb; rgb 894 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct pwl_float_data_ex *rgb = rgb_regamma; rgb 935 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb += 32; // first 32 points have problems with fixed point, too small rgb 955 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = output; rgb 956 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = output; rgb 957 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = output; rgb 960 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = clip; rgb 961 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = clip; rgb 962 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = clip; rgb 965 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = clip; rgb 966 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = clip; rgb 967 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = clip; rgb 971 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ++rgb; rgb 1034 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct pwl_float_data_ex *rgb = degamma; rgb 1040 drivers/gpu/drm/amd/display/modules/color/color_gamma.c compute_hlg_eotf(coord_x->x, &rgb->r, sdr_white_level, max_luminance_nits); rgb 1041 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = rgb->r; rgb 1042 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = rgb->r; rgb 1044 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ++rgb; rgb 1057 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct pwl_float_data_ex *rgb = regamma; rgb 1064 drivers/gpu/drm/amd/display/modules/color/color_gamma.c compute_hlg_oetf(coord_x->x, &rgb->r, sdr_white_level, max_luminance_nits); rgb 1065 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = rgb->r; rgb 1066 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = rgb->r; rgb 1068 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ++rgb; rgb 1081 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct pwl_float_data *rgb = pwl_rgb; rgb 1082 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct pwl_float_data *rgb_last = rgb + ramp->num_entries - 1; rgb 1099 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = dc_fixpt_div( rgb 1101 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = dc_fixpt_div( rgb 1103 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = dc_fixpt_div( rgb 1106 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ++rgb; rgb 1110 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = dc_fixpt_mul(rgb_last->r, rgb 1112 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = dc_fixpt_mul(rgb_last->g, rgb 1114 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = dc_fixpt_mul(rgb_last->b, rgb 1117 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ++rgb; rgb 1119 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = dc_fixpt_mul(rgb_last->r, rgb 1121 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = dc_fixpt_mul(rgb_last->g, rgb 1123 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = dc_fixpt_mul(rgb_last->b, rgb 1126 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ++rgb; rgb 1128 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = dc_fixpt_mul(rgb_last->r, rgb 1130 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = dc_fixpt_mul(rgb_last->g, rgb 1132 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = dc_fixpt_mul(rgb_last->b, rgb 1212 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct pwl_float_data *rgb = pwl_rgb; rgb 1213 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct pwl_float_data *rgb_last = rgb + GAMMA_RGB_256_ENTRIES - 1; rgb 1228 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = dc_fixpt_from_fraction( rgb 1230 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = dc_fixpt_from_fraction( rgb 1232 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = dc_fixpt_from_fraction( rgb 1235 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ++rgb; rgb 1239 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = dc_fixpt_mul(rgb_last->r, rgb 1241 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = dc_fixpt_mul(rgb_last->g, rgb 1243 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = dc_fixpt_mul(rgb_last->b, rgb 1246 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ++rgb; rgb 1248 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = dc_fixpt_mul(rgb_last->r, rgb 1250 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = dc_fixpt_mul(rgb_last->g, rgb 1252 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = dc_fixpt_mul(rgb_last->b, rgb 1255 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ++rgb; rgb 1257 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = dc_fixpt_mul(rgb_last->r, rgb 1259 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = dc_fixpt_mul(rgb_last->g, rgb 1261 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = dc_fixpt_mul(rgb_last->b, rgb 1576 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct pwl_float_data_ex *rgb = rgb_regamma; rgb 1583 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = translate_from_linear_space_ex( rgb 1585 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = rgb->r; rgb 1586 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = rgb->r; rgb 1588 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ++rgb; rgb 357 drivers/gpu/drm/bridge/adv7511/adv7511.h bool rgb; rgb 205 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c bool rgb, bool hdmi_mode) rgb 218 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c if (rgb) { rgb 325 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c adv7511->rgb = config->input_colorspace == HDMI_COLORSPACE_RGB; rgb 619 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c adv7511_set_config_csc(adv7511, connector, adv7511->rgb, rgb 211 drivers/gpu/drm/bridge/adv7511/adv7533.c adv->rgb = true; rgb 700 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define BLK_RGB(s) ((s)->rgb) rgb 770 drivers/gpu/drm/nouveau/dispnv04/crtc.c rgbs = (struct rgb *)nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].DAC; rgb 166 drivers/gpu/drm/rockchip/rockchip_drm_vop.c struct rockchip_rgb *rgb; rgb 1890 drivers/gpu/drm/rockchip/rockchip_drm_vop.c vop->rgb = rockchip_rgb_init(dev, &vop->crtc, vop->drm_dev); rgb 1891 drivers/gpu/drm/rockchip/rockchip_drm_vop.c if (IS_ERR(vop->rgb)) { rgb 1892 drivers/gpu/drm/rockchip/rockchip_drm_vop.c ret = PTR_ERR(vop->rgb); rgb 1909 drivers/gpu/drm/rockchip/rockchip_drm_vop.c if (vop->rgb) rgb 1910 drivers/gpu/drm/rockchip/rockchip_drm_vop.c rockchip_rgb_fini(vop->rgb); rgb 77 drivers/gpu/drm/rockchip/rockchip_rgb.c struct rockchip_rgb *rgb; rgb 85 drivers/gpu/drm/rockchip/rockchip_rgb.c rgb = devm_kzalloc(dev, sizeof(*rgb), GFP_KERNEL); rgb 86 drivers/gpu/drm/rockchip/rockchip_rgb.c if (!rgb) rgb 89 drivers/gpu/drm/rockchip/rockchip_rgb.c rgb->dev = dev; rgb 90 drivers/gpu/drm/rockchip/rockchip_rgb.c rgb->drm_dev = drm_dev; rgb 124 drivers/gpu/drm/rockchip/rockchip_rgb.c encoder = &rgb->encoder; rgb 143 drivers/gpu/drm/rockchip/rockchip_rgb.c rgb->bridge = bridge; rgb 145 drivers/gpu/drm/rockchip/rockchip_rgb.c ret = drm_bridge_attach(encoder, rgb->bridge, NULL); rgb 152 drivers/gpu/drm/rockchip/rockchip_rgb.c return rgb; rgb 160 drivers/gpu/drm/rockchip/rockchip_rgb.c void rockchip_rgb_fini(struct rockchip_rgb *rgb) rgb 162 drivers/gpu/drm/rockchip/rockchip_rgb.c drm_panel_bridge_remove(rgb->bridge); rgb 163 drivers/gpu/drm/rockchip/rockchip_rgb.c drm_encoder_cleanup(&rgb->encoder); rgb 12 drivers/gpu/drm/rockchip/rockchip_rgb.h void rockchip_rgb_fini(struct rockchip_rgb *rgb); rgb 21 drivers/gpu/drm/rockchip/rockchip_rgb.h static inline void rockchip_rgb_fini(struct rockchip_rgb *rgb) rgb 218 drivers/gpu/drm/sti/sti_mixer.c unsigned int rgb) rgb 220 drivers/gpu/drm/sti/sti_mixer.c sti_mixer_reg_write(mixer, GAM_MIXER_BKC, rgb); rgb 46 drivers/gpu/drm/sun4i/sun4i_rgb.c struct sun4i_rgb *rgb = rgb 49 drivers/gpu/drm/sun4i/sun4i_rgb.c return drm_panel_get_modes(rgb->panel); rgb 63 drivers/gpu/drm/sun4i/sun4i_rgb.c struct sun4i_rgb *rgb = drm_encoder_to_sun4i_rgb(crtc); rgb 64 drivers/gpu/drm/sun4i/sun4i_rgb.c struct sun4i_tcon *tcon = rgb->tcon; rgb 107 drivers/gpu/drm/sun4i/sun4i_rgb.c if (rgb->panel) { rgb 116 drivers/gpu/drm/sun4i/sun4i_rgb.c if (!rgb->bridge) rgb 146 drivers/gpu/drm/sun4i/sun4i_rgb.c struct sun4i_rgb *rgb = drm_connector_to_sun4i_rgb(connector); rgb 148 drivers/gpu/drm/sun4i/sun4i_rgb.c drm_panel_detach(rgb->panel); rgb 162 drivers/gpu/drm/sun4i/sun4i_rgb.c struct sun4i_rgb *rgb = drm_encoder_to_sun4i_rgb(encoder); rgb 166 drivers/gpu/drm/sun4i/sun4i_rgb.c if (rgb->panel) { rgb 167 drivers/gpu/drm/sun4i/sun4i_rgb.c drm_panel_prepare(rgb->panel); rgb 168 drivers/gpu/drm/sun4i/sun4i_rgb.c drm_panel_enable(rgb->panel); rgb 174 drivers/gpu/drm/sun4i/sun4i_rgb.c struct sun4i_rgb *rgb = drm_encoder_to_sun4i_rgb(encoder); rgb 178 drivers/gpu/drm/sun4i/sun4i_rgb.c if (rgb->panel) { rgb 179 drivers/gpu/drm/sun4i/sun4i_rgb.c drm_panel_disable(rgb->panel); rgb 180 drivers/gpu/drm/sun4i/sun4i_rgb.c drm_panel_unprepare(rgb->panel); rgb 202 drivers/gpu/drm/sun4i/sun4i_rgb.c struct sun4i_rgb *rgb; rgb 205 drivers/gpu/drm/sun4i/sun4i_rgb.c rgb = devm_kzalloc(drm->dev, sizeof(*rgb), GFP_KERNEL); rgb 206 drivers/gpu/drm/sun4i/sun4i_rgb.c if (!rgb) rgb 208 drivers/gpu/drm/sun4i/sun4i_rgb.c rgb->tcon = tcon; rgb 209 drivers/gpu/drm/sun4i/sun4i_rgb.c encoder = &rgb->encoder; rgb 212 drivers/gpu/drm/sun4i/sun4i_rgb.c &rgb->panel, &rgb->bridge); rgb 218 drivers/gpu/drm/sun4i/sun4i_rgb.c drm_encoder_helper_add(&rgb->encoder, rgb 221 drivers/gpu/drm/sun4i/sun4i_rgb.c &rgb->encoder, rgb 231 drivers/gpu/drm/sun4i/sun4i_rgb.c rgb->encoder.possible_crtcs = drm_crtc_mask(&tcon->crtc->crtc); rgb 233 drivers/gpu/drm/sun4i/sun4i_rgb.c if (rgb->panel) { rgb 234 drivers/gpu/drm/sun4i/sun4i_rgb.c drm_connector_helper_add(&rgb->connector, rgb 236 drivers/gpu/drm/sun4i/sun4i_rgb.c ret = drm_connector_init(drm, &rgb->connector, rgb 244 drivers/gpu/drm/sun4i/sun4i_rgb.c drm_connector_attach_encoder(&rgb->connector, rgb 245 drivers/gpu/drm/sun4i/sun4i_rgb.c &rgb->encoder); rgb 247 drivers/gpu/drm/sun4i/sun4i_rgb.c ret = drm_panel_attach(rgb->panel, &rgb->connector); rgb 254 drivers/gpu/drm/sun4i/sun4i_rgb.c if (rgb->bridge) { rgb 255 drivers/gpu/drm/sun4i/sun4i_rgb.c ret = drm_bridge_attach(encoder, rgb->bridge, NULL); rgb 265 drivers/gpu/drm/sun4i/sun4i_rgb.c drm_encoder_cleanup(&rgb->encoder); rgb 34 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 40 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 46 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 52 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 58 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 64 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 70 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 76 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 82 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 88 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 94 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 100 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 106 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 113 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 119 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 126 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 132 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 139 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 145 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 152 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 158 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 165 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 171 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 178 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 184 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 191 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 197 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 204 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 210 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 216 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 222 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 228 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = true, rgb 234 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 240 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 246 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 252 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 258 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 264 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 270 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 276 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 282 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 288 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 294 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 300 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 306 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 312 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 318 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 324 drivers/gpu/drm/sun4i/sun8i_mixer.c .rgb = false, rgb 150 drivers/gpu/drm/sun4i/sun8i_mixer.h bool rgb; rgb 183 drivers/gpu/drm/sun4i/sun8i_ui_layer.c if (!fmt_info || !fmt_info->rgb) { rgb 242 drivers/gpu/drm/sun4i/sun8i_vi_layer.c if (fmt_info->rgb) rgb 1755 drivers/gpu/drm/tegra/dc.c if (dc->rgb) { rgb 85 drivers/gpu/drm/tegra/dc.h struct tegra_output *rgb; rgb 120 drivers/gpu/drm/tegra/rgb.c struct tegra_rgb *rgb = to_rgb(output); rgb 125 drivers/gpu/drm/tegra/rgb.c tegra_dc_write_regs(rgb->dc, rgb_disable, ARRAY_SIZE(rgb_disable)); rgb 126 drivers/gpu/drm/tegra/rgb.c tegra_dc_commit(rgb->dc); rgb 135 drivers/gpu/drm/tegra/rgb.c struct tegra_rgb *rgb = to_rgb(output); rgb 141 drivers/gpu/drm/tegra/rgb.c tegra_dc_write_regs(rgb->dc, rgb_enable, ARRAY_SIZE(rgb_enable)); rgb 144 drivers/gpu/drm/tegra/rgb.c tegra_dc_writel(rgb->dc, value, DC_DISP_DATA_ENABLE_OPTIONS); rgb 147 drivers/gpu/drm/tegra/rgb.c value = tegra_dc_readl(rgb->dc, DC_COM_PIN_OUTPUT_POLARITY(1)); rgb 150 drivers/gpu/drm/tegra/rgb.c tegra_dc_writel(rgb->dc, value, DC_COM_PIN_OUTPUT_POLARITY(1)); rgb 155 drivers/gpu/drm/tegra/rgb.c tegra_dc_writel(rgb->dc, value, DC_DISP_DISP_INTERFACE_CONTROL); rgb 159 drivers/gpu/drm/tegra/rgb.c tegra_dc_writel(rgb->dc, value, DC_DISP_SHIFT_CLOCK_OPTIONS); rgb 161 drivers/gpu/drm/tegra/rgb.c tegra_dc_commit(rgb->dc); rgb 175 drivers/gpu/drm/tegra/rgb.c struct tegra_rgb *rgb = to_rgb(output); rgb 195 drivers/gpu/drm/tegra/rgb.c div = ((clk_get_rate(rgb->clk) * 2) / pclk) - 2; rgb 198 drivers/gpu/drm/tegra/rgb.c err = tegra_dc_state_setup_clock(dc, crtc_state, rgb->clk_parent, rgb 217 drivers/gpu/drm/tegra/rgb.c struct tegra_rgb *rgb; rgb 224 drivers/gpu/drm/tegra/rgb.c rgb = devm_kzalloc(dc->dev, sizeof(*rgb), GFP_KERNEL); rgb 225 drivers/gpu/drm/tegra/rgb.c if (!rgb) rgb 228 drivers/gpu/drm/tegra/rgb.c rgb->output.dev = dc->dev; rgb 229 drivers/gpu/drm/tegra/rgb.c rgb->output.of_node = np; rgb 230 drivers/gpu/drm/tegra/rgb.c rgb->dc = dc; rgb 232 drivers/gpu/drm/tegra/rgb.c err = tegra_output_probe(&rgb->output); rgb 236 drivers/gpu/drm/tegra/rgb.c rgb->clk = devm_clk_get(dc->dev, NULL); rgb 237 drivers/gpu/drm/tegra/rgb.c if (IS_ERR(rgb->clk)) { rgb 239 drivers/gpu/drm/tegra/rgb.c return PTR_ERR(rgb->clk); rgb 242 drivers/gpu/drm/tegra/rgb.c rgb->clk_parent = devm_clk_get(dc->dev, "parent"); rgb 243 drivers/gpu/drm/tegra/rgb.c if (IS_ERR(rgb->clk_parent)) { rgb 245 drivers/gpu/drm/tegra/rgb.c return PTR_ERR(rgb->clk_parent); rgb 248 drivers/gpu/drm/tegra/rgb.c err = clk_set_parent(rgb->clk, rgb->clk_parent); rgb 254 drivers/gpu/drm/tegra/rgb.c dc->rgb = &rgb->output; rgb 261 drivers/gpu/drm/tegra/rgb.c if (!dc->rgb) rgb 264 drivers/gpu/drm/tegra/rgb.c tegra_output_remove(dc->rgb); rgb 265 drivers/gpu/drm/tegra/rgb.c dc->rgb = NULL; rgb 272 drivers/gpu/drm/tegra/rgb.c struct tegra_output *output = dc->rgb; rgb 275 drivers/gpu/drm/tegra/rgb.c if (!dc->rgb) rgb 311 drivers/gpu/drm/tegra/rgb.c if (dc->rgb) rgb 312 drivers/gpu/drm/tegra/rgb.c tegra_output_exit(dc->rgb); rgb 368 drivers/gpu/ipu-v3/ipu-cpmem.c const struct ipu_rgb *rgb) rgb 372 drivers/gpu/ipu-v3/ipu-cpmem.c ro = rgb->bits_per_pixel - rgb->red.length - rgb->red.offset; rgb 373 drivers/gpu/ipu-v3/ipu-cpmem.c go = rgb->bits_per_pixel - rgb->green.length - rgb->green.offset; rgb 374 drivers/gpu/ipu-v3/ipu-cpmem.c bo = rgb->bits_per_pixel - rgb->blue.length - rgb->blue.offset; rgb 375 drivers/gpu/ipu-v3/ipu-cpmem.c to = rgb->bits_per_pixel - rgb->transp.length - rgb->transp.offset; rgb 377 drivers/gpu/ipu-v3/ipu-cpmem.c ipu_ch_param_write_field(ch, IPU_FIELD_WID0, rgb->red.length - 1); rgb 379 drivers/gpu/ipu-v3/ipu-cpmem.c ipu_ch_param_write_field(ch, IPU_FIELD_WID1, rgb->green.length - 1); rgb 381 drivers/gpu/ipu-v3/ipu-cpmem.c ipu_ch_param_write_field(ch, IPU_FIELD_WID2, rgb->blue.length - 1); rgb 384 drivers/gpu/ipu-v3/ipu-cpmem.c if (rgb->transp.length) { rgb 386 drivers/gpu/ipu-v3/ipu-cpmem.c rgb->transp.length - 1); rgb 391 drivers/gpu/ipu-v3/ipu-cpmem.c rgb->bits_per_pixel); rgb 394 drivers/gpu/ipu-v3/ipu-cpmem.c switch (rgb->bits_per_pixel) { rgb 84 drivers/hid/hid-led.c struct hidled_rgb *rgb; rgb 99 drivers/hid/hid-led.c struct hidled_rgb *rgb; rgb 175 drivers/hid/hid-led.c static u8 riso_kagaku_index(struct hidled_rgb *rgb) rgb 179 drivers/hid/hid-led.c r = rgb->red.cdev.brightness; rgb 180 drivers/hid/hid-led.c g = rgb->green.cdev.brightness; rgb 181 drivers/hid/hid-led.c b = rgb->blue.cdev.brightness; rgb 192 drivers/hid/hid-led.c struct hidled_rgb *rgb = led->rgb; rgb 195 drivers/hid/hid-led.c buf[1] = riso_kagaku_index(rgb); rgb 197 drivers/hid/hid-led.c return hidled_send(rgb->ldev, buf); rgb 203 drivers/hid/hid-led.c struct hidled_rgb *rgb = led->rgb; rgb 206 drivers/hid/hid-led.c buf[1] = rgb->red.cdev.brightness; rgb 207 drivers/hid/hid-led.c buf[2] = rgb->green.cdev.brightness; rgb 208 drivers/hid/hid-led.c buf[3] = rgb->blue.cdev.brightness; rgb 212 drivers/hid/hid-led.c return hidled_send(rgb->ldev, buf); rgb 235 drivers/hid/hid-led.c buf[2] = led->rgb->red.cdev.brightness; rgb 236 drivers/hid/hid-led.c buf[3] = led->rgb->green.cdev.brightness; rgb 237 drivers/hid/hid-led.c buf[4] = led->rgb->blue.cdev.brightness; rgb 238 drivers/hid/hid-led.c buf[7] = led->rgb->num + offset; rgb 240 drivers/hid/hid-led.c return hidled_send(led->rgb->ldev, buf); rgb 281 drivers/hid/hid-led.c if (led == &led->rgb->red) rgb 283 drivers/hid/hid-led.c else if (led == &led->rgb->green) rgb 296 drivers/hid/hid-led.c return hidled_send(led->rgb->ldev, dp.data); rgb 306 drivers/hid/hid-led.c return hidled_send(led->rgb->ldev, dp.data); rgb 346 drivers/hid/hid-led.c buf[2] = led->rgb->num + 1; rgb 347 drivers/hid/hid-led.c buf[3] = led->rgb->red.cdev.brightness; rgb 348 drivers/hid/hid-led.c buf[4] = led->rgb->green.cdev.brightness; rgb 349 drivers/hid/hid-led.c buf[5] = led->rgb->blue.cdev.brightness; rgb 351 drivers/hid/hid-led.c return hidled_send(led->rgb->ldev, buf); rgb 411 drivers/hid/hid-led.c struct hidled_rgb *rgb, unsigned int minor) rgb 413 drivers/hid/hid-led.c const struct hidled_config *config = rgb->ldev->config; rgb 417 drivers/hid/hid-led.c config->short_name, minor, color_name, rgb->num); rgb 425 drivers/hid/hid-led.c led->rgb = rgb; rgb 427 drivers/hid/hid-led.c return devm_led_classdev_register(&rgb->ldev->hdev->dev, &led->cdev); rgb 430 drivers/hid/hid-led.c static int hidled_init_rgb(struct hidled_rgb *rgb, unsigned int minor) rgb 435 drivers/hid/hid-led.c ret = hidled_init_led(&rgb->red, "red", rgb, minor); rgb 440 drivers/hid/hid-led.c ret = hidled_init_led(&rgb->green, "green", rgb, minor); rgb 445 drivers/hid/hid-led.c return hidled_init_led(&rgb->blue, "blue", rgb, minor); rgb 482 drivers/hid/hid-led.c ldev->rgb = devm_kcalloc(&hdev->dev, ldev->config->num_leds, rgb 484 drivers/hid/hid-led.c if (!ldev->rgb) rgb 494 drivers/hid/hid-led.c ldev->rgb[i].ldev = ldev; rgb 495 drivers/hid/hid-led.c ldev->rgb[i].num = i; rgb 496 drivers/hid/hid-led.c ret = hidled_init_rgb(&ldev->rgb[i], minor); rgb 334 drivers/leds/leds-lp5562.c u8 base, const u8 *rgb, int size) rgb 338 drivers/leds/leds-lp5562.c if (!rgb || size <= 0) rgb 342 drivers/leds/leds-lp5562.c lp55xx_write(chip, base + i, *(rgb + i)); rgb 970 drivers/media/platform/atmel/atmel-isc-base.c bool bayer = false, yuv = false, rgb = false, grey = false; rgb 1003 drivers/media/platform/atmel/atmel-isc-base.c rgb = true; rgb 1021 drivers/media/platform/atmel/atmel-isc-base.c rgb, yuv, grey, bayer); rgb 143 drivers/media/platform/sh_vou.c unsigned char rgb; rgb 155 drivers/media/platform/sh_vou.c .rgb = 0, rgb 162 drivers/media/platform/sh_vou.c .rgb = 0, rgb 169 drivers/media/platform/sh_vou.c .rgb = 1, rgb 176 drivers/media/platform/sh_vou.c .rgb = 1, rgb 183 drivers/media/platform/sh_vou.c .rgb = 1, rgb 491 drivers/media/platform/sh_vou.c fmt->pkf | (fmt->yf << 8) | (fmt->rgb << 16)); rgb 49 drivers/media/platform/vimc/vimc-debayer.c unsigned int col, unsigned int rgb[3]); rgb 302 drivers/media/platform/vimc/vimc-debayer.c unsigned int rgb[3]) rgb 308 drivers/media/platform/vimc/vimc-debayer.c vdeb->src_frame[index + i] = rgb[i]; rgb 379 drivers/media/platform/vimc/vimc-debayer.c unsigned int rgb[3]) rgb 385 drivers/media/platform/vimc/vimc-debayer.c rgb[i] = 0; rgb 434 drivers/media/platform/vimc/vimc-debayer.c rgb[color] = rgb[color] + rgb 441 drivers/media/platform/vimc/vimc-debayer.c vdeb->sd.name, rgb[color], n_rgb[color]); rgb 449 drivers/media/platform/vimc/vimc-debayer.c vdeb->sd.name, lin, col, i, rgb[i], n_rgb[i]); rgb 452 drivers/media/platform/vimc/vimc-debayer.c rgb[i] = rgb[i] / n_rgb[i]; rgb 456 drivers/media/platform/vimc/vimc-debayer.c vdeb->sd.name, lin, col, i, rgb[i]); rgb 465 drivers/media/platform/vimc/vimc-debayer.c unsigned int rgb[3]; rgb 474 drivers/media/platform/vimc/vimc-debayer.c vimc_deb_calc_rgb_sink(vdeb, sink_frame, i, j, rgb); rgb 475 drivers/media/platform/vimc/vimc-debayer.c vdeb->set_rgb_src(vdeb, i, j, rgb); rgb 51 drivers/media/platform/vivid/vivid-osd.c const u16 *rgb = rgb555; rgb 55 drivers/media/platform/vivid/vivid-osd.c rgb = rgb565; rgb 61 drivers/media/platform/vivid/vivid-osd.c d[x] = rgb[(y / 16 + x / 16) % 16]; rgb 241 drivers/platform/x86/alienware-wmi.c long unsigned int rgb; rgb 248 drivers/platform/x86/alienware-wmi.c ret = kstrtoul(buf, 16, &rgb); rgb 253 drivers/platform/x86/alienware-wmi.c if (rgb > 0xFFFFFF) rgb 256 drivers/platform/x86/alienware-wmi.c repackager.package = rgb & 0x0f0f0f0f; rgb 685 drivers/ps3/ps3av.c pr_debug("color space rgb: %02x\n", info->cs.rgb); rgb 752 drivers/ps3/ps3av.c int i, res, id = 0, dvi = 0, rgb = 0; rgb 786 drivers/ps3/ps3av.c rgb = PS3AV_MODE_RGB; rgb 790 drivers/ps3/ps3av.c return id | dvi | rgb; rgb 1415 drivers/staging/media/ipu3/ipu3-abi.h struct imgu_abi_frame_sp_plane rgb; rgb 1621 drivers/tty/vt/vt.c static void rgb_from_256(int i, struct rgb *c) rgb 1639 drivers/tty/vt/vt.c static void rgb_foreground(struct vc_data *vc, const struct rgb *c) rgb 1661 drivers/tty/vt/vt.c static void rgb_background(struct vc_data *vc, const struct rgb *c) rgb 1678 drivers/tty/vt/vt.c void(*set_color)(struct vc_data *vc, const struct rgb *c)) rgb 1680 drivers/tty/vt/vt.c struct rgb c; rgb 246 drivers/video/fbdev/amba-clcd.c bool bgr, rgb; rgb 249 drivers/video/fbdev/amba-clcd.c rgb = caps & CLCD_CAP_RGB && var->red.offset == 0; rgb 251 drivers/video/fbdev/amba-clcd.c if (!bgr && !rgb) rgb 355 drivers/video/fbdev/ep93xx-fb.c unsigned int ctrl, i, rgb, lut_current, lut_stat; rgb 361 drivers/video/fbdev/ep93xx-fb.c rgb = ((red & 0xff00) << 8) | (green & 0xff00) | rgb 364 drivers/video/fbdev/ep93xx-fb.c pal[regno] = rgb; rgb 365 drivers/video/fbdev/ep93xx-fb.c ep93xxfb_writel(fbi, rgb, (EP93XXFB_COLOR_LUT + (regno << 2))); rgb 354 drivers/video/fbdev/imxfb.c struct imxfb_rgb *rgb; rgb 405 drivers/video/fbdev/imxfb.c rgb = &def_rgb_18; rgb 415 drivers/video/fbdev/imxfb.c rgb = &def_rgb_16_tft; rgb 417 drivers/video/fbdev/imxfb.c rgb = &def_rgb_16_stn; rgb 421 drivers/video/fbdev/imxfb.c rgb = &def_rgb_8; rgb 439 drivers/video/fbdev/imxfb.c var->red = rgb->red; rgb 440 drivers/video/fbdev/imxfb.c var->green = rgb->green; rgb 441 drivers/video/fbdev/imxfb.c var->blue = rgb->blue; rgb 442 drivers/video/fbdev/imxfb.c var->transp = rgb->transp; rgb 404 drivers/video/fbdev/sa1100fb.c var->red = fbi->rgb[rgbidx]->red; rgb 405 drivers/video/fbdev/sa1100fb.c var->green = fbi->rgb[rgbidx]->green; rgb 406 drivers/video/fbdev/sa1100fb.c var->blue = fbi->rgb[rgbidx]->blue; rgb 407 drivers/video/fbdev/sa1100fb.c var->transp = fbi->rgb[rgbidx]->transp; rgb 1110 drivers/video/fbdev/sa1100fb.c fbi->rgb[RGB_4] = &rgb_4; rgb 1111 drivers/video/fbdev/sa1100fb.c fbi->rgb[RGB_8] = &rgb_8; rgb 1112 drivers/video/fbdev/sa1100fb.c fbi->rgb[RGB_16] = &def_rgb_16; rgb 1146 drivers/video/fbdev/sa1100fb.c if (inf->rgb[i]) rgb 1147 drivers/video/fbdev/sa1100fb.c fbi->rgb[i] = inf->rgb[i]; rgb 34 drivers/video/fbdev/sa1100fb.h const struct sa1100fb_rgb *rgb[NR_RGB]; rgb 270 include/video/imx-ipu-v3.h const struct ipu_rgb *rgb); rgb 56 include/video/sa1100fb.h const struct sa1100fb_rgb *rgb[NR_RGB];