Lines Matching refs:da9052
69 struct da9052 *da9052; member
89 ret = da9052_reg_read(regulator->da9052, DA9052_BUCKA_REG + offset/2); in da9052_dcdc_get_current_limit()
102 if (regulator->da9052->chip_id == DA9052) in da9052_dcdc_get_current_limit()
119 if (regulator->da9052->chip_id == DA9052) in da9052_dcdc_set_current_limit()
139 return da9052_reg_update(regulator->da9052, in da9052_dcdc_set_current_limit()
144 return da9052_reg_update(regulator->da9052, in da9052_dcdc_set_current_limit()
158 if ((id == DA9052_ID_BUCK4) && (regulator->da9052->chip_id == DA9052) in da9052_list_voltage()
189 if ((id == DA9052_ID_BUCK4) && (regulator->da9052->chip_id == DA9052) in da9052_map_voltage()
213 ret = da9052_reg_update(regulator->da9052, rdev->desc->vsel_reg, in da9052_regulator_set_voltage_sel()
227 ret = da9052_reg_update(regulator->da9052, DA9052_SUPPLY_REG, in da9052_regulator_set_voltage_sel()
398 struct da9052 *da9052; in da9052_regulator_probe() local
406 da9052 = dev_get_drvdata(pdev->dev.parent); in da9052_regulator_probe()
407 pdata = dev_get_platdata(da9052->dev); in da9052_regulator_probe()
408 regulator->da9052 = da9052; in da9052_regulator_probe()
410 regulator->info = find_regulator_info(regulator->da9052->chip_id, in da9052_regulator_probe()
417 config.dev = da9052->dev; in da9052_regulator_probe()
419 config.regmap = da9052->regmap; in da9052_regulator_probe()