Searched refs:scale_in (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 | w83793.c | 154 static u8 scale_in[] = { 2, 2, 2, 16, 16, 16, 8, 24, 24, 16 }; variable 913 val = val * scale_in[index] + scale_in_add[index]; 931 scale_in[index] / 2) / scale_in[index]; 936 val -= scale_in_add[index] / scale_in[index];
|
H A D | w83627ehf.c | 267 static u8 scale_in[10] = { 8, 8, 16, 16, 8, 8, 8, 16, 16, 8 }; variable 271 return reg * scale_in[nr]; 276 return SENSORS_LIMIT(((val + (scale_in[nr] / 2)) / scale_in[nr]), 0, 255);
|
Completed in 109 milliseconds