Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/include/linux/
Dled-class-multicolor.h13 unsigned int color_index; member
/linux-5.19.10/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c479 uint32_t color_index, in translate_from_linear_space_ex() argument
485 scratch_gamma_args.a0 = coeff->a0[color_index]; in translate_from_linear_space_ex()
486 scratch_gamma_args.a1 = coeff->a1[color_index]; in translate_from_linear_space_ex()
487 scratch_gamma_args.a2 = coeff->a2[color_index]; in translate_from_linear_space_ex()
488 scratch_gamma_args.a3 = coeff->a3[color_index]; in translate_from_linear_space_ex()
489 scratch_gamma_args.gamma = coeff->user_gamma[color_index]; in translate_from_linear_space_ex()
499 uint32_t color_index) in translate_to_linear_space_ex() argument
503 coeff->a0[color_index], in translate_to_linear_space_ex()
504 coeff->a1[color_index], in translate_to_linear_space_ex()
505 coeff->a2[color_index], in translate_to_linear_space_ex()
[all …]
/linux-5.19.10/drivers/leds/rgb/
Dleds-pwm-multicolor.c86 subled[priv->mc_cdev.num_colors].color_index = color; in iterate_subleds()
Dleds-qcom-lpg.c1112 info[i].color_index = led->channels[i]->color; in lpg_add_led()
/linux-5.19.10/drivers/gpu/drm/ast/
Dast_mode.c207 u32 color_index; in ast_set_vbios_color_reg() local
211 color_index = VGAModeIndex - 1; in ast_set_vbios_color_reg()
214 color_index = HiCModeIndex; in ast_set_vbios_color_reg()
218 color_index = TrueCModeIndex; in ast_set_vbios_color_reg()
224 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x8c, (u8)((color_index & 0x0f) << 4)); in ast_set_vbios_color_reg()
/linux-5.19.10/drivers/hid/
Dhid-playstation.c581 mc_led_info[0].color_index = LED_COLOR_ID_RED; in ps_lightbar_register()
582 mc_led_info[1].color_index = LED_COLOR_ID_GREEN; in ps_lightbar_register()
583 mc_led_info[2].color_index = LED_COLOR_ID_BLUE; in ps_lightbar_register()
/linux-5.19.10/drivers/leds/flash/
Dleds-mt6360.c652 sub_led[num_color].color_index = color; in mt6360_init_isnk_properties()