• Home
  • Raw
  • Download

Lines Matching refs:attr

35 static ssize_t temp_show(struct device *dev, struct device_attribute *attr,  in temp_show()  argument
38 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in temp_show()
49 static ssize_t bit_show(struct device *dev, struct device_attribute *attr, in bit_show() argument
52 struct sensor_device_attribute_2 *sda = to_sensor_dev_attr_2(attr); in bit_show()
63 static ssize_t temp_store(struct device *dev, struct device_attribute *attr, in temp_store() argument
66 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in temp_store()
80 static ssize_t bit_store(struct device *dev, struct device_attribute *attr, in bit_store() argument
83 struct sensor_device_attribute_2 *sda = to_sensor_dev_attr_2(attr); in bit_store()
99 struct device_attribute *attr, char *buf, in show_hyst_common() argument
102 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in show_hyst_common()
120 static ssize_t hyst_show(struct device *dev, struct device_attribute *attr, in hyst_show() argument
123 return show_hyst_common(dev, attr, buf, false); in hyst_show()
127 struct device_attribute *attr, char *buf) in min_hyst_show() argument
129 return show_hyst_common(dev, attr, buf, true); in min_hyst_show()
132 static ssize_t hyst_store(struct device *dev, struct device_attribute *attr, in hyst_store() argument
135 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in hyst_store()
215 &sensor_dev_attr_temp1_min.dev_attr.attr,
216 &sensor_dev_attr_temp1_max.dev_attr.attr,
217 &sensor_dev_attr_temp1_crit.dev_attr.attr,
218 &sensor_dev_attr_temp1_input.dev_attr.attr,
219 &sensor_dev_attr_temp1_min_hyst.dev_attr.attr,
220 &sensor_dev_attr_temp1_max_hyst.dev_attr.attr,
221 &sensor_dev_attr_temp1_crit_hyst.dev_attr.attr,
223 &sensor_dev_attr_temp2_min.dev_attr.attr,
224 &sensor_dev_attr_temp2_max.dev_attr.attr,
225 &sensor_dev_attr_temp2_crit.dev_attr.attr,
226 &sensor_dev_attr_temp2_input.dev_attr.attr,
227 &sensor_dev_attr_temp2_min_hyst.dev_attr.attr,
228 &sensor_dev_attr_temp2_max_hyst.dev_attr.attr,
229 &sensor_dev_attr_temp2_crit_hyst.dev_attr.attr,
231 &sensor_dev_attr_power_state.dev_attr.attr,
240 &sensor_dev_attr_temp1_min_alarm.dev_attr.attr,
241 &sensor_dev_attr_temp1_max_alarm.dev_attr.attr,
242 &sensor_dev_attr_temp1_crit_alarm.dev_attr.attr,
244 &sensor_dev_attr_temp2_fault.dev_attr.attr,
245 &sensor_dev_attr_temp2_min_alarm.dev_attr.attr,
246 &sensor_dev_attr_temp2_max_alarm.dev_attr.attr,
247 &sensor_dev_attr_temp2_crit_alarm.dev_attr.attr,
249 &sensor_dev_attr_temp3_min.dev_attr.attr,
250 &sensor_dev_attr_temp3_max.dev_attr.attr,
251 &sensor_dev_attr_temp3_crit.dev_attr.attr,
252 &sensor_dev_attr_temp3_input.dev_attr.attr,
253 &sensor_dev_attr_temp3_fault.dev_attr.attr,
254 &sensor_dev_attr_temp3_min_alarm.dev_attr.attr,
255 &sensor_dev_attr_temp3_max_alarm.dev_attr.attr,
256 &sensor_dev_attr_temp3_crit_alarm.dev_attr.attr,
257 &sensor_dev_attr_temp3_min_hyst.dev_attr.attr,
258 &sensor_dev_attr_temp3_max_hyst.dev_attr.attr,
259 &sensor_dev_attr_temp3_crit_hyst.dev_attr.attr,
268 &sensor_dev_attr_temp4_min.dev_attr.attr,
269 &sensor_dev_attr_temp4_max.dev_attr.attr,
270 &sensor_dev_attr_temp4_crit.dev_attr.attr,
271 &sensor_dev_attr_temp4_input.dev_attr.attr,
272 &sensor_dev_attr_temp4_fault.dev_attr.attr,
273 &sensor_dev_attr_temp4_min_alarm.dev_attr.attr,
274 &sensor_dev_attr_temp4_max_alarm.dev_attr.attr,
275 &sensor_dev_attr_temp4_crit_alarm.dev_attr.attr,
276 &sensor_dev_attr_temp4_min_hyst.dev_attr.attr,
277 &sensor_dev_attr_temp4_max_hyst.dev_attr.attr,
278 &sensor_dev_attr_temp4_crit_hyst.dev_attr.attr,
305 &emc1402_alarms[0].dev_attr.attr,
306 &emc1402_alarms[1].dev_attr.attr,
307 &emc1402_alarms[2].dev_attr.attr,
308 &emc1402_alarms[3].dev_attr.attr,
309 &emc1402_alarms[4].dev_attr.attr,
310 &emc1402_alarms[5].dev_attr.attr,
311 &emc1402_alarms[6].dev_attr.attr,