Home
last modified time | relevance | path

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

/drivers/video/backlight/
Dtps65217_bl.c28 struct tps65217_bl { struct
35 static int tps65217_bl_enable(struct tps65217_bl *tps65217_bl) in tps65217_bl_enable() argument
39 rc = tps65217_set_bits(tps65217_bl->tps, TPS65217_REG_WLEDCTRL1, in tps65217_bl_enable()
43 dev_err(tps65217_bl->dev, in tps65217_bl_enable()
48 tps65217_bl->is_enabled = true; in tps65217_bl_enable()
50 dev_dbg(tps65217_bl->dev, "backlight enabled\n"); in tps65217_bl_enable()
55 static int tps65217_bl_disable(struct tps65217_bl *tps65217_bl) in tps65217_bl_disable() argument
59 rc = tps65217_clear_bits(tps65217_bl->tps, in tps65217_bl_disable()
64 dev_err(tps65217_bl->dev, in tps65217_bl_disable()
69 tps65217_bl->is_enabled = false; in tps65217_bl_disable()
[all …]
DMakefile54 obj-$(CONFIG_BACKLIGHT_TPS65217) += tps65217_bl.o