Searched refs:num_colors (Results 1 – 14 of 14) 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()612 int num_colors = 0, ret; in lp55xx_parse_multi_led() local616 num_colors); in lp55xx_parse_multi_led()621 num_colors++; in lp55xx_parse_multi_led()624 cfg[child_number].num_colors = num_colors; in lp55xx_parse_multi_led()
330 for (i = 0; i < led->mc_cdev.num_colors; i++) { in lp50xx_brightness_set()453 int num_colors; in lp50xx_probe_dt() local482 num_colors = 0; in lp50xx_probe_dt()501 mc_led_info[num_colors].color_index = color_id; in lp50xx_probe_dt()502 num_colors++; in lp50xx_probe_dt()506 led->mc_cdev.num_colors = num_colors; in lp50xx_probe_dt()
116 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()
43 const int num_colors = ARRAY_SIZE(color);98 int c = num_colors * cnt[key] / (max_cnt + 1); in print_hist()166 printf(" %s", sym[num_colors - 1]); in main()168 printf(" %s %s", color[num_colors - 1], nocolor); in main()
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
1121 unsigned int num_colors; in zynqmp_dp_set_format() local1129 num_colors = 3; in zynqmp_dp_set_format()1134 num_colors = 3; in zynqmp_dp_set_format()1139 num_colors = 2; in zynqmp_dp_set_format()1144 num_colors = 1; in zynqmp_dp_set_format()1187 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()
1253 int num_colors = dc->sz_k/dc->assoc/TO_KB(PAGE_SIZE); in arc_cache_init_master() local1258 if (CACHE_COLORS_NUM != num_colors) in arc_cache_init_master()