tps6105x           32 drivers/mfd/tps6105x.c static int tps6105x_startup(struct tps6105x *tps6105x)
tps6105x           37 drivers/mfd/tps6105x.c 	ret = regmap_read(tps6105x->regmap, TPS6105X_REG_0, &regval);
tps6105x           42 drivers/mfd/tps6105x.c 		dev_info(&tps6105x->client->dev,
tps6105x           46 drivers/mfd/tps6105x.c 		dev_info(&tps6105x->client->dev,
tps6105x           50 drivers/mfd/tps6105x.c 		dev_info(&tps6105x->client->dev,
tps6105x           54 drivers/mfd/tps6105x.c 		dev_info(&tps6105x->client->dev,
tps6105x           84 drivers/mfd/tps6105x.c static int tps6105x_add_device(struct tps6105x *tps6105x,
tps6105x           87 drivers/mfd/tps6105x.c 	cell->platform_data = tps6105x;
tps6105x           88 drivers/mfd/tps6105x.c 	cell->pdata_size = sizeof(*tps6105x);
tps6105x           90 drivers/mfd/tps6105x.c 	return mfd_add_devices(&tps6105x->client->dev,
tps6105x           97 drivers/mfd/tps6105x.c 	struct tps6105x			*tps6105x;
tps6105x          107 drivers/mfd/tps6105x.c 	tps6105x = devm_kmalloc(&client->dev, sizeof(*tps6105x), GFP_KERNEL);
tps6105x          108 drivers/mfd/tps6105x.c 	if (!tps6105x)
tps6105x          111 drivers/mfd/tps6105x.c 	tps6105x->regmap = devm_regmap_init_i2c(client, &tps6105x_regmap_config);
tps6105x          112 drivers/mfd/tps6105x.c 	if (IS_ERR(tps6105x->regmap))
tps6105x          113 drivers/mfd/tps6105x.c 		return PTR_ERR(tps6105x->regmap);
tps6105x          115 drivers/mfd/tps6105x.c 	i2c_set_clientdata(client, tps6105x);
tps6105x          116 drivers/mfd/tps6105x.c 	tps6105x->client = client;
tps6105x          117 drivers/mfd/tps6105x.c 	tps6105x->pdata = pdata;
tps6105x          119 drivers/mfd/tps6105x.c 	ret = tps6105x_startup(tps6105x);
tps6105x          125 drivers/mfd/tps6105x.c 	ret = tps6105x_add_device(tps6105x, &tps6105x_gpio_cell);
tps6105x          135 drivers/mfd/tps6105x.c 		ret = tps6105x_add_device(tps6105x, &tps6105x_leds_cell);
tps6105x          138 drivers/mfd/tps6105x.c 		ret = tps6105x_add_device(tps6105x, &tps6105x_flash_cell);
tps6105x          141 drivers/mfd/tps6105x.c 		ret = tps6105x_add_device(tps6105x, &tps6105x_regulator_cell);
tps6105x          156 drivers/mfd/tps6105x.c 	struct tps6105x *tps6105x = i2c_get_clientdata(client);
tps6105x          161 drivers/mfd/tps6105x.c 	regmap_update_bits(tps6105x->regmap, TPS6105X_REG_0,
tps6105x           59 drivers/regulator/tps6105x-regulator.c 	struct tps6105x *tps6105x = dev_get_platdata(&pdev->dev);
tps6105x           60 drivers/regulator/tps6105x-regulator.c 	struct tps6105x_platform_data *pdata = tps6105x->pdata;
tps6105x           71 drivers/regulator/tps6105x-regulator.c 	config.dev = &tps6105x->client->dev;
tps6105x           73 drivers/regulator/tps6105x-regulator.c 	config.driver_data = tps6105x;
tps6105x           74 drivers/regulator/tps6105x-regulator.c 	config.regmap = tps6105x->regmap;
tps6105x           77 drivers/regulator/tps6105x-regulator.c 	tps6105x->regulator = devm_regulator_register(&pdev->dev,
tps6105x           80 drivers/regulator/tps6105x-regulator.c 	if (IS_ERR(tps6105x->regulator)) {
tps6105x           81 drivers/regulator/tps6105x-regulator.c 		ret = PTR_ERR(tps6105x->regulator);
tps6105x           82 drivers/regulator/tps6105x-regulator.c 		dev_err(&tps6105x->client->dev,
tps6105x           86 drivers/regulator/tps6105x-regulator.c 	platform_set_drvdata(pdev, tps6105x);