Lines Matching refs:devattr
104 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, in name_show() argument
127 struct device_attribute *devattr, in show_amb_alarm() argument
130 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_alarm()
141 struct device_attribute *devattr, in store_amb_min() argument
145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_min()
161 struct device_attribute *devattr, in store_amb_mid() argument
165 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_mid()
181 struct device_attribute *devattr, in store_amb_max() argument
185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_max()
201 struct device_attribute *devattr, in show_amb_min() argument
204 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_min()
211 struct device_attribute *devattr, in show_amb_mid() argument
214 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_mid()
221 struct device_attribute *devattr, in show_amb_max() argument
224 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_max()
231 struct device_attribute *devattr, in show_amb_temp() argument
234 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_temp()
241 struct device_attribute *devattr, in show_label() argument
244 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_label()