Home
last modified time | relevance | path

Searched refs:mm_current_scale (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/leds/
Dleds-aat1290.c78 int *mm_current_scale; member
304 if (cfg->max_mm_current < led->mm_current_scale[i]) in aat1290_led_validate_mm_current()
310 cfg->max_mm_current = led->mm_current_scale[b]; in aat1290_led_validate_mm_current()
324 led->mm_current_scale = devm_kzalloc(&led->pdev->dev, in init_mm_current_scale()
327 if (!led->mm_current_scale) in init_mm_current_scale()
331 led->mm_current_scale[i] = max_mm_current * in init_mm_current_scale()
358 devm_kfree(&led->pdev->dev, led->mm_current_scale); in aat1290_led_get_configuration()
388 if (intensity >= led->mm_current_scale[i]) in aat1290_intensity_to_brightness()
400 return led->mm_current_scale[brightness - 1]; in aat1290_brightness_to_intensity()
438 s->min = led->mm_current_scale[0]; in aat1290_init_v4l2_flash_config()