Lines Matching full:tmp
108 uint16_t tmp; in ina219_sample_fetch() local
153 rc = ina219_reg_read(dev, INA219_REG_V_BUS, &tmp); in ina219_sample_fetch()
158 data->v_bus = INA219_VBUS_GET(tmp); in ina219_sample_fetch()
164 rc = ina219_reg_read(dev, INA219_REG_POWER, &tmp); in ina219_sample_fetch()
169 data->power = tmp; in ina219_sample_fetch()
175 rc = ina219_reg_read(dev, INA219_REG_CURRENT, &tmp); in ina219_sample_fetch()
180 data->current = tmp; in ina219_sample_fetch()
192 double tmp; in ina219_channel_get() local
197 tmp = data->v_bus * INA219_V_BUS_MUL; in ina219_channel_get()
200 tmp = data->power * cfg->current_lsb * INA219_POWER_MUL * INA219_SI_MUL; in ina219_channel_get()
207 tmp = sign * data->current * cfg->current_lsb * INA219_SI_MUL; in ina219_channel_get()
214 return sensor_value_from_double(val, tmp); in ina219_channel_get()