Home
last modified time | relevance | path

Searched refs:rgb (Results 1 – 25 of 121) sorted by relevance

12345

/linux/drivers/gpu/drm/tegra/
H A Drgb.c94 struct tegra_rgb *rgb = to_rgb(output); in tegra_rgb_encoder_disable() local
96 tegra_dc_write_regs(rgb->dc, rgb_disable, ARRAY_SIZE(rgb_disable)); in tegra_rgb_encoder_disable()
97 tegra_dc_commit(rgb->dc); in tegra_rgb_encoder_disable()
104 struct tegra_rgb *rgb = to_rgb(output); in tegra_rgb_encoder_enable() local
107 tegra_dc_write_regs(rgb->dc, rgb_enable, ARRAY_SIZE(rgb_enable)); in tegra_rgb_encoder_enable()
110 tegra_dc_writel(rgb->dc, value, DC_DISP_DATA_ENABLE_OPTIONS); in tegra_rgb_encoder_enable()
113 value = tegra_dc_readl(rgb->dc, DC_COM_PIN_OUTPUT_POLARITY(1)); in tegra_rgb_encoder_enable()
125 tegra_dc_writel(rgb->dc, value, DC_COM_PIN_OUTPUT_POLARITY(1)); in tegra_rgb_encoder_enable()
130 tegra_dc_writel(rgb->dc, value, DC_DISP_DISP_INTERFACE_CONTROL); in tegra_rgb_encoder_enable()
132 tegra_dc_commit(rgb->dc); in tegra_rgb_encoder_enable()
[all …]
/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_rgb.c48 struct sun4i_rgb *rgb = in sun4i_rgb_get_modes() local
51 return drm_panel_get_modes(rgb->panel, connector); in sun4i_rgb_get_modes()
65 struct sun4i_rgb *rgb = drm_encoder_to_sun4i_rgb(crtc); in sun4i_rgb_mode_valid() local
66 struct sun4i_tcon *tcon = rgb->tcon; in sun4i_rgb_mode_valid()
109 if (rgb->panel) { in sun4i_rgb_mode_valid()
118 if (!rgb->bridge) in sun4i_rgb_mode_valid()
161 struct sun4i_rgb *rgb = drm_encoder_to_sun4i_rgb(encoder); in sun4i_rgb_encoder_enable() local
165 if (rgb->panel) { in sun4i_rgb_encoder_enable()
166 drm_panel_prepare(rgb->panel); in sun4i_rgb_encoder_enable()
167 drm_panel_enable(rgb->panel); in sun4i_rgb_encoder_enable()
[all …]
/linux/drivers/hid/
H A Dhid-led.c84 struct hidled_rgb *rgb; member
99 struct hidled_rgb *rgb; member
175 static u8 riso_kagaku_index(struct hidled_rgb *rgb) in riso_kagaku_index() argument
179 r = rgb->red.cdev.brightness; in riso_kagaku_index()
180 g = rgb->green.cdev.brightness; in riso_kagaku_index()
181 b = rgb->blue.cdev.brightness; in riso_kagaku_index()
192 struct hidled_rgb *rgb = led->rgb; in riso_kagaku_write() local
195 buf[1] = riso_kagaku_index(rgb); in riso_kagaku_write()
197 return hidled_send(rgb->ldev, buf); in riso_kagaku_write()
203 struct hidled_rgb *rgb = led->rgb; in dream_cheeky_write() local
[all …]
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_rgb.c77 struct rockchip_rgb *rgb; in rockchip_rgb_init() local
86 rgb = devm_kzalloc(dev, sizeof(*rgb), GFP_KERNEL); in rockchip_rgb_init()
87 if (!rgb) in rockchip_rgb_init()
90 rgb->dev = dev; in rockchip_rgb_init()
91 rgb->drm_dev = drm_dev; in rockchip_rgb_init()
126 encoder = &rgb->encoder.encoder; in rockchip_rgb_init()
145 rgb->bridge = bridge; in rockchip_rgb_init()
147 ret = drm_bridge_attach(encoder, rgb->bridge, NULL, in rockchip_rgb_init()
152 connector = &rgb->connector; in rockchip_rgb_init()
153 connector = drm_bridge_connector_init(rgb->drm_dev, encoder); in rockchip_rgb_init()
[all …]
H A Drockchip_rgb.h13 void rockchip_rgb_fini(struct rockchip_rgb *rgb);
23 static inline void rockchip_rgb_fini(struct rockchip_rgb *rgb) in rockchip_rgb_fini() argument
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_cm_common.c114 struct pwl_result_data *rgb; in cm3_helper_translate_curve_to_hw_format() local
244 rgb = rgb_resulted; in cm3_helper_translate_curve_to_hw_format()
246 rgb_minus_1 = rgb; in cm3_helper_translate_curve_to_hw_format()
252 if (dc_fixpt_lt(rgb_plus_1->red, rgb->red)) in cm3_helper_translate_curve_to_hw_format()
253 rgb_plus_1->red = dc_fixpt_add(rgb->red, in cm3_helper_translate_curve_to_hw_format()
255 if (dc_fixpt_lt(rgb_plus_1->green, rgb->green)) in cm3_helper_translate_curve_to_hw_format()
256 rgb_plus_1->green = dc_fixpt_add(rgb->green, in cm3_helper_translate_curve_to_hw_format()
258 if (dc_fixpt_lt(rgb_plus_1->blue, rgb->blue)) in cm3_helper_translate_curve_to_hw_format()
259 rgb_plus_1->blue = dc_fixpt_add(rgb->blue, in cm3_helper_translate_curve_to_hw_format()
263 rgb->delta_red_reg = dc_fixpt_clamp_u0d10(rgb->delta_red); in cm3_helper_translate_curve_to_hw_format()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_cm_common.c156 struct pwl_result_data *rgb = rgb_resulted; in cm_helper_convert_to_custom_float() local
282 if (!convert_to_custom_float_format(rgb->red, &fmt, in cm_helper_convert_to_custom_float()
283 &rgb->red_reg)) { in cm_helper_convert_to_custom_float()
288 if (!convert_to_custom_float_format(rgb->green, &fmt, in cm_helper_convert_to_custom_float()
289 &rgb->green_reg)) { in cm_helper_convert_to_custom_float()
294 if (!convert_to_custom_float_format(rgb->blue, &fmt, in cm_helper_convert_to_custom_float()
295 &rgb->blue_reg)) { in cm_helper_convert_to_custom_float()
300 if (!convert_to_custom_float_format(rgb->delta_red, &fmt, in cm_helper_convert_to_custom_float()
301 &rgb->delta_red_reg)) { in cm_helper_convert_to_custom_float()
306 if (!convert_to_custom_float_format(rgb->delta_green, &fmt, in cm_helper_convert_to_custom_float()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn30/
H A Ddcn30_hubbub.c344 output->grph.rgb.max_uncompressed_blk_size = 256; in hubbub3_get_dcc_compression_cap()
345 output->grph.rgb.max_compressed_blk_size = 256; in hubbub3_get_dcc_compression_cap()
346 output->grph.rgb.independent_64b_blks = false; in hubbub3_get_dcc_compression_cap()
347 output->grph.rgb.dcc_controls.dcc_256_256_unconstrained = 1; in hubbub3_get_dcc_compression_cap()
348 output->grph.rgb.dcc_controls.dcc_256_128_128 = 1; in hubbub3_get_dcc_compression_cap()
352 output->grph.rgb.max_uncompressed_blk_size = 128; in hubbub3_get_dcc_compression_cap()
353 output->grph.rgb.max_compressed_blk_size = 128; in hubbub3_get_dcc_compression_cap()
354 output->grph.rgb.independent_64b_blks = false; in hubbub3_get_dcc_compression_cap()
355 output->grph.rgb.dcc_controls.dcc_128_128_uncontrained = 1; in hubbub3_get_dcc_compression_cap()
356 output->grph.rgb.dcc_controls.dcc_256_128_128 = 1; in hubbub3_get_dcc_compression_cap()
[all …]
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-debayer.c42 unsigned int rgb[3]);
297 unsigned int rgb[3]) in vimc_debayer_process_rgb_frame()
307 vdebayer->src_frame[index + i] = rgb[i]; in vimc_debayer_process_rgb_frame()
310 vdebayer->src_frame[index + i] = rgb[2 - i]; in vimc_debayer_process_rgb_frame()
407 unsigned int rgb[3]) in vimc_debayer_calc_rgb_sink()
413 rgb[i] = 0; in vimc_debayer_calc_rgb_sink()
462 rgb[color] = rgb[color] + in vimc_debayer_calc_rgb_sink()
470 vdebayer->sd.name, rgb[color], n_rgb[color]); in vimc_debayer_calc_rgb_sink()
478 vdebayer->sd.name, lin, col, i, rgb[i], n_rgb[i]); in vimc_debayer_calc_rgb_sink()
481 rgb[i] = rgb[i] / n_rgb[i]; in vimc_debayer_calc_rgb_sink()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dwb/dcn30/
H A Ddcn30_dwb_cm.c187 const struct pwl_result_data *rgb, in dwb3_program_ogam_pwl() argument
192 uint32_t last_base_value_red = rgb[num-1].red_reg + rgb[num-1].delta_red_reg; in dwb3_program_ogam_pwl()
193 uint32_t last_base_value_green = rgb[num-1].green_reg + rgb[num-1].delta_green_reg; in dwb3_program_ogam_pwl()
194 uint32_t last_base_value_blue = rgb[num-1].blue_reg + rgb[num-1].delta_blue_reg; in dwb3_program_ogam_pwl()
196 if (is_rgb_equal(rgb, num)) { in dwb3_program_ogam_pwl()
198 REG_SET(DWB_OGAM_LUT_DATA, 0, DWB_OGAM_LUT_DATA, rgb[i].red_reg); in dwb3_program_ogam_pwl()
208 REG_SET(DWB_OGAM_LUT_DATA, 0, DWB_OGAM_LUT_DATA, rgb[i].red_reg); in dwb3_program_ogam_pwl()
218 REG_SET(DWB_OGAM_LUT_DATA, 0, DWB_OGAM_LUT_DATA, rgb[i].green_reg); in dwb3_program_ogam_pwl()
228 REG_SET(DWB_OGAM_LUT_DATA, 0, DWB_OGAM_LUT_DATA, rgb[i].blue_reg); in dwb3_program_ogam_pwl()
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn30/
H A Ddcn30_dpp_cm.c79 const struct pwl_result_data *rgb, in dpp3_program_gammcor_lut() argument
85 uint32_t last_base_value_red = rgb[num-1].red_reg + rgb[num-1].delta_red_reg; in dpp3_program_gammcor_lut()
86 uint32_t last_base_value_green = rgb[num-1].green_reg + rgb[num-1].delta_green_reg; in dpp3_program_gammcor_lut()
87 uint32_t last_base_value_blue = rgb[num-1].blue_reg + rgb[num-1].delta_blue_reg; in dpp3_program_gammcor_lut()
92 if (is_rgb_equal(rgb, num)) { in dpp3_program_gammcor_lut()
94 REG_SET(CM_GAMCOR_LUT_DATA, 0, CM_GAMCOR_LUT_DATA, rgb[i].red_reg); in dpp3_program_gammcor_lut()
102 REG_SET(CM_GAMCOR_LUT_DATA, 0, CM_GAMCOR_LUT_DATA, rgb[i].red_reg); in dpp3_program_gammcor_lut()
111 REG_SET(CM_GAMCOR_LUT_DATA, 0, CM_GAMCOR_LUT_DATA, rgb[i].green_reg); in dpp3_program_gammcor_lut()
120 REG_SET(CM_GAMCOR_LUT_DATA, 0, CM_GAMCOR_LUT_DATA, rgb[i].blue_reg); in dpp3_program_gammcor_lut()
H A Ddcn30_dpp.c635 const struct pwl_result_data *rgb, in dpp3_program_blnd_pwl() argument
640 uint32_t last_base_value_red = rgb[num-1].red_reg + rgb[num-1].delta_red_reg; in dpp3_program_blnd_pwl()
641 uint32_t last_base_value_green = rgb[num-1].green_reg + rgb[num-1].delta_green_reg; in dpp3_program_blnd_pwl()
642 uint32_t last_base_value_blue = rgb[num-1].blue_reg + rgb[num-1].delta_blue_reg; in dpp3_program_blnd_pwl()
644 if (is_rgb_equal(rgb, num)) { in dpp3_program_blnd_pwl()
646 REG_SET(CM_BLNDGAM_LUT_DATA, 0, CM_BLNDGAM_LUT_DATA, rgb[i].red_reg); in dpp3_program_blnd_pwl()
652 REG_SET(CM_BLNDGAM_LUT_DATA, 0, CM_BLNDGAM_LUT_DATA, rgb[i].red_reg); in dpp3_program_blnd_pwl()
658 REG_SET(CM_BLNDGAM_LUT_DATA, 0, CM_BLNDGAM_LUT_DATA, rgb[i].green_reg); in dpp3_program_blnd_pwl()
664 REG_SET(CM_BLNDGAM_LUT_DATA, 0, CM_BLNDGAM_LUT_DATA, rgb[i].blue_reg); in dpp3_program_blnd_pwl()
824 const struct pwl_result_data *rgb, in dpp3_program_shaper_lut() argument
[all …]
/linux/drivers/gpu/ipu-v3/
H A Dipu-cpmem.c368 const struct ipu_rgb *rgb) in ipu_cpmem_set_format_rgb() argument
372 ro = rgb->bits_per_pixel - rgb->red.length - rgb->red.offset; in ipu_cpmem_set_format_rgb()
373 go = rgb->bits_per_pixel - rgb->green.length - rgb->green.offset; in ipu_cpmem_set_format_rgb()
374 bo = rgb->bits_per_pixel - rgb->blue.length - rgb->blue.offset; in ipu_cpmem_set_format_rgb()
375 to = rgb->bits_per_pixel - rgb->transp.length - rgb->transp.offset; in ipu_cpmem_set_format_rgb()
377 ipu_ch_param_write_field(ch, IPU_FIELD_WID0, rgb->red.length - 1); in ipu_cpmem_set_format_rgb()
379 ipu_ch_param_write_field(ch, IPU_FIELD_WID1, rgb->green.length - 1); in ipu_cpmem_set_format_rgb()
381 ipu_ch_param_write_field(ch, IPU_FIELD_WID2, rgb->blue.length - 1); in ipu_cpmem_set_format_rgb()
384 if (rgb->transp.length) { in ipu_cpmem_set_format_rgb()
386 rgb->transp.length - 1); in ipu_cpmem_set_format_rgb()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_opp_regamma_v.c472 const struct pwl_result_data *rgb = in program_pwl() local
476 dm_write_reg(xfm_dce->base.ctx, addr, rgb->red_reg); in program_pwl()
477 dm_write_reg(xfm_dce->base.ctx, addr, rgb->green_reg); in program_pwl()
478 dm_write_reg(xfm_dce->base.ctx, addr, rgb->blue_reg); in program_pwl()
481 rgb->delta_red_reg); in program_pwl()
483 rgb->delta_green_reg); in program_pwl()
485 rgb->delta_blue_reg); in program_pwl()
487 ++rgb; in program_pwl()
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn20/
H A Ddcn20_dpp_cm.c87 const struct pwl_result_data *rgb, in dpp2_program_degamma_lut() argument
101 REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].red_reg); in dpp2_program_degamma_lut()
102 REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].green_reg); in dpp2_program_degamma_lut()
103 REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].blue_reg); in dpp2_program_degamma_lut()
106 CM_DGAM_LUT_DATA, rgb[i].delta_red_reg); in dpp2_program_degamma_lut()
108 CM_DGAM_LUT_DATA, rgb[i].delta_green_reg); in dpp2_program_degamma_lut()
110 CM_DGAM_LUT_DATA, rgb[i].delta_blue_reg); in dpp2_program_degamma_lut()
391 const struct pwl_result_data *rgb, in dpp20_program_blnd_pwl() argument
398 REG_SET(CM_BLNDGAM_LUT_DATA, 0, CM_BLNDGAM_LUT_DATA, rgb[i].red_reg); in dpp20_program_blnd_pwl()
399 REG_SET(CM_BLNDGAM_LUT_DATA, 0, CM_BLNDGAM_LUT_DATA, rgb[i].green_reg); in dpp20_program_blnd_pwl()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
H A Ddcn10_dpp_cm.c397 const struct pwl_result_data *rgb, in dpp1_cm_program_regamma_lut() argument
406 REG_SET(CM_RGAM_LUT_DATA, 0, CM_RGAM_LUT_DATA, rgb[i].red_reg); in dpp1_cm_program_regamma_lut()
407 REG_SET(CM_RGAM_LUT_DATA, 0, CM_RGAM_LUT_DATA, rgb[i].green_reg); in dpp1_cm_program_regamma_lut()
408 REG_SET(CM_RGAM_LUT_DATA, 0, CM_RGAM_LUT_DATA, rgb[i].blue_reg); in dpp1_cm_program_regamma_lut()
410 REG_SET(CM_RGAM_LUT_DATA, 0, CM_RGAM_LUT_DATA, rgb[i].delta_red_reg); in dpp1_cm_program_regamma_lut()
411 REG_SET(CM_RGAM_LUT_DATA, 0, CM_RGAM_LUT_DATA, rgb[i].delta_green_reg); in dpp1_cm_program_regamma_lut()
412 REG_SET(CM_RGAM_LUT_DATA, 0, CM_RGAM_LUT_DATA, rgb[i].delta_blue_reg); in dpp1_cm_program_regamma_lut()
725 const struct pwl_result_data *rgb, in dpp1_program_degamma_lut() argument
740 REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].red_reg); in dpp1_program_degamma_lut()
741 REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].green_reg); in dpp1_program_degamma_lut()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/mpc/dcn32/
H A Ddcn32_mpc.c228 const struct pwl_result_data *rgb, in mpc32_program_post1dlut_pwl() argument
233 uint32_t last_base_value_red = rgb[num-1].red_reg + rgb[num-1].delta_red_reg; in mpc32_program_post1dlut_pwl()
234 uint32_t last_base_value_green = rgb[num-1].green_reg + rgb[num-1].delta_green_reg; in mpc32_program_post1dlut_pwl()
235 uint32_t last_base_value_blue = rgb[num-1].blue_reg + rgb[num-1].delta_blue_reg; in mpc32_program_post1dlut_pwl()
237 if (is_rgb_equal(rgb, num)) { in mpc32_program_post1dlut_pwl()
239 REG_SET(MPCC_MCM_1DLUT_LUT_DATA[mpcc_id], 0, MPCC_MCM_1DLUT_LUT_DATA, rgb[i].red_reg); in mpc32_program_post1dlut_pwl()
245 REG_SET(MPCC_MCM_1DLUT_LUT_DATA[mpcc_id], 0, MPCC_MCM_1DLUT_LUT_DATA, rgb[i].red_reg); in mpc32_program_post1dlut_pwl()
251 REG_SET(MPCC_MCM_1DLUT_LUT_DATA[mpcc_id], 0, MPCC_MCM_1DLUT_LUT_DATA, rgb[i].green_reg); in mpc32_program_post1dlut_pwl()
257 REG_SET(MPCC_MCM_1DLUT_LUT_DATA[mpcc_id], 0, MPCC_MCM_1DLUT_LUT_DATA, rgb[i].blue_reg); in mpc32_program_post1dlut_pwl()
647 const struct pwl_result_data *rgb, in mpc32_program_shaper_lut() argument
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn31/
H A Ddcn31_hubbub.c871 output->grph.rgb.max_uncompressed_blk_size = 256; in hubbub31_get_dcc_compression_cap()
872 output->grph.rgb.max_compressed_blk_size = 256; in hubbub31_get_dcc_compression_cap()
873 output->grph.rgb.independent_64b_blks = false; in hubbub31_get_dcc_compression_cap()
874 output->grph.rgb.dcc_controls.dcc_256_256_unconstrained = 1; in hubbub31_get_dcc_compression_cap()
875 output->grph.rgb.dcc_controls.dcc_256_128_128 = 1; in hubbub31_get_dcc_compression_cap()
878 output->grph.rgb.max_uncompressed_blk_size = 128; in hubbub31_get_dcc_compression_cap()
879 output->grph.rgb.max_compressed_blk_size = 128; in hubbub31_get_dcc_compression_cap()
880 output->grph.rgb.independent_64b_blks = false; in hubbub31_get_dcc_compression_cap()
881 output->grph.rgb.dcc_controls.dcc_128_128_uncontrained = 1; in hubbub31_get_dcc_compression_cap()
882 output->grph.rgb.dcc_controls.dcc_256_128_128 = 1; in hubbub31_get_dcc_compression_cap()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn20/
H A Ddcn20_hubbub.c285 output->grph.rgb.max_uncompressed_blk_size = 256; in hubbub2_get_dcc_compression_cap()
286 output->grph.rgb.max_compressed_blk_size = 256; in hubbub2_get_dcc_compression_cap()
287 output->grph.rgb.independent_64b_blks = false; in hubbub2_get_dcc_compression_cap()
290 output->grph.rgb.max_uncompressed_blk_size = 128; in hubbub2_get_dcc_compression_cap()
291 output->grph.rgb.max_compressed_blk_size = 128; in hubbub2_get_dcc_compression_cap()
292 output->grph.rgb.independent_64b_blks = false; in hubbub2_get_dcc_compression_cap()
295 output->grph.rgb.max_uncompressed_blk_size = 256; in hubbub2_get_dcc_compression_cap()
296 output->grph.rgb.max_compressed_blk_size = 64; in hubbub2_get_dcc_compression_cap()
297 output->grph.rgb.independent_64b_blks = true; in hubbub2_get_dcc_compression_cap()
/linux/arch/arm/boot/dts/microchip/
H A Dsama5d3_lcd.dtsi58 pinctrl_lcd_rgb444: lcd-rgb-0 {
74 pinctrl_lcd_rgb565: lcd-rgb-1 {
94 pinctrl_lcd_rgb666: lcd-rgb-2 {
116 pinctrl_lcd_rgb666_alt: lcd-rgb-2-alt {
138 pinctrl_lcd_rgb888: lcd-rgb-3 {
166 pinctrl_lcd_rgb888_alt: lcd-rgb-3-alt {
H A Dat91sam9x5_lcd.dtsi61 pinctrl_lcd_rgb444: lcd-rgb-0 {
77 pinctrl_lcd_rgb565: lcd-rgb-1 {
97 pinctrl_lcd_rgb666: lcd-rgb-2 {
119 pinctrl_lcd_rgb888: lcd-rgb-3 {
/linux/Documentation/fb/
H A Dcmap_xfbdev.rst29 sprintf(colorspec, "rgb:%x/%x/%x", i*36,i*36,i*36);
36 There's also named equivalents like gray1..x provided you have an rgb.txt.
53 directly from the info->cmap.red that was listed above. The prgb is the rgb
/linux/drivers/gpu/drm/amd/display/dc/mpc/dcn20/
H A Ddcn20_mpc.c378 const struct pwl_result_data *rgb, in mpc20_program_ogam_pwl() argument
388 REG_SET(MPCC_OGAM_LUT_DATA[mpcc_id], 0, MPCC_OGAM_LUT_DATA, rgb[i].red_reg); in mpc20_program_ogam_pwl()
389 REG_SET(MPCC_OGAM_LUT_DATA[mpcc_id], 0, MPCC_OGAM_LUT_DATA, rgb[i].green_reg); in mpc20_program_ogam_pwl()
390 REG_SET(MPCC_OGAM_LUT_DATA[mpcc_id], 0, MPCC_OGAM_LUT_DATA, rgb[i].blue_reg); in mpc20_program_ogam_pwl()
393 MPCC_OGAM_LUT_DATA, rgb[i].delta_red_reg); in mpc20_program_ogam_pwl()
395 MPCC_OGAM_LUT_DATA, rgb[i].delta_green_reg); in mpc20_program_ogam_pwl()
397 MPCC_OGAM_LUT_DATA, rgb[i].delta_blue_reg); in mpc20_program_ogam_pwl()
/linux/drivers/video/fbdev/
H A Dsa1100fb.c403 var->red = fbi->rgb[rgbidx]->red; in sa1100fb_check_var()
404 var->green = fbi->rgb[rgbidx]->green; in sa1100fb_check_var()
405 var->blue = fbi->rgb[rgbidx]->blue; in sa1100fb_check_var()
406 var->transp = fbi->rgb[rgbidx]->transp; in sa1100fb_check_var()
1096 fbi->rgb[RGB_4] = &rgb_4; in sa1100fb_init_fbinfo()
1097 fbi->rgb[RGB_8] = &rgb_8; in sa1100fb_init_fbinfo()
1098 fbi->rgb[RGB_16] = &def_rgb_16; in sa1100fb_init_fbinfo()
1132 if (inf->rgb[i]) in sa1100fb_init_fbinfo()
1133 fbi->rgb[i] = inf->rgb[i]; in sa1100fb_init_fbinfo()
/linux/Documentation/devicetree/bindings/pwm/
H A Dpwm-lp3943.txt42 rgb {
43 label = "indi::rgb";

12345