Home
last modified time | relevance | path

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

/linux/drivers/leds/flash/
H A Dleds-aat1290.c78 int *mm_current_scale; member
294 if (cfg->max_mm_current < led->mm_current_scale[i]) in aat1290_led_validate_mm_current()
300 cfg->max_mm_current = led->mm_current_scale[b]; in aat1290_led_validate_mm_current()
314 led->mm_current_scale = devm_kzalloc(&led->pdev->dev, in init_mm_current_scale()
317 if (!led->mm_current_scale) in init_mm_current_scale()
321 led->mm_current_scale[i] = max_mm_current * in init_mm_current_scale()
348 devm_kfree(&led->pdev->dev, led->mm_current_scale); in aat1290_led_get_configuration()
378 if (intensity >= led->mm_current_scale[i]) in aat1290_intensity_to_brightness()
390 return led->mm_current_scale[brightness - 1]; in aat1290_brightness_to_intensity()
428 s->min = led->mm_current_scale[0]; in aat1290_init_v4l2_flash_config()