Searched refs:INS_FROM_REG (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/hwmon/ |
H A D | adm1026.c | 202 #define INS_FROM_REG(n, val) (SCALE(val, 192, adm1026_scaling[n])) macro 484 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in[nr])); show_in() 492 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_min[nr])); show_in_min() 520 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_max[nr])); show_in_max() 573 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in[16]) - show_in16() 580 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in_min[16]) show_in16_min() 605 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in_max[16]) show_in16_max()
|
H A D | lm85.c | 144 #define INS_FROM_REG(n, val) SCALE((val), 192, lm85_scaling[n]) macro 862 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_min[nr])); show_in_min() 890 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_max[nr])); show_in_max()
|
Completed in 145 milliseconds