Lines Matching refs:volt
269 int ret, volt, index; in nct7904_read_in() local
279 volt = ((ret & 0xff00) >> 5) | (ret & 0x7); in nct7904_read_in()
281 volt *= 2; /* 0.002V scale */ in nct7904_read_in()
283 volt *= 6; /* 0.006V scale */ in nct7904_read_in()
284 *val = volt; in nct7904_read_in()
291 volt = ((ret & 0xff00) >> 5) | (ret & 0x7); in nct7904_read_in()
293 volt *= 2; /* 0.002V scale */ in nct7904_read_in()
295 volt *= 6; /* 0.006V scale */ in nct7904_read_in()
296 *val = volt; in nct7904_read_in()
303 volt = ((ret & 0xff00) >> 5) | (ret & 0x7); in nct7904_read_in()
305 volt *= 2; /* 0.002V scale */ in nct7904_read_in()
307 volt *= 6; /* 0.006V scale */ in nct7904_read_in()
308 *val = volt; in nct7904_read_in()