Searched refs:bus_voltage_shift (Results 1 – 2 of 2) sorted by relevance
109 int bus_voltage_shift; member132 .bus_voltage_shift = 3,141 .bus_voltage_shift = 0,276 val = (regval >> data->config->bus_voltage_shift) in ina2xx_get_value()355 val = (val * 1000) << data->config->bus_voltage_shift; in ina226_alert_to_reg()
130 int bus_voltage_shift; /* position of lsb */ member161 .bus_voltage_shift = INA219_BUS_VOLTAGE_SHIFT,170 .bus_voltage_shift = 0,197 *val >>= chip->config->bus_voltage_shift; in ina2xx_read_raw()