Home
last modified time | relevance | path

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

/linux/drivers/platform/x86/
H A Dsilicom-platform.c286 .color_index = LED_COLOR_ID_WHITE,
292 .color_index = LED_COLOR_ID_YELLOW,
298 .color_index = LED_COLOR_ID_RED,
307 .color_index = LED_COLOR_ID_WHITE,
313 .color_index = LED_COLOR_ID_AMBER,
319 .color_index = LED_COLOR_ID_RED,
328 .color_index = LED_COLOR_ID_RED,
334 .color_index = LED_COLOR_ID_GREEN,
340 .color_index = LED_COLOR_ID_BLUE,
346 .color_index = LED_COLOR_ID_YELLOW,
[all …]
/linux/drivers/leds/rgb/
H A Dleds-ncp5623.c161 u32 color_index; in ncp5623_probe() local
185 ret = fwnode_property_read_u32(led_node, "color", &color_index); in ncp5623_probe()
194 subled_info[ncp->mc_dev.num_colors++].color_index = color_index; in ncp5623_probe()
H A Dleds-group-multicolor.c110 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-ktd202x.c423 info[i].color_index = mono_color; in ktd202x_setup_led_rgb()
H A Dleds-mt6370-rgb.c742 sub_led[num_color].color_index = color; in mt6370_assign_multicolor_info()
H A Dleds-qcom-lpg.c1406 info[i].color_index = led->channels[i]->color; in lpg_add_led()
/linux/drivers/leds/
H A Dleds-cros_ec.c125 led_color = cros_ec_linux_to_ec_id[subled->color_index]; in cros_ec_led_brightness_set_blocking()
170 color = led_mc_cdev->subled_info[0].color_index; in cros_ec_led_get_color_name()
218 subleds[subled].color_index = cros_ec_led_to_linux_id[i]; in cros_ec_led_probe_one()
H A Dleds-turris-omnia.c277 led->subled_info[0].color_index = LED_COLOR_ID_RED; in omnia_led_register()
278 led->subled_info[1].color_index = LED_COLOR_ID_GREEN; in omnia_led_register()
279 led->subled_info[2].color_index = LED_COLOR_ID_BLUE; in omnia_led_register()
H A Dleds-sun50i-a100.c506 led->subled_info[0].color_index = LED_COLOR_ID_RED; in sun50i_a100_ledc_probe()
508 led->subled_info[1].color_index = LED_COLOR_ID_GREEN; in sun50i_a100_ledc_probe()
510 led->subled_info[2].color_index = LED_COLOR_ID_BLUE; in sun50i_a100_ledc_probe()
H A Dleds-blinkm.c696 mc_led_info[RED].color_index = LED_COLOR_ID_RED; in register_multicolor()
697 mc_led_info[GREEN].color_index = LED_COLOR_ID_GREEN; in register_multicolor()
698 mc_led_info[BLUE].color_index = LED_COLOR_ID_BLUE; in register_multicolor()
H A Dled-class-multicolor.c101 index = mcled_cdev->subled_info[i].color_index; in multi_index_show()
H A Dleds-lp50xx.c487 mc_led_info[num_colors].color_index = color_id; in lp50xx_probe_dt()
H A Dleds-lp55xx-common.c498 mc_led_info[i].color_index = in lp55xx_init_led()
/linux/include/linux/
H A Dled-class-multicolor.h13 unsigned int color_index; member
/linux/drivers/gpu/drm/ast/
H A Dast_mode.c238 u32 color_index; in ast_set_vbios_color_reg() local
242 color_index = VGAModeIndex - 1; in ast_set_vbios_color_reg()
245 color_index = HiCModeIndex; in ast_set_vbios_color_reg()
249 color_index = TrueCModeIndex; in ast_set_vbios_color_reg()
255 ast_set_index_reg(ast, AST_IO_VGACRI, 0x8c, (u8)((color_index & 0x0f) << 4)); in ast_set_vbios_color_reg()
/linux/drivers/hid/
H A Dhid-playstation.c831 mc_led_info[0].color_index = LED_COLOR_ID_RED; in ps_lightbar_register()
832 mc_led_info[1].color_index = LED_COLOR_ID_GREEN; in ps_lightbar_register()
833 mc_led_info[2].color_index = LED_COLOR_ID_BLUE; in ps_lightbar_register()
/linux/drivers/leds/flash/
H A Dleds-mt6360.c661 sub_led[num_color].color_index = color; in mt6360_init_isnk_properties()