Lines Matching full:buck
317 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_is_enabled() local
318 u16 mask = 1 << (buck * 2); in lp3972_dcdc_is_enabled()
321 val = lp3972_reg_read(lp3972, LP3972_BUCK_VOL_ENABLE_REG(buck)); in lp3972_dcdc_is_enabled()
328 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_enable() local
329 u16 mask = 1 << (buck * 2); in lp3972_dcdc_enable()
332 val = lp3972_set_bits(lp3972, LP3972_BUCK_VOL_ENABLE_REG(buck), in lp3972_dcdc_enable()
340 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_disable() local
341 u16 mask = 1 << (buck * 2); in lp3972_dcdc_disable()
344 val = lp3972_set_bits(lp3972, LP3972_BUCK_VOL_ENABLE_REG(buck), in lp3972_dcdc_disable()
352 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_get_voltage_sel() local
355 reg = lp3972_reg_read(lp3972, LP3972_BUCK_VOL1_REG(buck)); in lp3972_dcdc_get_voltage_sel()
365 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_set_voltage_sel() local
368 ret = lp3972_set_bits(lp3972, LP3972_BUCK_VOL1_REG(buck), in lp3972_dcdc_set_voltage_sel()
373 if (buck != 0) in lp3972_dcdc_set_voltage_sel()