Searched refs:INS_FROM_REG (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/hwmon/ |
D | adm1026.c | 190 #define INS_FROM_REG(n, val) (SCALE(val, 192, adm1026_scaling[n])) macro 473 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in[nr])); in in_show() 481 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_min[nr])); in in_min_show() 509 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_max[nr])); in in_max_show() 585 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in[16]) - in in16_show() 592 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in_min[16]) in in16_min_show() 621 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in_max[16]) in in16_max_show()
|
D | lm85.c | 133 #define INS_FROM_REG(n, val) SCALE((val), 192, lm85_scaling[n]) macro 857 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_min[nr])); in in_min_show() 885 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_max[nr])); in in_max_show()
|