Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/leds/
Dleds-lm3530.c261 brightness = drvdata->brightness = pdata->brt_val; in lm3530_init_registers()
305 enum led_brightness brt_val) in lm3530_brightness_set() argument
328 LM3530_BRT_CTRL_REG, brt_val); in lm3530_brightness_set()
333 drvdata->brightness = brt_val; in lm3530_brightness_set()
335 if (brt_val == 0) in lm3530_brightness_set()
342 pwm->pwm_set_intensity(brt_val, max_brightness); in lm3530_brightness_set()
455 if (drvdata->pdata->brt_val) { in lm3530_probe()
Dleds-lm3697.c123 enum led_brightness brt_val) in lm3697_brightness_set() argument
133 if (brt_val == LED_OFF) { in lm3697_brightness_set()
143 ret = ti_lmu_common_set_brightness(&led->lmu_data, brt_val); in lm3697_brightness_set()
158 led->enabled = brt_val; in lm3697_brightness_set()
Dleds-lm36274.c45 enum led_brightness brt_val) in lm36274_brightness_set() argument
49 return ti_lmu_common_set_brightness(&chip->lmu_data, brt_val); in lm36274_brightness_set()
Dleds-lm3692x.c325 enum led_brightness brt_val) in lm3692x_brightness_set() argument
330 int led_brightness_lsb = (brt_val >> 5); in lm3692x_brightness_set()
334 if (brt_val == 0) { in lm3692x_brightness_set()
348 ret = regmap_write(led->regmap, LM3692X_BRT_MSB, brt_val); in lm3692x_brightness_set()
Dleds-lm3532.c347 enum led_brightness brt_val) in lm3532_brightness_set() argument
357 if (brt_val > LED_OFF) in lm3532_brightness_set()
365 if (brt_val == LED_OFF) { in lm3532_brightness_set()
377 ret = regmap_write(led->priv->regmap, brightness_reg, brt_val); in lm3532_brightness_set()
Dleds-lp8860.c205 enum led_brightness brt_val) in lp8860_brightness_set() argument
209 int disp_brightness = brt_val * 255; in lp8860_brightness_set()
/Linux-v6.6/include/linux/
Dled-lm3530.h115 u8 brt_val; member