Home
last modified time | relevance | path

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

/linux/drivers/leds/
A Dleds-ti-lmu-common.c106 struct ti_lmu_bank *lmu_data) in ti_lmu_common_get_ramp_params() argument
111 &lmu_data->ramp_up_usec); in ti_lmu_common_get_ramp_params()
117 &lmu_data->ramp_down_usec); in ti_lmu_common_get_ramp_params()
126 struct ti_lmu_bank *lmu_data) in ti_lmu_common_get_brt_res() argument
131 &lmu_data->max_brightness); in ti_lmu_common_get_brt_res()
135 &lmu_data->max_brightness); in ti_lmu_common_get_brt_res()
136 if (lmu_data->max_brightness <= 0) { in ti_lmu_common_get_brt_res()
137 lmu_data->max_brightness = MAX_BRIGHTNESS_8BIT; in ti_lmu_common_get_brt_res()
141 if (lmu_data->max_brightness > MAX_BRIGHTNESS_11BIT) in ti_lmu_common_get_brt_res()
142 lmu_data->max_brightness = MAX_BRIGHTNESS_11BIT; in ti_lmu_common_get_brt_res()
A Dleds-lm3697.c63 struct ti_lmu_bank lmu_data; member
143 ret = ti_lmu_common_set_brightness(&led->lmu_data, brt_val); in lm3697_brightness_set()
195 ret = ti_lmu_common_set_ramp(&led->lmu_data); in lm3697_init()
240 ret = ti_lmu_common_get_brt_res(dev, child, &led->lmu_data); in lm3697_probe_dt()
246 led->lmu_data.regmap = priv->regmap; in lm3697_probe_dt()
247 led->lmu_data.runtime_ramp_reg = LM3697_CTRL_A_RAMP + in lm3697_probe_dt()
249 led->lmu_data.msb_brightness_reg = LM3697_CTRL_A_BRT_MSB + in lm3697_probe_dt()
251 led->lmu_data.lsb_brightness_reg = LM3697_CTRL_A_BRT_LSB + in lm3697_probe_dt()
272 ret = ti_lmu_common_get_ramp_params(dev, child, &led->lmu_data); in lm3697_probe_dt()
282 led->led_dev.max_brightness = led->lmu_data.max_brightness; in lm3697_probe_dt()
A Dleds-lm36274.c36 struct ti_lmu_bank lmu_data; member
49 return ti_lmu_common_set_brightness(&chip->lmu_data, brt_val); in lm36274_brightness_set()
136 chip->lmu_data.regmap = chip->regmap; in lm36274_probe()
137 chip->lmu_data.max_brightness = MAX_BRIGHTNESS_11BIT; in lm36274_probe()
138 chip->lmu_data.msb_brightness_reg = LM36274_REG_BRT_MSB; in lm36274_probe()
139 chip->lmu_data.lsb_brightness_reg = LM36274_REG_BRT_LSB; in lm36274_probe()
/linux/include/linux/
A Dleds-ti-lmu-common.h42 struct ti_lmu_bank *lmu_data);
45 struct ti_lmu_bank *lmu_data);

Completed in 9 milliseconds