Home
last modified time | relevance | path

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

/linux/drivers/leds/
A Dleds-ti-lmu-common.c19 static int ti_lmu_common_update_brightness(struct ti_lmu_bank *lmu_bank, in ti_lmu_common_update_brightness() argument
22 struct regmap *regmap = lmu_bank->regmap; in ti_lmu_common_update_brightness()
33 if (lmu_bank->max_brightness == MAX_BRIGHTNESS_11BIT) { in ti_lmu_common_update_brightness()
34 reg = lmu_bank->lsb_brightness_reg; in ti_lmu_common_update_brightness()
46 reg = lmu_bank->msb_brightness_reg; in ti_lmu_common_update_brightness()
53 return ti_lmu_common_update_brightness(lmu_bank, brightness); in ti_lmu_common_set_brightness()
84 int ti_lmu_common_set_ramp(struct ti_lmu_bank *lmu_bank) in ti_lmu_common_set_ramp() argument
86 struct regmap *regmap = lmu_bank->regmap; in ti_lmu_common_set_ramp()
89 if (lmu_bank->ramp_up_usec == 0 && lmu_bank->ramp_down_usec == 0) { in ti_lmu_common_set_ramp()
93 ramp_up = ti_lmu_common_convert_ramp_to_index(lmu_bank->ramp_up_usec); in ti_lmu_common_set_ramp()
[all …]
/linux/include/linux/
A Dleds-ti-lmu-common.h36 int ti_lmu_common_set_brightness(struct ti_lmu_bank *lmu_bank, int brightness);
38 int ti_lmu_common_set_ramp(struct ti_lmu_bank *lmu_bank);

Completed in 3 milliseconds