Home
last modified time | relevance | path

Searched refs:to_sensor_dev_attr (Results 1 – 25 of 97) sorted by relevance

1234

/linux-3.4.99/drivers/hwmon/
Dadm1031.c274 int nr = to_sensor_dev_attr(attr)->index; in show_fan_auto_channel()
285 int nr = to_sensor_dev_attr(attr)->index; in set_fan_auto_channel()
341 int nr = to_sensor_dev_attr(attr)->index; in show_auto_temp_off()
349 int nr = to_sensor_dev_attr(attr)->index; in show_auto_temp_min()
360 int nr = to_sensor_dev_attr(attr)->index; in set_auto_temp_min()
378 int nr = to_sensor_dev_attr(attr)->index; in show_auto_temp_max()
389 int nr = to_sensor_dev_attr(attr)->index; in set_auto_temp_max()
422 int nr = to_sensor_dev_attr(attr)->index; in show_pwm()
431 int nr = to_sensor_dev_attr(attr)->index; in set_pwm()
514 int nr = to_sensor_dev_attr(attr)->index; in show_fan()
[all …]
Dlm85.c383 int nr = to_sensor_dev_attr(attr)->index; in show_fan()
391 int nr = to_sensor_dev_attr(attr)->index; in show_fan_min()
399 int nr = to_sensor_dev_attr(attr)->index; in set_fan_min()
484 int nr = to_sensor_dev_attr(attr)->index; in show_alarm()
512 int nr = to_sensor_dev_attr(attr)->index; in show_pwm()
520 int nr = to_sensor_dev_attr(attr)->index; in set_pwm()
540 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_enable()
562 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_enable()
605 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_freq()
620 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_freq()
[all …]
Df75375s.c302 int nr = to_sensor_dev_attr(attr)->index; in set_fan_min()
322 int nr = to_sensor_dev_attr(attr)->index; in set_fan_target()
347 int nr = to_sensor_dev_attr(attr)->index; in set_pwm()
371 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_enable()
443 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_enable()
462 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_mode()
506 int nr = to_sensor_dev_attr(attr)->index; in show_pwm()
514 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_mode()
525 int nr = to_sensor_dev_attr(attr)->index; in show_in()
533 int nr = to_sensor_dev_attr(attr)->index; in show_in_max()
[all …]
Dpc87360.c261 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_input()
269 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_min()
277 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_div()
285 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_status()
294 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_min()
360 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm()
370 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm()
409 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_input()
417 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min()
425 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max()
[all …]
Dvia686a.c364 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in()
372 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_min()
380 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_max()
388 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_min()
407 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_max()
441 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_temp()
448 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_temp_over()
455 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_temp_hyst()
462 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_temp_over()
481 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_temp_hyst()
[all …]
Dlm95241.c144 int index = to_sensor_dev_attr(attr)->index; in show_input()
160 data->model & to_sensor_dev_attr(attr)->index ? "1\n" : "2\n"); in show_type()
170 u8 mask = to_sensor_dev_attr(attr)->index; in set_type()
208 data->config & to_sensor_dev_attr(attr)->index ? in show_min()
227 data->config |= to_sensor_dev_attr(attr)->index; in set_min()
229 data->config &= ~to_sensor_dev_attr(attr)->index; in set_min()
246 data->config & to_sensor_dev_attr(attr)->index ? in show_max()
265 data->config |= to_sensor_dev_attr(attr)->index; in set_max()
267 data->config &= ~to_sensor_dev_attr(attr)->index; in set_max()
Dmax6639.c170 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_input()
183 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_fault()
196 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_max()
207 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in set_temp_max()
229 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_crit()
240 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in set_temp_crit()
263 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_emergency()
274 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in set_temp_emergency()
296 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_pwm()
307 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in set_pwm()
[all …]
Dtmp401.c242 int index = to_sensor_dev_attr(devattr)->index; in show_temp_value()
252 int index = to_sensor_dev_attr(devattr)->index; in show_temp_min()
262 int index = to_sensor_dev_attr(devattr)->index; in show_temp_max()
272 int index = to_sensor_dev_attr(devattr)->index; in show_temp_crit()
283 int temp, index = to_sensor_dev_attr(devattr)->index; in show_temp_crit_hyst()
298 int index = to_sensor_dev_attr(devattr)->index; in show_temp_lowest()
309 int index = to_sensor_dev_attr(devattr)->index; in show_temp_highest()
320 int mask = to_sensor_dev_attr(devattr)->index; in show_status()
332 int index = to_sensor_dev_attr(devattr)->index; in store_temp_min()
359 int index = to_sensor_dev_attr(devattr)->index; in store_temp_max()
[all …]
Dgl520sm.c155 int n = to_sensor_dev_attr(attr)->index; in get_in_input()
168 int n = to_sensor_dev_attr(attr)->index; in get_in_min()
181 int n = to_sensor_dev_attr(attr)->index; in get_in_max()
196 int n = to_sensor_dev_attr(attr)->index; in set_in_min()
230 int n = to_sensor_dev_attr(attr)->index; in set_in_max()
294 int n = to_sensor_dev_attr(attr)->index; in get_fan_input()
304 int n = to_sensor_dev_attr(attr)->index; in get_fan_min()
314 int n = to_sensor_dev_attr(attr)->index; in get_fan_div()
332 int n = to_sensor_dev_attr(attr)->index; in set_fan_min()
371 int n = to_sensor_dev_attr(attr)->index; in set_fan_div()
[all …]
Dadm1025.c168 int index = to_sensor_dev_attr(attr)->index; in show_in()
177 int index = to_sensor_dev_attr(attr)->index; in show_in_min()
186 int index = to_sensor_dev_attr(attr)->index; in show_in_max()
195 int index = to_sensor_dev_attr(attr)->index; in show_temp()
203 int index = to_sensor_dev_attr(attr)->index; in show_temp_min()
211 int index = to_sensor_dev_attr(attr)->index; in show_temp_max()
219 int index = to_sensor_dev_attr(attr)->index; in set_in_min()
240 int index = to_sensor_dev_attr(attr)->index; in set_in_max()
275 int index = to_sensor_dev_attr(attr)->index; in set_temp_min()
296 int index = to_sensor_dev_attr(attr)->index; in set_temp_max()
[all …]
Df71805f.c430 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0()
440 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_max()
450 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_min()
460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_max()
481 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_min()
502 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in()
512 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max()
522 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min()
532 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_max()
553 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_min()
[all …]
Dlm93.c1112 int nr = (to_sensor_dev_attr(attr))->index; in show_in()
1138 int nr = (to_sensor_dev_attr(attr))->index; in show_in_min()
1155 int nr = (to_sensor_dev_attr(attr))->index; in store_in_min()
1219 int nr = (to_sensor_dev_attr(attr))->index; in show_in_max()
1236 int nr = (to_sensor_dev_attr(attr))->index; in store_in_max()
1300 int nr = (to_sensor_dev_attr(attr))->index; in show_temp()
1312 int nr = (to_sensor_dev_attr(attr))->index; in show_temp_min()
1320 int nr = (to_sensor_dev_attr(attr))->index; in store_temp_min()
1347 int nr = (to_sensor_dev_attr(attr))->index; in show_temp_max()
1355 int nr = (to_sensor_dev_attr(attr))->index; in store_temp_max()
[all …]
Dsmsc47m192.c144 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in()
153 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min()
162 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max()
171 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min()
193 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max()
233 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp()
242 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_min()
251 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_max()
260 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_min()
282 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_max()
[all …]
Dadt7470.c499 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_min()
509 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_min()
533 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_max()
543 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_max()
566 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp()
584 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_max()
598 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_max()
621 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_min()
635 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_min()
657 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan()
[all …]
Dadt7462.c817 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_min()
831 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_min()
855 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_max()
869 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_max()
892 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp()
907 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_label()
917 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_volt_max()
932 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_volt_max()
959 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_volt_min()
974 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_volt_min()
[all …]
Dlm87.c283 int nr = to_sensor_dev_attr(attr)->index; in show_in_input()
293 int nr = to_sensor_dev_attr(attr)->index; in show_in_min()
303 int nr = to_sensor_dev_attr(attr)->index; in show_in_max()
314 int nr = to_sensor_dev_attr(attr)->index; in set_in_min()
335 int nr = to_sensor_dev_attr(attr)->index; in set_in_max()
371 int nr = to_sensor_dev_attr(attr)->index; in show_temp_input()
380 int nr = to_sensor_dev_attr(attr)->index; in show_temp_low()
390 int nr = to_sensor_dev_attr(attr)->index; in show_temp_high()
401 int nr = to_sensor_dev_attr(attr)->index; in set_temp_low()
421 int nr = to_sensor_dev_attr(attr)->index; in set_temp_high()
[all …]
Dvt8231.c198 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in()
208 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min()
218 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max()
228 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min()
248 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max()
409 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp()
418 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_max()
427 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_min()
436 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_max()
455 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_min()
[all …]
Dw83l786ng.c195 int nr = to_sensor_dev_attr(attr)->index; \
209 int nr = to_sensor_dev_attr(attr)->index; \
249 int nr = to_sensor_dev_attr(attr)->index; \
262 int nr = to_sensor_dev_attr(attr)->index; in store_fan_min()
285 int nr = to_sensor_dev_attr(attr)->index; in show_fan_div()
300 int nr = to_sensor_dev_attr(attr)->index; in store_fan_div()
434 int nr = to_sensor_dev_attr(attr)->index; \
446 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_reg()
474 int nr = to_sensor_dev_attr(attr)->index; in store_pwm()
498 int nr = to_sensor_dev_attr(attr)->index; in store_pwm_enable()
[all …]
Dadm9240.c196 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_max()
204 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_max()
232 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in()
241 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min()
250 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max()
260 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_min()
282 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_max()
319 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan()
328 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_min()
337 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_div()
[all …]
Dw83627hf.c416 int nr = to_sensor_dev_attr(devattr)->index; in show_in_input()
423 int nr = to_sensor_dev_attr(devattr)->index; in show_in_min()
430 int nr = to_sensor_dev_attr(devattr)->index; in show_in_max()
438 int nr = to_sensor_dev_attr(devattr)->index; in store_in_min()
457 int nr = to_sensor_dev_attr(devattr)->index; in store_in_max()
594 int nr = to_sensor_dev_attr(devattr)->index; in show_fan_input()
602 int nr = to_sensor_dev_attr(devattr)->index; in show_fan_min()
611 int nr = to_sensor_dev_attr(devattr)->index; in store_fan_min()
641 int nr = to_sensor_dev_attr(devattr)->index; in show_temp()
653 int nr = to_sensor_dev_attr(devattr)->index; in show_temp_max()
[all …]
Di5k_amb.c145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_alarm()
160 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_min()
180 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_mid()
200 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_max()
219 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_min()
229 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_mid()
239 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_max()
249 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_temp()
259 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_label()
Dpc87427.c391 int nr = to_sensor_dev_attr(devattr)->index; in show_fan_input()
400 int nr = to_sensor_dev_attr(devattr)->index; in show_fan_min()
409 int nr = to_sensor_dev_attr(devattr)->index; in show_fan_alarm()
419 int nr = to_sensor_dev_attr(devattr)->index; in show_fan_fault()
429 int nr = to_sensor_dev_attr(devattr)->index; in set_fan_min()
575 int nr = to_sensor_dev_attr(devattr)->index; in show_pwm_enable()
588 int nr = to_sensor_dev_attr(devattr)->index; in set_pwm_enable()
609 int nr = to_sensor_dev_attr(devattr)->index; in show_pwm()
618 int nr = to_sensor_dev_attr(devattr)->index; in set_pwm()
704 int nr = to_sensor_dev_attr(devattr)->index; in show_temp_input()
[all …]
Dthmc50.c162 int nr = to_sensor_dev_attr(attr)->index; in show_temp()
170 int nr = to_sensor_dev_attr(attr)->index; in show_temp_min()
178 int nr = to_sensor_dev_attr(attr)->index; in set_temp_min()
199 int nr = to_sensor_dev_attr(attr)->index; in show_temp_max()
207 int nr = to_sensor_dev_attr(attr)->index; in set_temp_max()
229 int nr = to_sensor_dev_attr(attr)->index; in show_temp_critical()
237 int index = to_sensor_dev_attr(attr)->index; in show_alarm()
Dit87.c446 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in()
456 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min()
466 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max()
476 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min()
495 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max()
544 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp()
553 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_max()
562 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_min()
571 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_max()
589 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_min()
[all …]
Dultra45_env.c98 int fan_nr = to_sensor_dev_attr(attr)->index; in show_fan_speed()
116 int fan_nr = to_sensor_dev_attr(attr)->index; in set_fan_speed()
140 int fan_nr = to_sensor_dev_attr(attr)->index; in show_fan_fault()
163 int temp_nr = to_sensor_dev_attr(attr)->index; in show_temp()
184 int index = to_sensor_dev_attr(attr)->index; in show_stat_bit()

1234