Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/leds/
Dleds-turris-omnia.c108 led->subled_info[0].color_index = LED_COLOR_ID_RED; in omnia_led_register()
110 led->subled_info[1].color_index = LED_COLOR_ID_GREEN; in omnia_led_register()
112 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.c504 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()
/kernel/linux/linux-5.10/include/linux/
Dled-class-multicolor.h13 unsigned int color_index; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c461 uint32_t color_index, in translate_from_linear_space_ex() argument
467 scratch_gamma_args.a0 = coeff->a0[color_index]; in translate_from_linear_space_ex()
468 scratch_gamma_args.a1 = coeff->a1[color_index]; in translate_from_linear_space_ex()
469 scratch_gamma_args.a2 = coeff->a2[color_index]; in translate_from_linear_space_ex()
470 scratch_gamma_args.a3 = coeff->a3[color_index]; in translate_from_linear_space_ex()
471 scratch_gamma_args.gamma = coeff->user_gamma[color_index]; in translate_from_linear_space_ex()
481 uint32_t color_index) in translate_to_linear_space_ex() argument
485 coeff->a0[color_index], in translate_to_linear_space_ex()
486 coeff->a1[color_index], in translate_to_linear_space_ex()
487 coeff->a2[color_index], in translate_to_linear_space_ex()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/ast/
Dast_mode.c208 u32 color_index; in ast_set_vbios_color_reg() local
212 color_index = VGAModeIndex - 1; in ast_set_vbios_color_reg()
215 color_index = HiCModeIndex; in ast_set_vbios_color_reg()
219 color_index = TrueCModeIndex; in ast_set_vbios_color_reg()
225 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x8c, (u8)((color_index & 0x0f) << 4)); in ast_set_vbios_color_reg()