Lines Matching defs:data
49 struct tmp117_data *data = iio_priv(indio_dev);
54 ret = i2c_smbus_read_word_swapped(data->client,
62 ret = i2c_smbus_read_word_swapped(data->client,
88 struct tmp117_data *data = iio_priv(indio_dev);
94 if (off == data->calibbias)
96 data->calibbias = off;
97 return i2c_smbus_write_word_swapped(data->client,
161 struct tmp117_data *data;
174 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
178 data = iio_priv(indio_dev);
179 data->client = client;
180 data->calibbias = 0;
202 { .compatible = "ti,tmp116", .data = (void *)TMP116_DEVICE_ID },
203 { .compatible = "ti,tmp117", .data = (void *)TMP117_DEVICE_ID },