Lines Matching +defs:dev +defs:attrs
33 struct device dev; member
62 struct device *dev; /* Reference to hwmon device */ member
68 name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show()
82 struct device *dev = container_of(kobj, struct device, kobj); in hwmon_dev_name_is_visible() local
100 static void hwmon_free_attrs(struct attribute **attrs) in hwmon_free_attrs()
113 static void hwmon_dev_release(struct device *dev) in hwmon_dev_release()
165 static int hwmon_thermal_add_sensor(struct device *dev, int index) in hwmon_thermal_add_sensor()
198 static int hwmon_thermal_register_sensors(struct device *dev) in hwmon_thermal_register_sensors()
229 static void hwmon_thermal_notify(struct device *dev, int index) in hwmon_thermal_notify()
243 static int hwmon_thermal_register_sensors(struct device *dev) in hwmon_thermal_register_sensors()
248 static void hwmon_thermal_notify(struct device *dev, int index) { } in hwmon_thermal_notify()
261 static ssize_t hwmon_attr_show(struct device *dev, in hwmon_attr_show()
279 static ssize_t hwmon_attr_show_string(struct device *dev, in hwmon_attr_show_string()
299 static ssize_t hwmon_attr_store(struct device *dev, in hwmon_attr_store()
587 int hwmon_notify_event(struct device *dev, enum hwmon_sensor_types type, in hwmon_notify_event()
627 struct attribute **attrs, in hwmon_genattrs()
669 struct attribute **attrs; in __hwmon_create_attrs() local
695 __hwmon_device_register(struct device *dev, const char *name, void *drvdata, in __hwmon_device_register()
722 struct attribute **attrs; in __hwmon_device_register() local
804 hwmon_device_register_with_groups(struct device *dev, const char *name, in hwmon_device_register_with_groups()
829 hwmon_device_register_with_info(struct device *dev, const char *name, in hwmon_device_register_with_info()
856 struct device *hwmon_device_register(struct device *dev) in hwmon_device_register()
870 void hwmon_device_unregister(struct device *dev) in hwmon_device_unregister()
883 static void devm_hwmon_release(struct device *dev, void *res) in devm_hwmon_release()
901 devm_hwmon_device_register_with_groups(struct device *dev, const char *name, in devm_hwmon_device_register_with_groups()
940 devm_hwmon_device_register_with_info(struct device *dev, const char *name, in devm_hwmon_device_register_with_info()
970 static int devm_hwmon_match(struct device *dev, void *res, void *data) in devm_hwmon_match()
982 void devm_hwmon_device_unregister(struct device *dev) in devm_hwmon_device_unregister()