Lines Matching refs:client
35 ret = i2c_smbus_write_byte_data(tps6105x->client, reg, value); in tps6105x_set()
51 ret = i2c_smbus_read_byte_data(tps6105x->client, reg); in tps6105x_get()
74 ret = i2c_smbus_read_byte_data(tps6105x->client, reg); in tps6105x_mask_and_set()
79 ret = i2c_smbus_write_byte_data(tps6105x->client, reg, regval); in tps6105x_mask_and_set()
99 dev_info(&tps6105x->client->dev, in tps6105x_startup()
103 dev_info(&tps6105x->client->dev, in tps6105x_startup()
107 dev_info(&tps6105x->client->dev, in tps6105x_startup()
111 dev_info(&tps6105x->client->dev, in tps6105x_startup()
136 static int tps6105x_probe(struct i2c_client *client, in tps6105x_probe() argument
144 tps6105x = devm_kmalloc(&client->dev, sizeof(*tps6105x), GFP_KERNEL); in tps6105x_probe()
148 i2c_set_clientdata(client, tps6105x); in tps6105x_probe()
149 tps6105x->client = client; in tps6105x_probe()
150 pdata = dev_get_platdata(&client->dev); in tps6105x_probe()
156 dev_err(&client->dev, "chip initialization failed\n"); in tps6105x_probe()
163 dev_info(&client->dev, in tps6105x_probe()
168 dev_warn(&client->dev, in tps6105x_probe()
173 dev_warn(&client->dev, in tps6105x_probe()
190 return mfd_add_devices(&client->dev, 0, tps6105x_cells, in tps6105x_probe()
194 static int tps6105x_remove(struct i2c_client *client) in tps6105x_remove() argument
196 struct tps6105x *tps6105x = i2c_get_clientdata(client); in tps6105x_remove()
198 mfd_remove_devices(&client->dev); in tps6105x_remove()