Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/leds/
Dleds-turris-omnia.c100 led->subled_info[0].color_index = LED_COLOR_ID_RED; in omnia_led_register()
102 led->subled_info[1].color_index = LED_COLOR_ID_GREEN; in omnia_led_register()
104 led->subled_info[2].color_index = LED_COLOR_ID_BLUE; in omnia_led_register()
Dled-class-multicolor.c101 index = mcled_cdev->subled_info[i].color_index; in multi_index_show()
Dleds-lp50xx.c497 mc_led_info[num_colors].color_index = color_id; in lp50xx_probe_dt()
Dleds-lp55xx-common.c200 mc_led_info[i].color_index = in lp55xx_init_led()
/linux-6.1.9/include/linux/
Dled-class-multicolor.h13 unsigned int color_index; member
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c476 uint32_t color_index, in translate_from_linear_space_ex() argument
482 scratch_gamma_args.a0 = coeff->a0[color_index]; in translate_from_linear_space_ex()
483 scratch_gamma_args.a1 = coeff->a1[color_index]; in translate_from_linear_space_ex()
484 scratch_gamma_args.a2 = coeff->a2[color_index]; in translate_from_linear_space_ex()
485 scratch_gamma_args.a3 = coeff->a3[color_index]; in translate_from_linear_space_ex()
486 scratch_gamma_args.gamma = coeff->user_gamma[color_index]; in translate_from_linear_space_ex()
496 uint32_t color_index) in translate_to_linear_space_ex() argument
500 coeff->a0[color_index], in translate_to_linear_space_ex()
501 coeff->a1[color_index], in translate_to_linear_space_ex()
502 coeff->a2[color_index], in translate_to_linear_space_ex()
[all …]
/linux-6.1.9/drivers/leds/rgb/
Dleds-pwm-multicolor.c91 subled[priv->mc_cdev.num_colors].color_index = color; in iterate_subleds()
Dleds-qcom-lpg.c1116 info[i].color_index = led->channels[i]->color; in lpg_add_led()
/linux-6.1.9/drivers/gpu/drm/ast/
Dast_mode.c210 u32 color_index; in ast_set_vbios_color_reg() local
214 color_index = VGAModeIndex - 1; in ast_set_vbios_color_reg()
217 color_index = HiCModeIndex; in ast_set_vbios_color_reg()
221 color_index = TrueCModeIndex; in ast_set_vbios_color_reg()
227 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x8c, (u8)((color_index & 0x0f) << 4)); in ast_set_vbios_color_reg()
/linux-6.1.9/drivers/hid/
Dhid-playstation.c592 mc_led_info[0].color_index = LED_COLOR_ID_RED; in ps_lightbar_register()
593 mc_led_info[1].color_index = LED_COLOR_ID_GREEN; in ps_lightbar_register()
594 mc_led_info[2].color_index = LED_COLOR_ID_BLUE; in ps_lightbar_register()
/linux-6.1.9/drivers/leds/flash/
Dleds-mt6360.c652 sub_led[num_color].color_index = color; in mt6360_init_isnk_properties()