| /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/ |
| H A D | leds-lp50xx.c | 328 for (i = 0; i < led->mc_cdev.num_colors; i++) { in lp50xx_brightness_set() 467 int num_colors; in lp50xx_probe_dt() local 497 num_colors = 0; in lp50xx_probe_dt() 528 num_colors++; in lp50xx_probe_dt() 532 led->mc_cdev.num_colors = num_colors; in lp50xx_probe_dt()
|
| H A D | leds-cros_ec.c | 109 for (i = 0; i < priv->led_mc_cdev.num_colors; i++) { in cros_ec_led_brightness_set_blocking() 152 if (led_mc_cdev->num_colors == 1) in cros_ec_led_get_color_name() 210 priv->led_mc_cdev.num_colors = num_subleds; in cros_ec_led_probe_one()
|
| 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-sun50i-a100.c | 512 led->mc_cdev.num_colors = ARRAY_SIZE(led->subled_info); in sun50i_a100_ledc_probe()
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | led_mc.c | 23 for (i = 0; i < mcdev->num_colors; i++) { in rtw89_led_mc_brightness_set() 48 led_mc->num_colors = desc->n_gpio; in rtw89_led_mc_init()
|
| /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/drivers/leds/rgb/ |
| H A D | leds-group-multicolor.c | 34 for (i = 0; i < mc_cdev->num_colors; i++) { in leds_gmc_set() 120 priv->mc_cdev.num_colors = count; in leds_gmc_probe()
|
| H A D | leds-mt6370-rgb.c | 438 for (i = 0; i < mccdev->num_colors; i++) { in mt6370_mc_brightness_set() 501 for (i = 0; i < mccdev->num_colors; i++) { in mt6370_mc_blink_set() 555 for (i = 0; i < mccdev->num_colors; i++) { in mt6370_mc_pattern_set() 593 for (i = 0; i < mccdev->num_colors; i++) { in mt6370_mc_pattern_clear() 751 led->mc.num_colors = num_color; in mt6370_assign_multicolor_info()
|
| /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/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/platform/x86/amd/ |
| H A D | amd_halo_led.c | 276 data->led_mc.num_colors = ARRAY_SIZE(data->subled_info); in amd_halo_probe()
|
| /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 | 1623 data->led_mc_cdev.num_colors = LED_CHANNELS; in uniwill_led_init() 1829 data->kbd_led_mc_cdev.num_colors = KBD_LED_CHANNELS; in uniwill_rgb_kbd_led_init()
|
| /linux/drivers/hid/ |
| H A D | hid-lenovo-go-s.c | 1328 .num_colors = ARRAY_SIZE(gos_rgb_subled_info),
|
| H A D | hid-lg-g15.c | 967 gled->mcdev.num_colors = 3; in lg_g15_setup_led_rgb()
|