Lines Matching +defs:dev +defs:attrs
45 struct s3c_hwmon_attr attrs[8]; member
58 static int s3c_hwmon_read_ch(struct device *dev, in s3c_hwmon_read_ch()
86 static ssize_t s3c_hwmon_show_raw(struct device *dev, in s3c_hwmon_show_raw()
123 static inline int s3c_hwmon_add_raw(struct device *dev) in s3c_hwmon_add_raw()
128 static inline void s3c_hwmon_remove_raw(struct device *dev) in s3c_hwmon_remove_raw()
135 static inline int s3c_hwmon_add_raw(struct device *dev) { return 0; } in s3c_hwmon_add_raw()
136 static inline void s3c_hwmon_remove_raw(struct device *dev) { } in s3c_hwmon_remove_raw()
150 static ssize_t s3c_hwmon_ch_show(struct device *dev, in s3c_hwmon_ch_show()
180 static ssize_t s3c_hwmon_label_show(struct device *dev, in s3c_hwmon_label_show()
207 static int s3c_hwmon_create_attr(struct device *dev, in s3c_hwmon_create_attr()
209 struct s3c_hwmon_attr *attrs, in s3c_hwmon_create_attr()
252 static void s3c_hwmon_remove_attr(struct device *dev, in s3c_hwmon_remove_attr()
253 struct s3c_hwmon_attr *attrs) in s3c_hwmon_remove_attr()
263 static int s3c_hwmon_probe(struct platform_device *dev) in s3c_hwmon_probe()
350 static int s3c_hwmon_remove(struct platform_device *dev) in s3c_hwmon_remove()