| /linux/samples/bpf/ |
| H A D | tracex3_user.c | 42 const int num_colors = ARRAY_SIZE(color); variable 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()
|
| /linux/drivers/platform/x86/ |
| H A D | silicom-platform.c | 204 for (i = 0; i < mc_cdev->num_colors; i++) { in silicom_mec_led_mc_brightness_get() 222 for (i = 0; i < mc_cdev->num_colors; i++) { in silicom_mec_led_mc_brightness_set() 413 .num_colors = ARRAY_SIZE(plat_0222_wan_mc_subled_info), 424 .num_colors = ARRAY_SIZE(plat_0222_sys_mc_subled_info), 435 .num_colors = ARRAY_SIZE(plat_0222_stat1_mc_subled_info), 446 .num_colors = ARRAY_SIZE(plat_0222_stat2_mc_subled_info), 457 .num_colors = ARRAY_SIZE(plat_0222_stat3_mc_subled_info), 585 .num_colors = ARRAY_SIZE(cordoba_fp_left_mc_subled_info), 596 .num_colors = ARRAY_SIZE(cordoba_fp_center_mc_subled_info), 607 .num_colors = ARRAY_SIZE(cordoba_fp_right_mc_subled_info), [all …]
|
| /linux/drivers/leds/rgb/ |
| H A D | leds-pwm-multicolor.c | 44 for (i = 0; i < mc_cdev->num_colors; i++) { in led_pwm_mc_set() 82 pwmled = &priv->leds[priv->mc_cdev.num_colors]; in iterate_subleds() 97 subled[priv->mc_cdev.num_colors].color_index = color; in iterate_subleds() 98 priv->mc_cdev.num_colors++; in iterate_subleds()
|
| H A D | leds-group-multicolor.c | 35 for (i = 0; i < mc_cdev->num_colors; i++) { in leds_gmc_set() 121 priv->mc_cdev.num_colors = count; in leds_gmc_probe()
|
| H A D | leds-mt6370-rgb.c | 439 for (i = 0; i < mccdev->num_colors; i++) { in mt6370_mc_brightness_set() 502 for (i = 0; i < mccdev->num_colors; i++) { in mt6370_mc_blink_set() 556 for (i = 0; i < mccdev->num_colors; i++) { in mt6370_mc_pattern_set() 594 for (i = 0; i < mccdev->num_colors; i++) { in mt6370_mc_pattern_clear() 752 led->mc.num_colors = num_color; in mt6370_assign_multicolor_info()
|
| /linux/arch/sparc/lib/ |
| H A D | bitext.c | 35 if (t->num_colors) { in bit_map_string_get() 38 align = t->num_colors; in bit_map_string_get()
|
| /linux/include/linux/ |
| H A D | leds.h | 394 unsigned int *intensity_value, unsigned int num_colors, 525 unsigned int *intensity_value, unsigned int num_colors, 570 unsigned int *intensity_value, unsigned int num_colors, in led_mc_trigger_event() argument
|
| H A D | led-class-multicolor.h | 22 unsigned int num_colors; member
|
| /linux/arch/sparc/include/asm/ |
| H A D | bitext.h | 21 int num_colors; member
|
| /linux/include/linux/platform_data/ |
| H A D | leds-lp55xx.h | 31 int num_colors; member
|
| /linux/drivers/leds/ |
| H A D | led-triggers.c | 426 unsigned int *intensity_value, unsigned int num_colors, in led_mc_trigger_event() argument 439 led_mc_set_brightness(led_cdev, intensity_value, num_colors, brightness); in led_mc_trigger_event()
|
| H A D | leds-lp5562.c | 177 for (i = 0; i < led->mc_cdev.num_colors; i++) { in lp5562_multicolor_brightness()
|
| H A D | leds-turris-omnia.c | 241 led->mc_cdev.num_colors = OMNIA_LED_NUM_CHANNELS; in omnia_led_register()
|
| H A D | leds-sun50i-a100.c | 513 led->mc_cdev.num_colors = ARRAY_SIZE(led->subled_info); in sun50i_a100_ledc_probe()
|
| H A D | leds-blinkm.c | 701 mc_led->cdev.mcled_cdev.num_colors = NUM_LEDS; in register_multicolor()
|
| /linux/arch/sparc/mm/ |
| H A D | iommu.c | 124 iommu->usemap.num_colors = vac_cache_size >> PAGE_SHIFT; in sbus_iommu_init() 126 iommu->usemap.num_colors = 1; in sbus_iommu_init()
|
| /linux/drivers/gpu/drm/xlnx/ |
| H A D | zynqmp_dp.c | 1225 unsigned int num_colors; in zynqmp_dp_set_format() local 1233 num_colors = 3; in zynqmp_dp_set_format() 1238 num_colors = 3; in zynqmp_dp_set_format() 1243 num_colors = 2; in zynqmp_dp_set_format() 1248 num_colors = 1; in zynqmp_dp_set_format() 1290 config->bpp = bpc * num_colors; in zynqmp_dp_set_format()
|
| /linux/drivers/leds/flash/ |
| H A D | leds-mt6360.c | 110 for (i = 0; i < mccdev->num_colors; i++) { in mt6360_mc_brightness_set() 672 led->mc.num_colors = num_color; in mt6360_init_isnk_properties()
|
| /linux/drivers/platform/x86/uniwill/ |
| H A D | uniwill-acpi.c | 1356 data->led_mc_cdev.num_colors = LED_CHANNELS; in uniwill_led_init()
|