Searched refs:INS_FROM_REG (Results 1 - 2 of 2) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hwmon/ |
H A D | adm1026.c | 198 #define INS_FROM_REG(n, val) (SCALE(val, 192, adm1026_scaling[n])) macro 703 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in[nr])); 711 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_min[nr])); 734 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_max[nr])); 781 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in[16]) - 787 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in_min[16]) 805 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in_max[16])
|
H A D | lm85.c | 140 #define INS_FROM_REG(n, val) SCALE((val), 192, lm85_scaling[n]) macro 619 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_min[nr])); 642 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_max[nr]));
|
Completed in 144 milliseconds