Home
last modified time | relevance | path

Searched refs:color_index (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/leds/
H A Dleds-turris-omnia.c131 led->subled_info[0].color_index = LED_COLOR_ID_RED; in omnia_led_register()
133 led->subled_info[1].color_index = LED_COLOR_ID_GREEN; in omnia_led_register()
135 led->subled_info[2].color_index = LED_COLOR_ID_BLUE; in omnia_led_register()
H A Dled-class-multicolor.c103 index = mcled_cdev->subled_info[i].color_index; in multi_index_show()
H A Dleds-lp50xx.c497 mc_led_info[num_colors].color_index = color_id; in lp50xx_probe_dt()
H A Dleds-lp55xx-common.c201 mc_led_info[i].color_index = in lp55xx_init_led()
/openbmc/linux/include/linux/
H A Dled-class-multicolor.h13 unsigned int color_index; member
/openbmc/linux/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c475 uint32_t color_index, in translate_from_linear_space_ex() argument
481 scratch_gamma_args.a0 = coeff->a0[color_index]; in translate_from_linear_space_ex()
482 scratch_gamma_args.a1 = coeff->a1[color_index]; in translate_from_linear_space_ex()
483 scratch_gamma_args.a2 = coeff->a2[color_index]; in translate_from_linear_space_ex()
484 scratch_gamma_args.a3 = coeff->a3[color_index]; in translate_from_linear_space_ex()
495 uint32_t color_index) in translate_to_linear_space_ex() argument
499 coeff->a0[color_index], in translate_to_linear_space_ex()
500 coeff->a1[color_index], in translate_to_linear_space_ex()
501 coeff->a2[color_index], in translate_to_linear_space_ex()
502 coeff->a3[color_index], in translate_to_linear_space_ex()
[all …]
/openbmc/linux/drivers/leds/rgb/
H A Dleds-group-multicolor.c109 subled[i].color_index = led_cdev->color; in leds_gmc_probe()
H A Dleds-pwm-multicolor.c91 subled[priv->mc_cdev.num_colors].color_index = color; in iterate_subleds()
H A Dleds-mt6370-rgb.c743 sub_led[num_color].color_index = color; in mt6370_assign_multicolor_info()
H A Dleds-qcom-lpg.c1179 info[i].color_index = led->channels[i]->color; in lpg_add_led()
/openbmc/linux/drivers/gpu/drm/ast/
H A Dast_mode.c239 u32 color_index; in ast_set_vbios_color_reg() local
243 color_index = VGAModeIndex - 1; in ast_set_vbios_color_reg()
246 color_index = HiCModeIndex; in ast_set_vbios_color_reg()
250 color_index = TrueCModeIndex; in ast_set_vbios_color_reg()
256 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x8c, (u8)((color_index & 0x0f) << 4)); in ast_set_vbios_color_reg()
/openbmc/linux/drivers/hid/
H A Dhid-playstation.c824 mc_led_info[0].color_index = LED_COLOR_ID_RED; in ps_lightbar_register()
825 mc_led_info[1].color_index = LED_COLOR_ID_GREEN; in ps_lightbar_register()
826 mc_led_info[2].color_index = LED_COLOR_ID_BLUE; in ps_lightbar_register()
/openbmc/linux/drivers/leds/flash/
H A Dleds-mt6360.c651 sub_led[num_color].color_index = color; in mt6360_init_isnk_properties()