Lines Matching +defs:dev +defs:id +defs:attrs
36 struct device dev; member
65 struct device *dev; /* Reference to hwmon device */ member
71 name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show()
78 label_show(struct device *dev, struct device_attribute *attr, char *buf) in label_show()
93 struct device *dev = kobj_to_dev(kobj); in hwmon_dev_attr_is_visible() local
115 static void hwmon_free_attrs(struct attribute **attrs) in hwmon_free_attrs()
128 static void hwmon_dev_release(struct device *dev) in hwmon_dev_release()
216 static int hwmon_thermal_add_sensor(struct device *dev, int index) in hwmon_thermal_add_sensor()
251 static int hwmon_thermal_register_sensors(struct device *dev) in hwmon_thermal_register_sensors()
282 static void hwmon_thermal_notify(struct device *dev, int index) in hwmon_thermal_notify()
296 static int hwmon_thermal_register_sensors(struct device *dev) in hwmon_thermal_register_sensors()
301 static void hwmon_thermal_notify(struct device *dev, int index) { } in hwmon_thermal_notify()
314 static ssize_t hwmon_attr_show(struct device *dev, in hwmon_attr_show()
332 static ssize_t hwmon_attr_show_string(struct device *dev, in hwmon_attr_show_string()
352 static ssize_t hwmon_attr_store(struct device *dev, in hwmon_attr_store()
646 int hwmon_notify_event(struct device *dev, enum hwmon_sensor_types type, in hwmon_notify_event()
689 struct attribute **attrs, in hwmon_genattrs()
731 struct attribute **attrs; in __hwmon_create_attrs() local
757 __hwmon_device_register(struct device *dev, const char *name, void *drvdata, in __hwmon_device_register()
765 int i, err, id; in __hwmon_device_register() local
786 struct attribute **attrs; in __hwmon_device_register() local
884 hwmon_device_register_with_groups(struct device *dev, const char *name, in hwmon_device_register_with_groups()
910 hwmon_device_register_with_info(struct device *dev, const char *name, in hwmon_device_register_with_info()
940 hwmon_device_register_for_thermal(struct device *dev, const char *name, in hwmon_device_register_for_thermal()
959 struct device *hwmon_device_register(struct device *dev) in hwmon_device_register()
973 void hwmon_device_unregister(struct device *dev) in hwmon_device_unregister()
975 int id; in hwmon_device_unregister() local
986 static void devm_hwmon_release(struct device *dev, void *res) in devm_hwmon_release()
1004 devm_hwmon_device_register_with_groups(struct device *dev, const char *name, in devm_hwmon_device_register_with_groups()
1043 devm_hwmon_device_register_with_info(struct device *dev, const char *name, in devm_hwmon_device_register_with_info()
1073 static int devm_hwmon_match(struct device *dev, void *res, void *data) in devm_hwmon_match()
1085 void devm_hwmon_device_unregister(struct device *dev) in devm_hwmon_device_unregister()
1091 static char *__hwmon_sanitize_name(struct device *dev, const char *old_name) in __hwmon_sanitize_name()
1135 char *devm_hwmon_sanitize_name(struct device *dev, const char *name) in devm_hwmon_sanitize_name()