Lines Matching refs:regval
178 const u8 regval = data->vregs[reg - 0x10]; in ltc4245_get_voltage() local
184 voltage = regval * 55; in ltc4245_get_voltage()
188 voltage = regval * 22; in ltc4245_get_voltage()
192 voltage = regval * 15; in ltc4245_get_voltage()
196 voltage = regval * -55; in ltc4245_get_voltage()
199 voltage = regval * 10; in ltc4245_get_voltage()
214 const u8 regval = data->vregs[reg - 0x10]; in ltc4245_get_current() local
235 voltage = regval * 250; /* voltage in uV */ in ltc4245_get_current()
239 voltage = regval * 125; /* voltage in uV */ in ltc4245_get_current()
243 voltage = regval * 125; /* voltage in uV */ in ltc4245_get_current()
247 voltage = regval * 250; /* voltage in uV */ in ltc4245_get_current()