Searched refs:tps65217_bl (Results 1 – 2 of 2) sorted by relevance
28 struct tps65217_bl { struct35 static int tps65217_bl_enable(struct tps65217_bl *tps65217_bl) in tps65217_bl_enable() argument39 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() argument59 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 …]
54 obj-$(CONFIG_BACKLIGHT_TPS65217) += tps65217_bl.o