Lines Matching defs:client
29 struct i2c_client *client;
39 struct i2c_client *client = data->client;
49 value = i2c_smbus_read_byte_data(client, TC74_REG_CONFIG);
51 dev_dbg(&client->dev, "TC74_REG_CONFIG read err %d\n",
65 value = i2c_smbus_read_byte_data(client, TC74_REG_TEMP);
67 dev_dbg(&client->dev, "TC74_REG_TEMP read err %d\n",
106 static int tc74_probe(struct i2c_client *client)
108 struct device *dev = &client->dev;
113 if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
120 data->client = client;
124 conf = i2c_smbus_read_byte_data(client, TC74_REG_CONFIG);
142 ret = i2c_smbus_write_byte_data(client, TC74_REG_CONFIG, conf);
148 client->name,