Home
last modified time | relevance | path

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

/linux/drivers/video/backlight/
H A Dtps65217_bl.c20 struct tps65217_bl { struct
27 static int tps65217_bl_enable(struct tps65217_bl *tps65217_bl) in tps65217_bl_enable() argument
31 rc = tps65217_set_bits(tps65217_bl->tps, TPS65217_REG_WLEDCTRL1, in tps65217_bl_enable()
35 dev_err(tps65217_bl->dev, in tps65217_bl_enable()
40 tps65217_bl->is_enabled = true; in tps65217_bl_enable()
42 dev_dbg(tps65217_bl->dev, "backlight enabled\n"); in tps65217_bl_enable()
47 static int tps65217_bl_disable(struct tps65217_bl *tps65217_bl) in tps65217_bl_disable() argument
51 rc = tps65217_clear_bits(tps65217_bl->tps, in tps65217_bl_disable()
56 dev_err(tps65217_bl->dev, in tps65217_bl_disable()
61 tps65217_bl->is_enabled = false; in tps65217_bl_disable()
[all …]
H A DMakefile58 obj-$(CONFIG_BACKLIGHT_TPS65217) += tps65217_bl.o