Searched refs:num_colors (Results 1 – 18 of 18) sorted by relevance
21 for (i = 0; i < mcled_cdev->num_colors; i++) in led_mc_calc_color_components()43 for (i = 0; i < mcled_cdev->num_colors; i++) { in multi_intensity_store()59 for (i = 0; i < mcled_cdev->num_colors; i++) in multi_intensity_store()78 for (i = 0; i < mcled_cdev->num_colors; i++) { in multi_intensity_show()81 if (i < mcled_cdev->num_colors - 1) in multi_intensity_show()100 for (i = 0; i < mcled_cdev->num_colors; i++) { in multi_index_show()103 if (i < mcled_cdev->num_colors - 1) in multi_index_show()128 if (mcled_cdev->num_colors <= 0) in led_classdev_multicolor_register_ext()131 if (mcled_cdev->num_colors > LED_COLOR_ID_MAX) in led_classdev_multicolor_register_ext()
188 if (pdata->led_config[chan].num_colors > 1) { in lp55xx_init_led()190 pdata->led_config[chan].num_colors, in lp55xx_init_led()198 led->mc_cdev.num_colors = pdata->led_config[chan].num_colors; in lp55xx_init_led()199 for (i = 0; i < led->mc_cdev.num_colors; i++) { in lp55xx_init_led()224 if (pdata->led_config[chan].num_colors > 1) in lp55xx_init_led()614 int num_colors = 0, ret; in lp55xx_parse_multi_led() local618 num_colors); in lp55xx_parse_multi_led()623 num_colors++; in lp55xx_parse_multi_led()626 cfg[child_number].num_colors = num_colors; in lp55xx_parse_multi_led()
328 for (i = 0; i < led->mc_cdev.num_colors; i++) { in lp50xx_brightness_set()449 int num_colors; in lp50xx_probe_dt() local475 num_colors = 0; in lp50xx_probe_dt()497 mc_led_info[num_colors].color_index = color_id; in lp50xx_probe_dt()498 num_colors++; in lp50xx_probe_dt()502 led->mc_cdev.num_colors = num_colors; in lp50xx_probe_dt()
108 led->mc_cdev.num_colors = OMNIA_LED_NUM_CHANNELS; in omnia_led_register()
359 for (i = 0; i < led->mc_cdev.num_colors; i++) { in lp5521_multicolor_brightness()
802 for (i = 0; i < led->mc_cdev.num_colors; i++) { in lp5523_multicolor_brightness()
42 const int num_colors = ARRAY_SIZE(color);97 int c = num_colors * cnt[key] / (max_cnt + 1); in print_hist()159 printf(" %s", sym[num_colors - 1]); in main()161 printf(" %s %s", color[num_colors - 1], nocolor); in main()
44 for (i = 0; i < mc_cdev->num_colors; i++) { in led_pwm_mc_set()76 pwmled = &priv->leds[priv->mc_cdev.num_colors]; in iterate_subleds()91 subled[priv->mc_cdev.num_colors].color_index = color; in iterate_subleds()92 priv->mc_cdev.num_colors++; in iterate_subleds()
1118 led->mcdev.num_colors = num_channels; in lpg_add_led()
35 if (t->num_colors) { in bit_map_string_get()38 align = t->num_colors; in bit_map_string_get()
21 int num_colors; member
31 int num_colors; member
22 unsigned int num_colors; member
1117 unsigned int num_colors; in zynqmp_dp_set_format() local1125 num_colors = 3; in zynqmp_dp_set_format()1130 num_colors = 3; in zynqmp_dp_set_format()1135 num_colors = 2; in zynqmp_dp_set_format()1140 num_colors = 1; in zynqmp_dp_set_format()1183 config->bpp = bpc * num_colors; in zynqmp_dp_set_format()
123 iommu->usemap.num_colors = vac_cache_size >> PAGE_SHIFT; in sbus_iommu_init()125 iommu->usemap.num_colors = 1; in sbus_iommu_init()
1171 int num_colors = dc->sz_k/dc->assoc/TO_KB(PAGE_SIZE); in arc_cache_init_master() local1176 if (CACHE_COLORS_NUM != num_colors) in arc_cache_init_master()
114 for (i = 0; i < mccdev->num_colors; i++) { in mt6360_mc_brightness_set()663 led->mc.num_colors = num_color; in mt6360_init_isnk_properties()
597 lightbar_mc_dev->num_colors = 3; in ps_lightbar_register()