Lines Matching defs:volt
303 int ret, volt, index;
313 volt = ((ret & 0xff00) >> 5) | (ret & 0x7);
315 volt *= 2; /* 0.002V scale */
317 volt *= 6; /* 0.006V scale */
318 *val = volt;
325 volt = ((ret & 0xff00) >> 5) | (ret & 0x7);
327 volt *= 2; /* 0.002V scale */
329 volt *= 6; /* 0.006V scale */
330 *val = volt;
337 volt = ((ret & 0xff00) >> 5) | (ret & 0x7);
339 volt *= 2; /* 0.002V scale */
341 volt *= 6; /* 0.006V scale */
342 *val = volt;