Searched refs:num_colors (Results 1 - 23 of 23) sorted by relevance

/linux-master/arch/sparc/include/asm/
H A Dbitext.h21 int num_colors; member in struct:bit_map
/linux-master/samples/bpf/
H A Dtracex3_user.c42 const int num_colors = ARRAY_SIZE(color); variable
97 int c = num_colors * cnt[key] / (max_cnt + 1);
159 printf(" %s", sym[num_colors - 1]);
161 printf(" %s %s", color[num_colors - 1], nocolor);
/linux-master/drivers/leds/
H A Dled-class-multicolor.c22 for (i = 0; i < mcled_cdev->num_colors; i++)
45 for (i = 0; i < mcled_cdev->num_colors; i++) {
61 for (i = 0; i < mcled_cdev->num_colors; i++)
80 for (i = 0; i < mcled_cdev->num_colors; i++) {
83 if (i < mcled_cdev->num_colors - 1)
102 for (i = 0; i < mcled_cdev->num_colors; i++) {
105 if (i < mcled_cdev->num_colors - 1)
130 if (mcled_cdev->num_colors <= 0)
133 if (mcled_cdev->num_colors > LED_COLOR_ID_MAX)
H A Dleds-lp55xx-common.c189 if (pdata->led_config[chan].num_colors > 1) {
191 pdata->led_config[chan].num_colors,
199 led->mc_cdev.num_colors = pdata->led_config[chan].num_colors;
200 for (i = 0; i < led->mc_cdev.num_colors; i++) {
224 if (pdata->led_config[chan].num_colors > 1)
614 int num_colors = 0, ret; local
618 num_colors);
623 num_colors++;
626 cfg[child_number].num_colors
[all...]
H A Dleds-lp50xx.c328 for (i = 0; i < led->mc_cdev.num_colors; i++) {
449 int num_colors; local
475 num_colors = 0;
497 mc_led_info[num_colors].color_index = color_id;
498 num_colors++;
502 led->mc_cdev.num_colors = num_colors;
H A Dleds-turris-omnia.c290 led->mc_cdev.num_colors = OMNIA_LED_NUM_CHANNELS;
H A Dleds-lp5521.c360 for (i = 0; i < led->mc_cdev.num_colors; i++) {
H A Dleds-sun50i-a100.c520 led->mc_cdev.num_colors = ARRAY_SIZE(led->subled_info);
H A Dleds-lp5523.c809 for (i = 0; i < led->mc_cdev.num_colors; i++) {
/linux-master/include/linux/platform_data/
H A Dleds-lp55xx.h31 int num_colors; member in struct:lp55xx_led_config
/linux-master/include/linux/
H A Dled-class-multicolor.h22 unsigned int num_colors; member in struct:led_classdev_mc
/linux-master/arch/sparc/lib/
H A Dbitext.c35 if (t->num_colors) {
38 align = t->num_colors;
/linux-master/drivers/leds/rgb/
H A Dleds-pwm-multicolor.c44 for (i = 0; i < mc_cdev->num_colors; i++) {
76 pwmled = &priv->leds[priv->mc_cdev.num_colors];
91 subled[priv->mc_cdev.num_colors].color_index = color;
92 priv->mc_cdev.num_colors++;
H A Dleds-group-multicolor.c35 for (i = 0; i < mc_cdev->num_colors; i++) {
121 priv->mc_cdev.num_colors = count;
H A Dleds-ncp5623.c56 for (int i = 0; i < mc_cdev->num_colors; i++) {
197 subled_info[ncp->mc_dev.num_colors].channel = reg;
198 subled_info[ncp->mc_dev.num_colors++].color_index = color_index;
H A Dleds-mt6370-rgb.c440 for (i = 0; i < mccdev->num_colors; i++) {
503 for (i = 0; i < mccdev->num_colors; i++) {
557 for (i = 0; i < mccdev->num_colors; i++) {
595 for (i = 0; i < mccdev->num_colors; i++) {
753 led->mc.num_colors = num_color;
H A Dleds-ktd202x.c261 ret = ktd202x_brightness_set(led, mc->subled_info, mc->num_colors);
381 mc->num_colors);
427 led->mcdev.num_colors = num_channels;
H A Dleds-qcom-lpg.c1409 led->mcdev.num_colors = num_channels;
/linux-master/drivers/platform/x86/
H A Dsilicom-platform.c204 for (i = 0; i < mc_cdev->num_colors; i++) {
222 for (i = 0; i < mc_cdev->num_colors; i++) {
416 .num_colors = ARRAY_SIZE(plat_0222_wan_mc_subled_info),
427 .num_colors = ARRAY_SIZE(plat_0222_sys_mc_subled_info),
438 .num_colors = ARRAY_SIZE(plat_0222_stat1_mc_subled_info),
449 .num_colors = ARRAY_SIZE(plat_0222_stat2_mc_subled_info),
460 .num_colors = ARRAY_SIZE(plat_0222_stat3_mc_subled_info),
588 .num_colors = ARRAY_SIZE(cordoba_fp_left_mc_subled_info),
599 .num_colors = ARRAY_SIZE(cordoba_fp_center_mc_subled_info),
610 .num_colors
[all...]
/linux-master/drivers/gpu/drm/xlnx/
H A Dzynqmp_dp.c1110 unsigned int num_colors; local
1118 num_colors = 3;
1123 num_colors = 3;
1128 num_colors = 2;
1133 num_colors = 1;
1175 config->bpp = bpc * num_colors;
/linux-master/arch/sparc/mm/
H A Diommu.c124 iommu->usemap.num_colors = vac_cache_size >> PAGE_SHIFT;
126 iommu->usemap.num_colors = 1;
/linux-master/drivers/leds/flash/
H A Dleds-mt6360.c110 for (i = 0; i < mccdev->num_colors; i++) {
659 led->mc.num_colors = num_color;
/linux-master/drivers/hid/
H A Dhid-playstation.c829 lightbar_mc_dev->num_colors = 3;

Completed in 514 milliseconds