Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/backlight/
H A Dmt6370-backlight.c78 u8 brightness_val[2]; in mt6370_bl_update_status() local
82 brightness_val[0] = (brightness - 1) & priv->dim2_mask; in mt6370_bl_update_status()
83 brightness_val[1] = (brightness - 1) >> priv->dim2_shift; in mt6370_bl_update_status()
86 brightness_val, sizeof(brightness_val)); in mt6370_bl_update_status()
102 u8 brightness_val[2]; in mt6370_bl_get_brightness() local
113 brightness_val, sizeof(brightness_val)); in mt6370_bl_get_brightness()
117 brightness = brightness_val[1] << priv->dim2_shift; in mt6370_bl_get_brightness()
118 brightness += brightness_val[0] & priv->dim2_mask; in mt6370_bl_get_brightness()
/openbmc/linux/drivers/leds/flash/
H A Dleds-lm3601x.c247 u8 brightness_val; in lm3601x_flash_brightness_set() local
261 brightness_val = brightness / LM3601X_STROBE_REG_DIV; in lm3601x_flash_brightness_set()
263 ret = regmap_write(led->regmap, LM3601X_LED_FLASH_REG, brightness_val); in lm3601x_flash_brightness_set()