Lines Matching refs:client

66 	struct i2c_client *client[8];
73 struct i2c_client *client = s35390a->client[reg];
76 .addr = client->addr,
82 if ((i2c_transfer(client->adapter, msg, 1)) != 1)
90 struct i2c_client *client = s35390a->client[reg];
93 .addr = client->addr,
100 if ((i2c_transfer(client->adapter, msg, 1)) != 1)
212 struct i2c_client *client = to_i2c_client(dev);
213 struct s35390a *s35390a = i2c_get_clientdata(client);
217 dev_dbg(&client->dev, "%s: tm is secs=%d, mins=%d, hours=%d mday=%d, "
242 struct i2c_client *client = to_i2c_client(dev);
243 struct s35390a *s35390a = i2c_get_clientdata(client);
266 dev_dbg(&client->dev, "%s: tm is secs=%d, mins=%d, hours=%d, mday=%d, "
276 struct i2c_client *client = to_i2c_client(dev);
277 struct s35390a *s35390a = i2c_get_clientdata(client);
281 dev_dbg(&client->dev, "%s: alm is secs=%d, mins=%d, hours=%d mday=%d, "\
329 struct i2c_client *client = to_i2c_client(dev);
330 struct s35390a *s35390a = i2c_get_clientdata(client);
376 dev_dbg(&client->dev, "%s: alm is mins=%d, hours=%d, wday=%d\n",
386 struct i2c_client *client = to_i2c_client(dev);
387 struct s35390a *s35390a = i2c_get_clientdata(client);
421 static int s35390a_probe(struct i2c_client *client)
427 struct device *dev = &client->dev;
429 if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
436 s35390a->client[0] = client;
437 i2c_set_clientdata(client, s35390a);
441 s35390a->client[i] = devm_i2c_new_dummy_device(dev,
442 client->adapter,
443 client->addr + i);
444 if (IS_ERR(s35390a->client[i])) {
446 client->addr + i);
447 return PTR_ERR(s35390a->client[i]);