Home
last modified time | relevance | path

Searched refs:INA238_BUS_VOLTAGE_LSB (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dina238.c96 #define INA238_BUS_VOLTAGE_LSB 3125 /* 3.125 mV/lsb */ macro
203 *val = (regval * INA238_BUS_VOLTAGE_LSB) / 1000; in ina238_read_in()
245 regval = (regval * 1000) / INA238_BUS_VOLTAGE_LSB; in ina238_write_in()