Lines Matching refs:device
32 struct device dev;
37 show_name(struct device *dev, struct device_attribute *attr, char *buf) in show_name()
51 struct device *dev = container_of(kobj, struct device, kobj); in hwmon_dev_name_is_visible()
69 static void hwmon_dev_release(struct device *dev) in hwmon_dev_release()
95 struct device *
96 hwmon_device_register_with_groups(struct device *dev, const char *name, in hwmon_device_register_with_groups()
147 struct device *hwmon_device_register(struct device *dev) in hwmon_device_register()
158 void hwmon_device_unregister(struct device *dev) in hwmon_device_unregister()
171 static void devm_hwmon_release(struct device *dev, void *res) in devm_hwmon_release()
173 struct device *hwdev = *(struct device **)res; in devm_hwmon_release()
188 struct device *
189 devm_hwmon_device_register_with_groups(struct device *dev, const char *name, in devm_hwmon_device_register_with_groups()
193 struct device **ptr, *hwdev; in devm_hwmon_device_register_with_groups()
216 static int devm_hwmon_match(struct device *dev, void *res, void *data) in devm_hwmon_match()
218 struct device **hwdev = res; in devm_hwmon_match()
228 void devm_hwmon_device_unregister(struct device *dev) in devm_hwmon_device_unregister()