/linux-4.4.14/drivers/hwmon/ |
D | lm83.c | 161 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 208 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 209 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); 210 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2); 211 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3); 212 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp, 214 static SENSOR_DEVICE_ATTR(temp2_max, S_IWUSR | S_IRUGO, show_temp, 216 static SENSOR_DEVICE_ATTR(temp3_max, S_IWUSR | S_IRUGO, show_temp, 218 static SENSOR_DEVICE_ATTR(temp4_max, S_IWUSR | S_IRUGO, show_temp, 220 static SENSOR_DEVICE_ATTR(temp1_crit, S_IRUGO, show_temp, NULL, 8); [all …]
|
D | nct7802.c | 378 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 508 static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0x01, 510 static SENSOR_DEVICE_ATTR_2(temp1_min, S_IRUGO | S_IWUSR, show_temp, 512 static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR, show_temp, 514 static SENSOR_DEVICE_ATTR_2(temp1_crit, S_IRUGO | S_IWUSR, show_temp, 519 static SENSOR_DEVICE_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0x02, 521 static SENSOR_DEVICE_ATTR_2(temp2_min, S_IRUGO | S_IWUSR, show_temp, 523 static SENSOR_DEVICE_ATTR_2(temp2_max, S_IRUGO | S_IWUSR, show_temp, 525 static SENSOR_DEVICE_ATTR_2(temp2_crit, S_IRUGO | S_IWUSR, show_temp, 530 static SENSOR_DEVICE_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 0x03, [all …]
|
D | emc1403.c | 46 static ssize_t show_temp(struct device *dev, in show_temp() function 177 show_temp, store_temp, 0x06); 179 show_temp, store_temp, 0x05); 181 show_temp, store_temp, 0x20); 182 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0x00); 195 show_temp, store_temp, 0x08); 197 show_temp, store_temp, 0x07); 199 show_temp, store_temp, 0x19); 200 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 0x01); 213 show_temp, store_temp, 0x16); [all …]
|
D | emc6w201.c | 230 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 344 static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, input); 345 static SENSOR_DEVICE_ATTR_2(temp1_min, S_IRUGO | S_IWUSR, show_temp, set_temp, 347 static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR, show_temp, set_temp, 349 static SENSOR_DEVICE_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, input); 350 static SENSOR_DEVICE_ATTR_2(temp2_min, S_IRUGO | S_IWUSR, show_temp, set_temp, 352 static SENSOR_DEVICE_ATTR_2(temp2_max, S_IRUGO | S_IWUSR, show_temp, set_temp, 354 static SENSOR_DEVICE_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 2, input); 355 static SENSOR_DEVICE_ATTR_2(temp3_min, S_IRUGO | S_IWUSR, show_temp, set_temp, 357 static SENSOR_DEVICE_ATTR_2(temp3_max, S_IRUGO | S_IWUSR, show_temp, set_temp, [all …]
|
D | ultra45_env.c | 161 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 172 static SENSOR_DEVICE_ATTR(adt7462_local_temp, S_IRUGO, show_temp, NULL, 0); 173 static SENSOR_DEVICE_ATTR(cpu0_temp, S_IRUGO, show_temp, NULL, 1); 174 static SENSOR_DEVICE_ATTR(cpu1_temp, S_IRUGO, show_temp, NULL, 2); 175 static SENSOR_DEVICE_ATTR(motherboard_temp, S_IRUGO, show_temp, NULL, 3); 176 static SENSOR_DEVICE_ATTR(lm95221_local_temp, S_IRUGO, show_temp, NULL, 4); 177 static SENSOR_DEVICE_ATTR(fire_temp, S_IRUGO, show_temp, NULL, 5); 178 static SENSOR_DEVICE_ATTR(lsi1064_local_temp, S_IRUGO, show_temp, NULL, 6); 179 static SENSOR_DEVICE_ATTR(front_panel_temp, S_IRUGO, show_temp, NULL, 7); 180 static SENSOR_DEVICE_ATTR(psu_temp, S_IRUGO, show_temp, NULL, 13);
|
D | adm1029.c | 173 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) in show_temp() function 260 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 261 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); 262 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2); 264 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO, show_temp, NULL, 3); 265 static SENSOR_DEVICE_ATTR(temp2_max, S_IRUGO, show_temp, NULL, 4); 266 static SENSOR_DEVICE_ATTR(temp3_max, S_IRUGO, show_temp, NULL, 5); 268 static SENSOR_DEVICE_ATTR(temp1_min, S_IRUGO, show_temp, NULL, 6); 269 static SENSOR_DEVICE_ATTR(temp2_min, S_IRUGO, show_temp, NULL, 7); 270 static SENSOR_DEVICE_ATTR(temp3_min, S_IRUGO, show_temp, NULL, 8);
|
D | tmp401.c | 308 static ssize_t show_temp(struct device *dev, in show_temp() function 487 static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0); 488 static SENSOR_DEVICE_ATTR_2(temp1_min, S_IWUSR | S_IRUGO, show_temp, 490 static SENSOR_DEVICE_ATTR_2(temp1_max, S_IWUSR | S_IRUGO, show_temp, 492 static SENSOR_DEVICE_ATTR_2(temp1_crit, S_IWUSR | S_IRUGO, show_temp, 502 static SENSOR_DEVICE_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1); 503 static SENSOR_DEVICE_ATTR_2(temp2_min, S_IWUSR | S_IRUGO, show_temp, 505 static SENSOR_DEVICE_ATTR_2(temp2_max, S_IWUSR | S_IRUGO, show_temp, 507 static SENSOR_DEVICE_ATTR_2(temp2_crit, S_IWUSR | S_IRUGO, show_temp, 559 static SENSOR_DEVICE_ATTR_2(temp1_lowest, S_IRUGO, show_temp, NULL, 4, 0); [all …]
|
D | max6697.c | 268 static ssize_t show_temp(struct device *dev, in show_temp() function 328 static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR, show_temp, set_temp, 330 static SENSOR_DEVICE_ATTR_2(temp1_crit, S_IRUGO | S_IWUSR, show_temp, set_temp, 334 static SENSOR_DEVICE_ATTR_2(temp2_max, S_IRUGO | S_IWUSR, show_temp, set_temp, 336 static SENSOR_DEVICE_ATTR_2(temp2_crit, S_IRUGO | S_IWUSR, show_temp, set_temp, 340 static SENSOR_DEVICE_ATTR_2(temp3_max, S_IRUGO | S_IWUSR, show_temp, set_temp, 342 static SENSOR_DEVICE_ATTR_2(temp3_crit, S_IRUGO | S_IWUSR, show_temp, set_temp, 346 static SENSOR_DEVICE_ATTR_2(temp4_max, S_IRUGO | S_IWUSR, show_temp, set_temp, 348 static SENSOR_DEVICE_ATTR_2(temp4_crit, S_IRUGO | S_IWUSR, show_temp, set_temp, 352 static SENSOR_DEVICE_ATTR_2(temp5_max, S_IRUGO | S_IWUSR, show_temp, set_temp, [all …]
|
D | max1619.c | 148 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 191 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, t_input1); 192 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, t_input2); 193 static SENSOR_DEVICE_ATTR(temp2_min, S_IWUSR | S_IRUGO, show_temp, set_temp, 195 static SENSOR_DEVICE_ATTR(temp2_max, S_IWUSR | S_IRUGO, show_temp, set_temp, 197 static SENSOR_DEVICE_ATTR(temp2_crit, S_IWUSR | S_IRUGO, show_temp, set_temp, 199 static SENSOR_DEVICE_ATTR(temp2_crit_hyst, S_IWUSR | S_IRUGO, show_temp,
|
D | adt7475.c | 377 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 956 static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, INPUT, 0); 957 static SENSOR_DEVICE_ATTR_2(temp1_alarm, S_IRUGO, show_temp, NULL, ALARM, 0); 958 static SENSOR_DEVICE_ATTR_2(temp1_fault, S_IRUGO, show_temp, NULL, FAULT, 0); 959 static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR, show_temp, set_temp, 961 static SENSOR_DEVICE_ATTR_2(temp1_min, S_IRUGO | S_IWUSR, show_temp, set_temp, 963 static SENSOR_DEVICE_ATTR_2(temp1_offset, S_IRUGO | S_IWUSR, show_temp, 966 show_temp, set_temp, AUTOMIN, 0); 969 static SENSOR_DEVICE_ATTR_2(temp1_crit, S_IRUGO | S_IWUSR, show_temp, set_temp, 971 static SENSOR_DEVICE_ATTR_2(temp1_crit_hyst, S_IRUGO | S_IWUSR, show_temp, [all …]
|
D | smsc47b397.c | 167 static ssize_t show_temp(struct device *dev, struct device_attribute in show_temp() function 175 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 176 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); 177 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2); 178 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
|
D | k8temp.c | 112 static ssize_t show_temp(struct device *dev, in show_temp() function 132 static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0); 133 static SENSOR_DEVICE_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1); 134 static SENSOR_DEVICE_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 1, 0); 135 static SENSOR_DEVICE_ATTR_2(temp4_input, S_IRUGO, show_temp, NULL, 1, 1);
|
D | ds620.c | 142 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() function 210 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 211 static SENSOR_DEVICE_ATTR(temp1_min, S_IWUSR | S_IRUGO, show_temp, set_temp, 1); 212 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp, set_temp, 2);
|
D | lm77.c | 140 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 219 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, t_input); 220 static SENSOR_DEVICE_ATTR(temp1_crit, S_IWUSR | S_IRUGO, show_temp, set_temp, 222 static SENSOR_DEVICE_ATTR(temp1_min, S_IWUSR | S_IRUGO, show_temp, set_temp, 224 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp, set_temp,
|
D | lm92.c | 145 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 231 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, t_input); 232 static SENSOR_DEVICE_ATTR(temp1_crit, S_IWUSR | S_IRUGO, show_temp, set_temp, 236 static SENSOR_DEVICE_ATTR(temp1_min, S_IWUSR | S_IRUGO, show_temp, set_temp, 239 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp, set_temp,
|
D | ad7418.c | 106 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 146 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 148 show_temp, set_temp, 1); 150 show_temp, set_temp, 2);
|
D | lm73.c | 84 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() function 172 show_temp, set_temp, LM73_REG_MAX); 174 show_temp, set_temp, LM73_REG_MIN); 176 show_temp, NULL, LM73_REG_INPUT);
|
D | sch5627.c | 214 static ssize_t show_temp(struct device *dev, struct device_attribute in show_temp() function 330 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 331 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); 332 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2); 333 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3); 334 static SENSOR_DEVICE_ATTR(temp5_input, S_IRUGO, show_temp, NULL, 4); 335 static SENSOR_DEVICE_ATTR(temp6_input, S_IRUGO, show_temp, NULL, 5); 336 static SENSOR_DEVICE_ATTR(temp7_input, S_IRUGO, show_temp, NULL, 6); 337 static SENSOR_DEVICE_ATTR(temp8_input, S_IRUGO, show_temp, NULL, 7);
|
D | max1668.c | 143 static ssize_t show_temp(struct device *dev, in show_temp() function 256 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 261 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); 266 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2); 271 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3); 276 static SENSOR_DEVICE_ATTR(temp5_input, S_IRUGO, show_temp, NULL, 4);
|
D | w83l785ts.c | 126 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 134 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 135 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO, show_temp, NULL, 1);
|
D | ds1621.c | 237 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() function 322 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 323 static SENSOR_DEVICE_ATTR(temp1_min, S_IWUSR | S_IRUGO, show_temp, set_temp, 1); 324 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp, set_temp, 2);
|
D | jc42.c | 254 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 360 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, t_input); 361 static SENSOR_DEVICE_ATTR(temp1_crit, S_IRUGO, show_temp, set_temp, t_crit); 362 static SENSOR_DEVICE_ATTR(temp1_min, S_IRUGO, show_temp, set_temp, t_min); 363 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO, show_temp, set_temp, t_max);
|
D | i5500_temp.c | 46 static ssize_t show_temp(struct device *dev, in show_temp() function 86 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
|
D | w83l786ng.c | 419 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() function 456 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0), 457 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, 0), 462 show_temp, store_temp, 0, 1), 464 show_temp, store_temp, 1, 1), 469 show_temp, store_temp, 0, 2), 471 show_temp, store_temp, 1, 2),
|
D | adt7470.c | 524 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 969 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 970 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); 971 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2); 972 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3); 973 static SENSOR_DEVICE_ATTR(temp5_input, S_IRUGO, show_temp, NULL, 4); 974 static SENSOR_DEVICE_ATTR(temp6_input, S_IRUGO, show_temp, NULL, 5); 975 static SENSOR_DEVICE_ATTR(temp7_input, S_IRUGO, show_temp, NULL, 6); 976 static SENSOR_DEVICE_ATTR(temp8_input, S_IRUGO, show_temp, NULL, 7); 977 static SENSOR_DEVICE_ATTR(temp9_input, S_IRUGO, show_temp, NULL, 8); [all …]
|
D | lm75.c | 120 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() function 167 show_temp, set_temp, 1); 169 show_temp, set_temp, 2); 170 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
|
D | k10temp.c | 75 static ssize_t show_temp(struct device *dev, in show_temp() function 113 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
|
D | lm95234.c | 214 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 494 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 495 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); 496 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2); 497 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3); 498 static SENSOR_DEVICE_ATTR(temp5_input, S_IRUGO, show_temp, NULL, 4);
|
D | lm80.c | 406 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 499 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, t_input); 500 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp, 502 static SENSOR_DEVICE_ATTR(temp1_max_hyst, S_IWUSR | S_IRUGO, show_temp, 504 static SENSOR_DEVICE_ATTR(temp1_crit, S_IWUSR | S_IRUGO, show_temp, 506 static SENSOR_DEVICE_ATTR(temp1_crit_hyst, S_IWUSR | S_IRUGO, show_temp,
|
D | emc2103.c | 188 show_temp(struct device *dev, struct device_attribute *da, char *buf) in show_temp() function 471 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 482 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); 493 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2); 504 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
|
D | adm1021.c | 159 static ssize_t show_temp(struct device *dev, in show_temp() function 290 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 295 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
|
D | via-cputemp.c | 77 static ssize_t show_temp(struct device *dev, in show_temp() function 105 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL,
|
D | it87.c | 692 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 743 static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0); 744 static SENSOR_DEVICE_ATTR_2(temp1_min, S_IRUGO | S_IWUSR, show_temp, set_temp, 746 static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR, show_temp, set_temp, 748 static SENSOR_DEVICE_ATTR_2(temp1_offset, S_IRUGO | S_IWUSR, show_temp, 750 static SENSOR_DEVICE_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, 0); 751 static SENSOR_DEVICE_ATTR_2(temp2_min, S_IRUGO | S_IWUSR, show_temp, set_temp, 753 static SENSOR_DEVICE_ATTR_2(temp2_max, S_IRUGO | S_IWUSR, show_temp, set_temp, 755 static SENSOR_DEVICE_ATTR_2(temp2_offset, S_IRUGO | S_IWUSR, show_temp, 757 static SENSOR_DEVICE_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 2, 0); [all …]
|
D | vt1211.c | 421 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 966 show_temp, NULL, SHOW_TEMP_INPUT, ix-1), \ 968 show_temp, set_temp, SHOW_SET_TEMP_MAX, ix-1), \ 970 show_temp, set_temp, SHOW_SET_TEMP_MAX_HYST, ix-1), \ 972 show_temp, NULL, SHOW_TEMP_ALARM, ix-1) \
|
D | thmc50.c | 176 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 261 static SENSOR_DEVICE_ATTR(temp##offset##_input, S_IRUGO, show_temp, \
|
D | f71882fg.c | 333 static ssize_t show_temp(struct device *dev, struct device_attribute 414 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0), 426 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1), 438 SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 0, 2), 454 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 1), 473 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 2), 488 SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 0, 3), 546 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0), 553 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1), 560 SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 0, 2), [all …]
|
D | adm1025.c | 204 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() function 327 show_temp, NULL, offset - 1); \
|
D | w83627ehf.c | 1288 SENSOR_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0), 1289 SENSOR_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1), 1290 SENSOR_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2), 1291 SENSOR_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3), 1292 SENSOR_ATTR(temp5_input, S_IRUGO, show_temp, NULL, 4), 1293 SENSOR_ATTR(temp6_input, S_IRUGO, show_temp, NULL, 5), 1294 SENSOR_ATTR(temp7_input, S_IRUGO, show_temp, NULL, 6), 1295 SENSOR_ATTR(temp8_input, S_IRUGO, show_temp, NULL, 7), 1296 SENSOR_ATTR(temp9_input, S_IRUGO, show_temp, NULL, 8),
|
D | dme1737.c | 887 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 1543 show_temp, NULL, SYS_TEMP_INPUT, ix-1); \ 1545 show_temp, set_temp, SYS_TEMP_MIN, ix-1); \ 1547 show_temp, set_temp, SYS_TEMP_MAX, ix-1); \ 1549 show_temp, set_temp, SYS_TEMP_OFFSET, ix-1); \ 1551 show_temp, NULL, SYS_TEMP_ALARM, ix-1); \ 1553 show_temp, NULL, SYS_TEMP_FAULT, ix-1)
|
D | coretemp.c | 164 static ssize_t show_temp(struct device *dev, in show_temp() function 399 show_label, show_crit_alarm, show_temp, show_tjmax, in create_core_attrs()
|
D | w83793.c | 577 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() function 1065 SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \ 1067 SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \ 1070 show_temp, store_temp, TEMP_CRIT_HYST, index - 1), \ 1071 SENSOR_ATTR_2(temp##index##_warn, S_IRUGO | S_IWUSR, show_temp, \ 1074 show_temp, store_temp, TEMP_WARN_HYST, index - 1), \
|
D | w83795.c | 1330 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() function 1696 SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \ 1698 SENSOR_ATTR_2(temp##index##_crit, S_IRUGO | S_IWUSR, show_temp, \ 1701 show_temp, store_temp, TEMP_CRIT_HYST, index - 1), \ 1702 SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \ 1705 show_temp, store_temp, TEMP_WARN_HYST, index - 1), \
|
D | smsc47m192.c | 270 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 389 show_temp, NULL, index-1); \
|
D | adt7462.c | 863 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 1452 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 1453 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); 1454 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2); 1455 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
|
D | adm9240.c | 262 static ssize_t show_temp(struct device *dev, struct device_attribute *dummy, in show_temp() function 298 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
|
D | sis5595.c | 307 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 364 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
|
D | via686a.c | 435 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() function 496 show_temp, NULL, offset - 1); \
|
D | f71805f.c | 866 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 1063 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 1069 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); 1075 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
|
D | lm78.c | 239 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() function 296 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
|
D | vt8231.c | 406 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 478 show_temp, NULL, offset - 1); \
|
D | adm1031.c | 689 static ssize_t show_temp(struct device *dev, in show_temp() function 817 show_temp, NULL, offset - 1); \
|
D | lm93.c | 1302 static ssize_t show_temp(struct device *dev, in show_temp() function 1310 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 1311 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); 1312 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
|
D | nct6775.c | 2066 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() function 2221 SENSOR_TEMPLATE_2(temp_input, "temp%d_input", S_IRUGO, show_temp, NULL, 0, 0); 2223 SENSOR_TEMPLATE_2(temp_max, "temp%d_max", S_IRUGO | S_IWUSR, show_temp, 2226 show_temp, store_temp, 0, 2); 2227 SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", S_IRUGO | S_IWUSR, show_temp, 2229 SENSOR_TEMPLATE_2(temp_lcrit, "temp%d_lcrit", S_IRUGO | S_IWUSR, show_temp,
|
D | lm85.c | 932 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 1005 show_temp, NULL, offset - 1); \
|
D | asb100.c | 474 show_temp, NULL, num - 1); \
|
D | adm1026.c | 774 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 842 static SENSOR_DEVICE_ATTR(temp##offset##_input, S_IRUGO, show_temp, \
|
D | w83627hf.c | 708 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) in show_temp() function 788 show_temp, NULL, offset - 1); \
|
D | w83781d.c | 408 show_temp, NULL, offset); \
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | sun4i-ts.c | 214 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 234 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
|
/linux-4.4.14/drivers/usb/misc/ |
D | cytherm.c | 139 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() function 180 static DEVICE_ATTR(temp, S_IRUGO, show_temp, set_temp);
|