Searched refs:SENSOR_ATTR (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | w83791d.c | 389 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0), 390 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1), 391 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2), 392 SENSOR_ATTR(in3_input, S_IRUGO, show_in, NULL, 3), 393 SENSOR_ATTR(in4_input, S_IRUGO, show_in, NULL, 4), 394 SENSOR_ATTR(in5_input, S_IRUGO, show_in, NULL, 5), 395 SENSOR_ATTR(in6_input, S_IRUGO, show_in, NULL, 6), 396 SENSOR_ATTR(in7_input, S_IRUGO, show_in, NULL, 7), 397 SENSOR_ATTR(in8_input, S_IRUGO, show_in, NULL, 8), 398 SENSOR_ATTR(in9_input, S_IRUGO, show_in, NULL, 9), [all …]
|
H A D | w83l786ng.c | 259 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), 265 SENSOR_ATTR(in0_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 0), 266 SENSOR_ATTR(in1_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 1), 267 SENSOR_ATTR(in2_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 2), 271 SENSOR_ATTR(in0_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 0), 272 SENSOR_ATTR(in1_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 1), 273 SENSOR_ATTR(in2_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 2), 383 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), [all …]
|
H A D | asc7621.c | 800 {.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 D | hwmon-sysfs.h | 20 #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 D | thinkpad_acpi.c | 6276 SENSOR_ATTR(temp##_idxA##_input, S_IRUGO, \
|