• Home
  • Raw
  • Download

Lines Matching refs:devattr

124 static ssize_t name_show(struct device *dev, struct device_attribute *devattr,  in name_show()  argument
129 return data->ops.show_name(dev, devattr, buf); in name_show()
133 struct device_attribute *devattr, char *buf) in label_show() argument
137 return data->ops.show_label(dev, devattr, buf); in label_show()
141 struct device_attribute *devattr, char *buf) in input_show() argument
145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in input_show()
156 static ssize_t min_store(struct device *dev, struct device_attribute *devattr, in min_store() argument
161 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in min_store()
176 static ssize_t max_store(struct device *dev, struct device_attribute *devattr, in max_store() argument
181 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in max_store()
197 struct device_attribute *devattr, in max_hyst_store() argument
202 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in max_hyst_store()
218 static ssize_t min_show(struct device *dev, struct device_attribute *devattr, in min_show() argument
222 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in min_show()
227 static ssize_t max_show(struct device *dev, struct device_attribute *devattr, in max_show() argument
231 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in max_show()
237 struct device_attribute *devattr, char *buf) in max_hyst_show() argument
240 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in max_hyst_show()
246 struct device_attribute *devattr, char *buf) in min_alarm_show() argument
249 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in min_alarm_show()
255 struct device_attribute *devattr, char *buf) in max_alarm_show() argument
258 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in max_alarm_show()