Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A Dlp3971.c20 struct lp3971 { struct
26 static u8 lp3971_reg_read(struct lp3971 *lp3971, u8 reg); argument
27 static int lp3971_set_bits(struct lp3971 *lp3971, u8 reg, u16 mask, u16 val);
108 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_ldo_is_enabled() local
113 val = lp3971_reg_read(lp3971, LP3971_LDO_ENABLE_REG); in lp3971_ldo_is_enabled()
119 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_ldo_enable() local
123 return lp3971_set_bits(lp3971, LP3971_LDO_ENABLE_REG, mask, mask); in lp3971_ldo_enable()
128 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_ldo_disable() local
132 return lp3971_set_bits(lp3971, LP3971_LDO_ENABLE_REG, mask, 0); in lp3971_ldo_disable()
137 struct lp3971 *lp3971 = rdev_get_drvdata(dev); in lp3971_ldo_get_voltage_sel() local
[all …]
H A DMakefile62 obj-$(CONFIG_REGULATOR_LP3971) += lp3971.o