Lines Matching refs:max14577
40 struct max14577 *max14577 = rdev_get_drvdata(rdev); in max14577_reg_get_current_limit() local
42 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_get_current_limit()
62 struct max14577 *max14577 = rdev_get_drvdata(rdev); in max14577_reg_set_current_limit() local
64 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_set_current_limit()
164 static struct regmap *max14577_get_regmap(struct max14577 *max14577, in max14577_get_regmap() argument
167 switch (max14577->dev_type) { in max14577_get_regmap()
171 return max14577->regmap; in max14577_get_regmap()
174 return max14577->regmap_pmic; in max14577_get_regmap()
179 return max14577->regmap; in max14577_get_regmap()
185 struct max14577 *max14577 = dev_get_drvdata(pdev->dev.parent); in max14577_regulator_probe() local
186 struct max14577_platform_data *pdata = dev_get_platdata(max14577->dev); in max14577_regulator_probe()
191 enum maxim_device_type dev_type = max14577->dev_type; in max14577_regulator_probe()
204 config.dev = max14577->dev; in max14577_regulator_probe()
205 config.driver_data = max14577; in max14577_regulator_probe()
217 config.regmap = max14577_get_regmap(max14577, in max14577_regulator_probe()