ltc3589 93 drivers/regulator/ltc3589.c struct ltc3589 *ltc3589 = rdev_get_drvdata(rdev); ltc3589 105 drivers/regulator/ltc3589.c return regmap_update_bits(ltc3589->regmap, ltc3589 115 drivers/regulator/ltc3589.c struct ltc3589 *ltc3589 = rdev_get_drvdata(rdev); ltc3589 123 drivers/regulator/ltc3589.c return regmap_update_bits(ltc3589->regmap, rdev->desc->vsel_reg + 1, ltc3589 130 drivers/regulator/ltc3589.c struct ltc3589 *ltc3589 = rdev_get_drvdata(rdev); ltc3589 141 drivers/regulator/ltc3589.c return regmap_update_bits(ltc3589->regmap, LTC3589_VCCR, mask, bit); ltc3589 195 drivers/regulator/ltc3589.c struct ltc3589 *ltc3589 = config->driver_data; ltc3589 196 drivers/regulator/ltc3589.c struct regulator_desc *rdesc = <c3589->regulator_descs[desc->id]; ltc3589 206 drivers/regulator/ltc3589.c dev_err(ltc3589->dev, "Failed to parse voltage divider: %d\n", ltc3589 353 drivers/regulator/ltc3589.c struct ltc3589 *ltc3589 = dev_id; ltc3589 356 drivers/regulator/ltc3589.c regmap_read(ltc3589->regmap, LTC3589_IRQSTAT, &irqstat); ltc3589 361 drivers/regulator/ltc3589.c regulator_lock(ltc3589->regulators[i]); ltc3589 362 drivers/regulator/ltc3589.c regulator_notifier_call_chain(ltc3589->regulators[i], ltc3589 364 drivers/regulator/ltc3589.c regulator_unlock(ltc3589->regulators[i]); ltc3589 371 drivers/regulator/ltc3589.c regulator_lock(ltc3589->regulators[i]); ltc3589 372 drivers/regulator/ltc3589.c regulator_notifier_call_chain(ltc3589->regulators[i], ltc3589 374 drivers/regulator/ltc3589.c regulator_unlock(ltc3589->regulators[i]); ltc3589 379 drivers/regulator/ltc3589.c regmap_write(ltc3589->regmap, LTC3589_CLIRQ, 0); ltc3589 389 drivers/regulator/ltc3589.c struct ltc3589 *ltc3589; ltc3589 392 drivers/regulator/ltc3589.c ltc3589 = devm_kzalloc(dev, sizeof(*ltc3589), GFP_KERNEL); ltc3589 393 drivers/regulator/ltc3589.c if (!ltc3589) ltc3589 396 drivers/regulator/ltc3589.c i2c_set_clientdata(client, ltc3589); ltc3589 398 drivers/regulator/ltc3589.c ltc3589->variant = (enum ltc3589_variant) ltc3589 401 drivers/regulator/ltc3589.c ltc3589->variant = id->driver_data; ltc3589 402 drivers/regulator/ltc3589.c ltc3589->dev = dev; ltc3589 404 drivers/regulator/ltc3589.c descs = ltc3589->regulator_descs; ltc3589 406 drivers/regulator/ltc3589.c if (ltc3589->variant == LTC3589) { ltc3589 414 drivers/regulator/ltc3589.c ltc3589->regmap = devm_regmap_init_i2c(client, <c3589_regmap_config); ltc3589 415 drivers/regulator/ltc3589.c if (IS_ERR(ltc3589->regmap)) { ltc3589 416 drivers/regulator/ltc3589.c ret = PTR_ERR(ltc3589->regmap); ltc3589 422 drivers/regulator/ltc3589.c struct regulator_desc *desc = <c3589->regulator_descs[i]; ltc3589 426 drivers/regulator/ltc3589.c config.driver_data = ltc3589; ltc3589 428 drivers/regulator/ltc3589.c ltc3589->regulators[i] = devm_regulator_register(dev, desc, ltc3589 430 drivers/regulator/ltc3589.c if (IS_ERR(ltc3589->regulators[i])) { ltc3589 431 drivers/regulator/ltc3589.c ret = PTR_ERR(ltc3589->regulators[i]); ltc3589 442 drivers/regulator/ltc3589.c client->name, ltc3589);