Searched refs:bus_voltage_shift (Results 1 – 2 of 2) sorted by relevance
108 int bus_voltage_shift; member131 .bus_voltage_shift = 3,140 .bus_voltage_shift = 0,275 val = (regval >> data->config->bus_voltage_shift) in ina2xx_get_value()353 val = (val * 1000) << data->config->bus_voltage_shift; in ina226_alert_to_reg()
131 int bus_voltage_shift; /* position of lsb */ member163 .bus_voltage_shift = INA219_BUS_VOLTAGE_SHIFT,173 .bus_voltage_shift = 0,200 *val >>= chip->config->bus_voltage_shift; in ina2xx_read_raw()