Lines Matching defs:client
27 * @client: pointer to I2C client device
36 struct i2c_client *client;
84 struct i2c_client *client = hih6130->client;
90 .addr = client->addr,
120 ret = i2c_master_send(client, tmp, hih6130->write_length);
127 ret = i2c_transfer(client->adapter, msgs, 1);
132 dev_err(&client->dev, "Error while reading measurement result\n");
207 static int hih6130_probe(struct i2c_client *client)
209 struct device *dev = &client->dev;
213 if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
214 dev_err(&client->dev, "adapter does not support true I2C\n");
222 hih6130->client = client;
225 if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_QUICK))
228 hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,