Searched refs:nct7802_vmul (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/hwmon/
H A Dnct7802.c163 static u8 nct7802_vmul[] = { 4, 2, 2, 2, 2 }; variable
178 ret = ((v1 << 2) | (v2 >> 6)) * nct7802_vmul[nr]; nct7802_read_voltage()
190 ret = (v1 | ((v2 << shift) & 0x300)) * nct7802_vmul[nr]; nct7802_read_voltage()
203 voltage = DIV_ROUND_CLOSEST(voltage, nct7802_vmul[nr]); nct7802_write_voltage()

Completed in 40 milliseconds