Lines Matching refs:device
16 #include <linux/device.h>
72 static int tmp102_read(struct device *dev, enum hwmon_sensor_types type,
106 static int tmp102_write(struct device *dev, enum hwmon_sensor_types type,
170 static bool tmp102_is_writeable_reg(struct device *dev, unsigned int reg)
175 static bool tmp102_is_volatile_reg(struct device *dev, unsigned int reg)
194 struct device *dev = &client->dev;
195 struct device *hwmon_dev;
255 dev_dbg(dev, "unable to register hwmon device\n");
264 static int tmp102_suspend(struct device *dev)
273 static int tmp102_resume(struct device *dev)