TEMP_FROM_REG 195 drivers/hwmon/adm1025.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[index])); TEMP_FROM_REG 203 drivers/hwmon/adm1025.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[index])); TEMP_FROM_REG 211 drivers/hwmon/adm1025.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[index])); TEMP_FROM_REG 797 drivers/hwmon/adm1026.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr])); TEMP_FROM_REG 805 drivers/hwmon/adm1026.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); TEMP_FROM_REG 835 drivers/hwmon/adm1026.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[nr])); TEMP_FROM_REG 876 drivers/hwmon/adm1026.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_offset[nr])); TEMP_FROM_REG 912 drivers/hwmon/adm1026.c return sprintf(buf, "%d\n", TEMP_FROM_REG( TEMP_FROM_REG 922 drivers/hwmon/adm1026.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_tmin[nr] + TEMP_FROM_REG 932 drivers/hwmon/adm1026.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_tmin[nr])); TEMP_FROM_REG 1012 drivers/hwmon/adm1026.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr])); TEMP_FROM_REG 164 drivers/hwmon/adm1029.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); TEMP_FROM_REG 203 drivers/hwmon/adm1031.c #define TEMP_FROM_REG_EXT(val, ext) (TEMP_FROM_REG(val) + (ext) * 125) TEMP_FROM_REG 206 drivers/hwmon/adm1031.c #define TEMP_OFFSET_FROM_REG(val) TEMP_FROM_REG((val) < 0 ? \ TEMP_FROM_REG 690 drivers/hwmon/adm1031.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); TEMP_FROM_REG 697 drivers/hwmon/adm1031.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[nr])); TEMP_FROM_REG 704 drivers/hwmon/adm1031.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr])); TEMP_FROM_REG 411 drivers/hwmon/asb100.c ret = sprintf(buf, "%d\n", TEMP_FROM_REG(reg)); TEMP_FROM_REG 889 drivers/hwmon/dme1737.c res = TEMP_FROM_REG(data->temp[ix], 16); TEMP_FROM_REG 892 drivers/hwmon/dme1737.c res = TEMP_FROM_REG(data->temp_min[ix], 8); TEMP_FROM_REG 895 drivers/hwmon/dme1737.c res = TEMP_FROM_REG(data->temp_max[ix], 8); TEMP_FROM_REG 898 drivers/hwmon/dme1737.c res = TEMP_FROM_REG(data->temp_offset[ix], 8); TEMP_FROM_REG 984 drivers/hwmon/dme1737.c res = TEMP_FROM_REG(data->zone_low[ix], 8) - TEMP_FROM_REG 988 drivers/hwmon/dme1737.c res = TEMP_FROM_REG(data->zone_low[ix], 8); TEMP_FROM_REG 992 drivers/hwmon/dme1737.c res = TEMP_FROM_REG(data->zone_low[ix], 8) + TEMP_FROM_REG 996 drivers/hwmon/dme1737.c res = TEMP_FROM_REG(data->zone_abs[ix], 8); TEMP_FROM_REG 1030 drivers/hwmon/dme1737.c temp = TEMP_FROM_REG(data->zone_low[ix], 8); TEMP_FROM_REG 1049 drivers/hwmon/dme1737.c temp = TEMP_FROM_REG(data->zone_low[ix], 8); TEMP_FROM_REG 590 drivers/hwmon/f75375s.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_high[nr])); TEMP_FROM_REG 598 drivers/hwmon/f75375s.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max_hyst[nr])); TEMP_FROM_REG 345 drivers/hwmon/fschmd.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_act[index])); TEMP_FROM_REG 354 drivers/hwmon/fschmd.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[index])); TEMP_FROM_REG 507 drivers/hwmon/gl520sm.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_input[n])); TEMP_FROM_REG 516 drivers/hwmon/gl520sm.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[n])); TEMP_FROM_REG 525 drivers/hwmon/gl520sm.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max_hyst[n])); TEMP_FROM_REG 951 drivers/hwmon/it87.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr][index])); TEMP_FROM_REG 1590 drivers/hwmon/it87.c return sprintf(buf, "%d\n", TEMP_FROM_REG(reg)); TEMP_FROM_REG 111 drivers/hwmon/k8temp.c *val = TEMP_FROM_REG(temp) + data->temp_offset; TEMP_FROM_REG 233 drivers/hwmon/lm78.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp)); TEMP_FROM_REG 240 drivers/hwmon/lm78.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_over)); TEMP_FROM_REG 266 drivers/hwmon/lm78.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_hyst)); TEMP_FROM_REG 408 drivers/hwmon/lm80.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); TEMP_FROM_REG 157 drivers/hwmon/lm83.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); TEMP_FROM_REG 949 drivers/hwmon/lm85.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); TEMP_FROM_REG 981 drivers/hwmon/lm85.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[nr])); TEMP_FROM_REG 1135 drivers/hwmon/lm85.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->zone[nr].limit) - TEMP_FROM_REG 1155 drivers/hwmon/lm85.c min = TEMP_FROM_REG(data->zone[nr].limit); TEMP_FROM_REG 1175 drivers/hwmon/lm85.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->zone[nr].limit)); TEMP_FROM_REG 1199 drivers/hwmon/lm85.c TEMP_FROM_REG(data->zone[nr].max_desired) - TEMP_FROM_REG 1200 drivers/hwmon/lm85.c TEMP_FROM_REG(data->zone[nr].limit)); TEMP_FROM_REG 1215 drivers/hwmon/lm85.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->zone[nr].limit) + TEMP_FROM_REG 1235 drivers/hwmon/lm85.c min = TEMP_FROM_REG(data->zone[nr].limit); TEMP_FROM_REG 1252 drivers/hwmon/lm85.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->zone[nr].critical)); TEMP_FROM_REG 369 drivers/hwmon/lm87.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr])); TEMP_FROM_REG 379 drivers/hwmon/lm87.c TEMP_FROM_REG(data->temp_low[nr])); TEMP_FROM_REG 389 drivers/hwmon/lm87.c TEMP_FROM_REG(data->temp_high[nr])); TEMP_FROM_REG 448 drivers/hwmon/lm87.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit_int)); TEMP_FROM_REG 455 drivers/hwmon/lm87.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit_ext)); TEMP_FROM_REG 143 drivers/hwmon/lm92.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); TEMP_FROM_REG 174 drivers/hwmon/lm92.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index]) TEMP_FROM_REG 175 drivers/hwmon/lm92.c - TEMP_FROM_REG(data->temp[t_hyst])); TEMP_FROM_REG 183 drivers/hwmon/lm92.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[t_min]) TEMP_FROM_REG 184 drivers/hwmon/lm92.c + TEMP_FROM_REG(data->temp[t_hyst])); TEMP_FROM_REG 204 drivers/hwmon/lm92.c TEMP_TO_REG(TEMP_FROM_REG(data->temp[attr->index]) - val); TEMP_FROM_REG 849 drivers/hwmon/pc87360.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); TEMP_FROM_REG 857 drivers/hwmon/pc87360.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[attr->index])); TEMP_FROM_REG 865 drivers/hwmon/pc87360.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[attr->index])); TEMP_FROM_REG 874 drivers/hwmon/pc87360.c TEMP_FROM_REG(data->temp_crit[attr->index])); TEMP_FROM_REG 299 drivers/hwmon/sis5595.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp)); TEMP_FROM_REG 306 drivers/hwmon/sis5595.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_over)); TEMP_FROM_REG 332 drivers/hwmon/sis5595.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_hyst)); TEMP_FROM_REG 272 drivers/hwmon/smsc47m192.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr])); TEMP_FROM_REG 281 drivers/hwmon/smsc47m192.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); TEMP_FROM_REG 290 drivers/hwmon/smsc47m192.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[nr])); TEMP_FROM_REG 345 drivers/hwmon/smsc47m192.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_offset[nr])); TEMP_FROM_REG 288 drivers/hwmon/via686a.c return TEMP_FROM_REG(eight_bits); TEMP_FROM_REG 436 drivers/hwmon/via686a.c return sprintf(buf, "%ld\n", TEMP_FROM_REG(data->temp_over[nr])); TEMP_FROM_REG 443 drivers/hwmon/via686a.c return sprintf(buf, "%ld\n", TEMP_FROM_REG(data->temp_hyst[nr])); TEMP_FROM_REG 426 drivers/hwmon/vt1211.c res = TEMP_FROM_REG(ix, data->temp[ix]); TEMP_FROM_REG 429 drivers/hwmon/vt1211.c res = TEMP_FROM_REG(ix, data->temp_max[ix]); TEMP_FROM_REG 432 drivers/hwmon/vt1211.c res = TEMP_FROM_REG(ix, data->temp_hyst[ix]); TEMP_FROM_REG 760 drivers/hwmon/vt1211.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->pwm_ctl[ix] & 7, TEMP_FROM_REG 405 drivers/hwmon/vt8231.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr])); TEMP_FROM_REG 718 drivers/hwmon/w83627hf.c : (long) TEMP_FROM_REG(tmp)); TEMP_FROM_REG 729 drivers/hwmon/w83627hf.c : (long) TEMP_FROM_REG(tmp)); TEMP_FROM_REG 741 drivers/hwmon/w83627hf.c : (long) TEMP_FROM_REG(tmp)); TEMP_FROM_REG 357 drivers/hwmon/w83781d.c return sprintf(buf, "%ld\n", (long)TEMP_FROM_REG(data->reg)); \ TEMP_FROM_REG 571 drivers/hwmon/w83793.c long temp = TEMP_FROM_REG(data->temp[index][nr]); TEMP_FROM_REG 707 drivers/hwmon/w83793.c val = TEMP_FROM_REG(data->temp_critical & 0x7f); TEMP_FROM_REG 804 drivers/hwmon/w83793.c val = TEMP_FROM_REG(data->temp_cruise[index] & 0x7f); TEMP_FROM_REG 807 drivers/hwmon/w83793.c val = TEMP_FROM_REG(val & 0x0f); TEMP_FROM_REG 922 drivers/hwmon/w83793.c TEMP_FROM_REG(data->sf2_temp[index][nr] & 0x7f)); TEMP_FROM_REG 118 drivers/hwmon/w83l785ts.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); TEMP_FROM_REG 413 drivers/hwmon/w83l786ng.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr][index]));