Searched refs:INS_FROM_REG (Results 1 – 2 of 2) sorted by relevance
/drivers/hwmon/ |
D | adm1026.c | 202 #define INS_FROM_REG(n, val) (SCALE(val, 192, adm1026_scaling[n])) macro 716 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in[nr])); in show_in() 724 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_min[nr])); in show_in_min() 752 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_max[nr])); in show_in_max() 805 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in[16]) - in show_in16() 812 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in_min[16]) in show_in16_min() 837 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in_max[16]) in show_in16_max()
|
D | lm85.c | 147 #define INS_FROM_REG(n, val) SCALE((val), 192, lm85_scaling[n]) macro 681 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_min[nr])); in show_in_min() 709 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_max[nr])); in show_in_max()
|