max77693           67 drivers/extcon/extcon-max77693.c 	struct max77693_dev *max77693;
max77693          230 drivers/extcon/extcon-max77693.c 		ret = regmap_write(info->max77693->regmap_muic,
max77693          267 drivers/extcon/extcon-max77693.c 	ret = regmap_update_bits(info->max77693->regmap_muic,
max77693          279 drivers/extcon/extcon-max77693.c 	ret = regmap_update_bits(info->max77693->regmap_muic,
max77693          951 drivers/extcon/extcon-max77693.c 	ret = regmap_bulk_read(info->max77693->regmap_muic,
max77693         1024 drivers/extcon/extcon-max77693.c 	ret = regmap_bulk_read(info->max77693->regmap_muic,
max77693         1069 drivers/extcon/extcon-max77693.c 	struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent);
max77693         1070 drivers/extcon/extcon-max77693.c 	struct max77693_platform_data *pdata = dev_get_platdata(max77693->dev);
max77693         1087 drivers/extcon/extcon-max77693.c 	info->max77693 = max77693;
max77693         1088 drivers/extcon/extcon-max77693.c 	if (info->max77693->regmap_muic) {
max77693         1091 drivers/extcon/extcon-max77693.c 		info->max77693->regmap_muic = devm_regmap_init_i2c(
max77693         1092 drivers/extcon/extcon-max77693.c 						info->max77693->i2c_muic,
max77693         1094 drivers/extcon/extcon-max77693.c 		if (IS_ERR(info->max77693->regmap_muic)) {
max77693         1095 drivers/extcon/extcon-max77693.c 			ret = PTR_ERR(info->max77693->regmap_muic);
max77693         1096 drivers/extcon/extcon-max77693.c 			dev_err(max77693->dev,
max77693         1137 drivers/extcon/extcon-max77693.c 		virq = regmap_irq_get_virq(max77693->irq_data_muic,
max77693         1179 drivers/extcon/extcon-max77693.c 		regmap_write(info->max77693->regmap_muic,
max77693         1218 drivers/extcon/extcon-max77693.c 	ret = regmap_bulk_read(info->max77693->regmap_muic,
max77693         1231 drivers/extcon/extcon-max77693.c 	ret = regmap_read(info->max77693->regmap_muic,
max77693          295 drivers/input/misc/max77693-haptic.c 	struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent);
max77693          303 drivers/input/misc/max77693-haptic.c 	haptic->regmap_pmic = max77693->regmap;
max77693          313 drivers/input/misc/max77693-haptic.c 		haptic->regmap_haptic = max77693->regmap_haptic;
max77693          316 drivers/input/misc/max77693-haptic.c 		haptic->regmap_haptic = max77693->regmap;
max77693          155 drivers/mfd/max77693.c 	struct max77693_dev *max77693;
max77693          159 drivers/mfd/max77693.c 	max77693 = devm_kzalloc(&i2c->dev,
max77693          161 drivers/mfd/max77693.c 	if (max77693 == NULL)
max77693          164 drivers/mfd/max77693.c 	i2c_set_clientdata(i2c, max77693);
max77693          165 drivers/mfd/max77693.c 	max77693->dev = &i2c->dev;
max77693          166 drivers/mfd/max77693.c 	max77693->i2c = i2c;
max77693          167 drivers/mfd/max77693.c 	max77693->irq = i2c->irq;
max77693          168 drivers/mfd/max77693.c 	max77693->type = id->driver_data;
max77693          170 drivers/mfd/max77693.c 	max77693->regmap = devm_regmap_init_i2c(i2c, &max77693_regmap_config);
max77693          171 drivers/mfd/max77693.c 	if (IS_ERR(max77693->regmap)) {
max77693          172 drivers/mfd/max77693.c 		ret = PTR_ERR(max77693->regmap);
max77693          173 drivers/mfd/max77693.c 		dev_err(max77693->dev, "failed to allocate register map: %d\n",
max77693          178 drivers/mfd/max77693.c 	ret = regmap_read(max77693->regmap, MAX77693_PMIC_REG_PMIC_ID2,
max77693          181 drivers/mfd/max77693.c 		dev_err(max77693->dev, "device not found on this channel\n");
max77693          184 drivers/mfd/max77693.c 		dev_info(max77693->dev, "device ID: 0x%x\n", reg_data);
max77693          186 drivers/mfd/max77693.c 	max77693->i2c_muic = i2c_new_dummy_device(i2c->adapter, I2C_ADDR_MUIC);
max77693          187 drivers/mfd/max77693.c 	if (IS_ERR(max77693->i2c_muic)) {
max77693          188 drivers/mfd/max77693.c 		dev_err(max77693->dev, "Failed to allocate I2C device for MUIC\n");
max77693          189 drivers/mfd/max77693.c 		return PTR_ERR(max77693->i2c_muic);
max77693          191 drivers/mfd/max77693.c 	i2c_set_clientdata(max77693->i2c_muic, max77693);
max77693          193 drivers/mfd/max77693.c 	max77693->i2c_haptic = i2c_new_dummy_device(i2c->adapter, I2C_ADDR_HAPTIC);
max77693          194 drivers/mfd/max77693.c 	if (IS_ERR(max77693->i2c_haptic)) {
max77693          195 drivers/mfd/max77693.c 		dev_err(max77693->dev, "Failed to allocate I2C device for Haptic\n");
max77693          196 drivers/mfd/max77693.c 		ret = PTR_ERR(max77693->i2c_haptic);
max77693          199 drivers/mfd/max77693.c 	i2c_set_clientdata(max77693->i2c_haptic, max77693);
max77693          201 drivers/mfd/max77693.c 	max77693->regmap_haptic = devm_regmap_init_i2c(max77693->i2c_haptic,
max77693          203 drivers/mfd/max77693.c 	if (IS_ERR(max77693->regmap_haptic)) {
max77693          204 drivers/mfd/max77693.c 		ret = PTR_ERR(max77693->regmap_haptic);
max77693          205 drivers/mfd/max77693.c 		dev_err(max77693->dev,
max77693          215 drivers/mfd/max77693.c 	max77693->regmap_muic = devm_regmap_init_i2c(max77693->i2c_muic,
max77693          217 drivers/mfd/max77693.c 	if (IS_ERR(max77693->regmap_muic)) {
max77693          218 drivers/mfd/max77693.c 		ret = PTR_ERR(max77693->regmap_muic);
max77693          219 drivers/mfd/max77693.c 		dev_err(max77693->dev,
max77693          224 drivers/mfd/max77693.c 	ret = regmap_add_irq_chip(max77693->regmap, max77693->irq,
max77693          228 drivers/mfd/max77693.c 				&max77693->irq_data_led);
max77693          230 drivers/mfd/max77693.c 		dev_err(max77693->dev, "failed to add irq chip: %d\n", ret);
max77693          234 drivers/mfd/max77693.c 	ret = regmap_add_irq_chip(max77693->regmap, max77693->irq,
max77693          238 drivers/mfd/max77693.c 				&max77693->irq_data_topsys);
max77693          240 drivers/mfd/max77693.c 		dev_err(max77693->dev, "failed to add irq chip: %d\n", ret);
max77693          244 drivers/mfd/max77693.c 	ret = regmap_add_irq_chip(max77693->regmap, max77693->irq,
max77693          248 drivers/mfd/max77693.c 				&max77693->irq_data_chg);
max77693          250 drivers/mfd/max77693.c 		dev_err(max77693->dev, "failed to add irq chip: %d\n", ret);
max77693          254 drivers/mfd/max77693.c 	ret = regmap_add_irq_chip(max77693->regmap_muic, max77693->irq,
max77693          258 drivers/mfd/max77693.c 				&max77693->irq_data_muic);
max77693          260 drivers/mfd/max77693.c 		dev_err(max77693->dev, "failed to add irq chip: %d\n", ret);
max77693          265 drivers/mfd/max77693.c 	ret = regmap_update_bits(max77693->regmap,
max77693          269 drivers/mfd/max77693.c 		dev_err(max77693->dev,
max77693          275 drivers/mfd/max77693.c 	pm_runtime_set_active(max77693->dev);
max77693          277 drivers/mfd/max77693.c 	ret = mfd_add_devices(max77693->dev, -1, max77693_devs,
max77693          285 drivers/mfd/max77693.c 	mfd_remove_devices(max77693->dev);
max77693          287 drivers/mfd/max77693.c 	regmap_del_irq_chip(max77693->irq, max77693->irq_data_muic);
max77693          289 drivers/mfd/max77693.c 	regmap_del_irq_chip(max77693->irq, max77693->irq_data_chg);
max77693          291 drivers/mfd/max77693.c 	regmap_del_irq_chip(max77693->irq, max77693->irq_data_topsys);
max77693          293 drivers/mfd/max77693.c 	regmap_del_irq_chip(max77693->irq, max77693->irq_data_led);
max77693          295 drivers/mfd/max77693.c 	i2c_unregister_device(max77693->i2c_haptic);
max77693          297 drivers/mfd/max77693.c 	i2c_unregister_device(max77693->i2c_muic);
max77693          303 drivers/mfd/max77693.c 	struct max77693_dev *max77693 = i2c_get_clientdata(i2c);
max77693          305 drivers/mfd/max77693.c 	mfd_remove_devices(max77693->dev);
max77693          307 drivers/mfd/max77693.c 	regmap_del_irq_chip(max77693->irq, max77693->irq_data_muic);
max77693          308 drivers/mfd/max77693.c 	regmap_del_irq_chip(max77693->irq, max77693->irq_data_chg);
max77693          309 drivers/mfd/max77693.c 	regmap_del_irq_chip(max77693->irq, max77693->irq_data_topsys);
max77693          310 drivers/mfd/max77693.c 	regmap_del_irq_chip(max77693->irq, max77693->irq_data_led);
max77693          312 drivers/mfd/max77693.c 	i2c_unregister_device(max77693->i2c_muic);
max77693          313 drivers/mfd/max77693.c 	i2c_unregister_device(max77693->i2c_haptic);
max77693          327 drivers/mfd/max77693.c 	struct max77693_dev *max77693 = i2c_get_clientdata(i2c);
max77693          330 drivers/mfd/max77693.c 		enable_irq_wake(max77693->irq);
max77693          331 drivers/mfd/max77693.c 		disable_irq(max77693->irq);
max77693          340 drivers/mfd/max77693.c 	struct max77693_dev *max77693 = i2c_get_clientdata(i2c);
max77693          343 drivers/mfd/max77693.c 		disable_irq_wake(max77693->irq);
max77693          344 drivers/mfd/max77693.c 		enable_irq(max77693->irq);
max77693           22 drivers/power/supply/max77693_charger.c 	struct max77693_dev	*max77693;
max77693          215 drivers/power/supply/max77693_charger.c 	struct regmap *regmap = chg->max77693->regmap;
max77693          281 drivers/power/supply/max77693_charger.c 	ret = regmap_read(chg->max77693->regmap, MAX77693_CHG_REG_CHG_CNFG_01,
max77693          328 drivers/power/supply/max77693_charger.c 	return regmap_update_bits(chg->max77693->regmap,
max77693          347 drivers/power/supply/max77693_charger.c 	ret = regmap_read(chg->max77693->regmap, MAX77693_CHG_REG_CHG_CNFG_03,
max77693          379 drivers/power/supply/max77693_charger.c 	return regmap_update_bits(chg->max77693->regmap,
max77693          398 drivers/power/supply/max77693_charger.c 	ret = regmap_read(chg->max77693->regmap, MAX77693_CHG_REG_CHG_CNFG_03,
max77693          422 drivers/power/supply/max77693_charger.c 	return regmap_update_bits(chg->max77693->regmap,
max77693          469 drivers/power/supply/max77693_charger.c 	return regmap_update_bits(chg->max77693->regmap,
max77693          491 drivers/power/supply/max77693_charger.c 	return regmap_update_bits(chg->max77693->regmap,
max77693          518 drivers/power/supply/max77693_charger.c 	return regmap_update_bits(chg->max77693->regmap,
max77693          542 drivers/power/supply/max77693_charger.c 	return regmap_update_bits(chg->max77693->regmap,
max77693          571 drivers/power/supply/max77693_charger.c 	return regmap_update_bits(chg->max77693->regmap,
max77693          586 drivers/power/supply/max77693_charger.c 	ret = regmap_update_bits(chg->max77693->regmap,
max77693          672 drivers/power/supply/max77693_charger.c 	struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent);
max77693          681 drivers/power/supply/max77693_charger.c 	chg->max77693 = max77693;
max77693          105 drivers/regulator/max77693-regulator.c 					  struct max77693_dev *max77693,
max77693          109 drivers/regulator/max77693-regulator.c 		return max77693->regmap;
max77693          115 drivers/regulator/max77693-regulator.c 		return max77693->regmap;
max77693          117 drivers/regulator/max77693-regulator.c 		return max77693->regmap_chg;
max77693          119 drivers/regulator/max77693-regulator.c 		return max77693->regmap;