Lines Matching refs:brightness
111 pdata->pwm_set_intensity(bl->props.brightness, in lm3639_bled_update_status()
116 return bl->props.brightness; in lm3639_bled_update_status()
120 ret = regmap_write(pchip->regmap, REG_BL_CONF_4, bl->props.brightness); in lm3639_bled_update_status()
123 ret = regmap_write(pchip->regmap, REG_BL_CONF_3, bl->props.brightness); in lm3639_bled_update_status()
127 if (!bl->props.brightness) in lm3639_bled_update_status()
134 return bl->props.brightness; in lm3639_bled_update_status()
137 return bl->props.brightness; in lm3639_bled_update_status()
149 bl->props.brightness = pdata->pwm_get_intensity(); in lm3639_bled_get_brightness()
153 return bl->props.brightness; in lm3639_bled_get_brightness()
165 bl->props.brightness = reg_val; in lm3639_bled_get_brightness()
167 return bl->props.brightness; in lm3639_bled_get_brightness()
170 return bl->props.brightness; in lm3639_bled_get_brightness()
220 enum led_brightness brightness) in lm3639_torch_brightness_set() argument
235 if (!brightness) { in lm3639_torch_brightness_set()
243 REG_FL_CONF_1, 0x70, (brightness - 1) << 4); in lm3639_torch_brightness_set()
257 enum led_brightness brightness) in lm3639_flash_brightness_set() argument
277 if (!brightness) in lm3639_flash_brightness_set()
281 REG_FL_CONF_1, 0x0F, brightness - 1); in lm3639_flash_brightness_set()
343 props.brightness = pdata->init_brt_led; in lm3639_probe()