Lines Matching full:buck
171 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_is_enabled() local
172 u16 mask = 1 << (buck * 2); in lp3971_dcdc_is_enabled()
182 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_enable() local
183 u16 mask = 1 << (buck * 2); in lp3971_dcdc_enable()
191 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_disable() local
192 u16 mask = 1 << (buck * 2); in lp3971_dcdc_disable()
200 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_get_voltage_sel() local
203 reg = lp3971_reg_read(lp3971, LP3971_BUCK_TARGET_VOL1_REG(buck)); in lp3971_dcdc_get_voltage_sel()
213 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_set_voltage_sel() local
216 ret = lp3971_set_bits(lp3971, LP3971_BUCK_TARGET_VOL1_REG(buck), in lp3971_dcdc_set_voltage_sel()
222 BUCK_VOL_CHANGE_FLAG_MASK << BUCK_VOL_CHANGE_SHIFT(buck), in lp3971_dcdc_set_voltage_sel()
223 BUCK_VOL_CHANGE_FLAG_GO << BUCK_VOL_CHANGE_SHIFT(buck)); in lp3971_dcdc_set_voltage_sel()
228 BUCK_VOL_CHANGE_FLAG_MASK << BUCK_VOL_CHANGE_SHIFT(buck), in lp3971_dcdc_set_voltage_sel()
229 0 << BUCK_VOL_CHANGE_SHIFT(buck)); in lp3971_dcdc_set_voltage_sel()