Home
last modified time | relevance | path

Searched refs:SENSOR_ATTR (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dw83791d.c666 SENSOR_ATTR(fan1_min, S_IWUSR | S_IRUGO,
668 SENSOR_ATTR(fan2_min, S_IWUSR | S_IRUGO,
670 SENSOR_ATTR(fan3_min, S_IWUSR | S_IRUGO,
672 SENSOR_ATTR(fan4_min, S_IWUSR | S_IRUGO,
674 SENSOR_ATTR(fan5_min, S_IWUSR | S_IRUGO,
679 SENSOR_ATTR(fan1_div, S_IWUSR | S_IRUGO,
737 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO,
739 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO,
741 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO,
743 SENSOR_ATTR(pwm4, S_IWUSR | S_IRUGO,
[all …]
H A Dw83l786ng.c259 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
260 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
261 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
383 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0),
384 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
388 SENSOR_ATTR(fan1_min, S_IWUSR | S_IRUGO, show_fan_min,
390 SENSOR_ATTR(fan2_min, S_IWUSR | S_IRUGO, show_fan_min,
395 SENSOR_ATTR(fan1_div, S_IWUSR | S_IRUGO, show_fan_div,
397 SENSOR_ATTR(fan2_div, S_IWUSR | S_IRUGO, show_fan_div,
612 SENSOR_ATTR(pwm1_tolerance, S_IWUSR | S_IRUGO,
[all …]
H A Dasc7621.c800 {.sda = SENSOR_ATTR(name, S_IRUGO, show_##r, NULL, n), \
805 {.sda = SENSOR_ATTR(name, S_IRUGO | S_IWUSR, show_##r, store_##r, n), \
814 {.sda = SENSOR_ATTR(name, S_IRUGO | S_IWUSR, show_##r, store_##r, n), \
/openbmc/linux/include/linux/
H A Dhwmon-sysfs.h20 #define SENSOR_ATTR(_name, _mode, _show, _store, _index) \ macro
25 SENSOR_ATTR(_name, 0444, _func##_show, NULL, _index)
28 SENSOR_ATTR(_name, 0644, _func##_show, _func##_store, _index)
31 SENSOR_ATTR(_name, 0200, NULL, _func##_store, _index)
35 = SENSOR_ATTR(_name, _mode, _show, _store, _index)
/openbmc/linux/drivers/platform/x86/
H A Dthinkpad_acpi.c6276 SENSOR_ATTR(temp##_idxA##_input, S_IRUGO, \